perfetto icon indicating copy to clipboard operation
perfetto copied to clipboard

Allow hiding zero stats in Info and Stats page

Open auselen opened this issue 1 year ago • 3 comments

Under "Info and Stats" page

Statistics Complete dump of all trace statistics including errors, data losses, and debugging info

I would find it much easier to scroll through / examine if there was an option to hide zero values. Preferably zero values would be hidden by default with some expand/collapse icon.

auselen avatar Nov 11 '25 11:11 auselen

Funny you should raise this issue! Last week I undertook a full rewrite of that page in https://github.com/google/perfetto/commit/846c6baa040a92f8ae1c24c49e142a30187573dc and it should be a lot more useful for folks: you should try on the autopush UI.

Any changes, we will make to this new design (the old info and stats page is left as a backcompat tab just while people get used to the new layout).

LalitMaganti avatar Nov 11 '25 11:11 LalitMaganti

I've actually tested on tip of the main branch before writing this issue and I saw the new nicer page. Thanks for that.

I even tried a bit myself if I can add a hide/show zero value icon but couldn't know if filtering should be static or some better way.

Still as it is, if "Complete dump of all trace statistics" would stay, I think a filter button would help to see such info.

auselen avatar Nov 11 '25 12:11 auselen

Makes sense, I think we should just move this table over to Grid which has filtering functions which should solve this issue.

LalitMaganti avatar Nov 11 '25 15:11 LalitMaganti