firefox-devtools / firefox-devtools/profiler

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

Open
#5,498 3 comments 0 reactions 0 assignees View on GitHub
markers polish
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

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](https://mozilla-hub.atlassian.net/browse/FP-916)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.