perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

[UI][Feature Request] Snap to region boundaries

Open skyreflectedinmirrors opened this issue 4 years ago • 5 comments

New to perfetto, so please redirect me if this question / issue is answered elsewhere. One feature I find very useful in chrome://tracing that I haven't been able to figure out how to do in perfetto is to snap to boundaries, e.g.:

image

This lets the user easily measure gaps between events / regions / what have you. In the version of the UI I've been using, I haven't been able to figure out how to achieve the equivalent:

image

You can get an approximate duration by dragging the cursor between two points, but a snap-to-boundary would be much more convenient.

skyreflectedinmirrors avatar Jul 21 '21 19:07 skyreflectedinmirrors

I agree on the convenience. This is a nice-but-not-critical feature and there are too many, more important features on top so will take a while until we get here (but it's a good bug/proposal).

Tangentially related, you can get a region around a slice if you select a slice and press 'm'. But that isn't quite the same of snapping to boundaries (e.g. doesn't work for gaps)

primiano avatar Jul 21 '21 19:07 primiano

I'm looking for the same requirement. Is there a specified support period available?

userkang avatar Apr 23 '24 10:04 userkang

Looking forward to having this feature as well!

yohaigevim avatar Dec 02 '24 12:12 yohaigevim

Hope I’m not nagging, but do you have a rough estimate on the timeframe for this feature?

yohaigevim avatar Feb 25 '25 09:02 yohaigevim

There are no estimates for this. It's not currently on our list of things we are working on.

LalitMaganti avatar Feb 25 '25 09:02 LalitMaganti

https://github.com/google/perfetto/pull/3760 implements this feature.

LalitMaganti avatar Nov 20 '25 12:11 LalitMaganti