profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Consider adding more fields to the "Copy description" from marker command

Open acreskeyMoz opened this issue 6 months ago • 3 comments

I frequently use the "Copy description" command from the context menu to grab relevant marker output, e.g.

Image

However what is copied to the clipboard does not include the "Start" field with the Start time. For example, this is what is copied for the given marker:

LogMessages — (nsHttp) MaybeSpeculativeConnectWithHTTPSRR for ci=.S........[tlsflags0x00000000]theme-crave-demo.myshopify.com:443^partitionKey=%28https%2Ctheme-crave-demo.myshopify.com%29

I would be very useful for me if the "Start" field was also included, i.e. 1.332s LogMessages — (nsHttp) MaybeSpeculativeConnectWithHTTPSRR for ci=.S........[tlsflags0x00000000]theme-crave-demo.myshopify.com:443^partitionKey=%28https%2Ctheme-crave-demo.myshopify.com%29

This is very useful when describing profiles in bugs etc.

example profile: https://share.firefox.dev/4n9Ku3q

┆Issue is synchronized with this Jira Task

acreskeyMoz avatar Jun 18 '25 16:06 acreskeyMoz

I'm not opposed, what do you think @canova ?

julienw avatar Jun 27 '25 09:06 julienw

Yeah, sounds good to me too.

Would you want to include the "duration" too? (then we might want to differentiate these numbers somehow though)

canova avatar Jun 27 '25 09:06 canova

Yes, I think Duration would be useful too maybe something like this? Not picky :) Start: 1.322s Duration: 20ms ...

acreskeyMoz avatar Jul 02 '25 17:07 acreskeyMoz