profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Use profile names in compare view

Open mgaudet opened this issue 7 months ago • 2 comments

Give you can name your profiles, I would love to see the tracks named " from profile 1 (<profile 1 name>)" and " from profile 2 (<profile 2 name>)"

I am looking at a compare right now and I can't remember which is which, but they had custom names.

┆Issue is synchronized with this Jira Task

mgaudet avatar Jun 16 '25 17:06 mgaudet

That's a good idea, and that should be fairly straightforward.

Mmm actually it looks like we try to do something like that in https://github.com/firefox-devtools/profiler/blob/df725edd365ba5629a16ba0c16f233cc34f6a998/src/profile-logic/merge-compare.js#L279-L281 So I wonder if we have an issue about it.

@mgaudet Would you be able to share a link to such a compare view, so that we could debug easily?

julienw avatar Jun 27 '25 09:06 julienw

Here's an example profile compare note each has a title in the URL (Samply with patch, Without patch samply)

mgaudet avatar Jun 28 '25 02:06 mgaudet