Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: better usePerformanceMark usage #2636

Open
ryanwilsonperkin opened this issue Apr 21, 2023 · 0 comments
Open

Feature request: better usePerformanceMark usage #2636

ryanwilsonperkin opened this issue Apr 21, 2023 · 0 comments

Comments

@ryanwilsonperkin
Copy link
Member

We've had several requests over the past year for a better understanding of usePerformanceMark:

  • How do you use it to measure individual component performance? (you don't)
  • Why doesn't the ID get used as the tag being sent to Observe? (we calculate the page tag based on URL instead)
  • Why doesn't it actually seem to emit performance marks to be able to see them in the browser timeline?

We should try to address these issues as a group and solve the issues that folks are encountering when trying to use this tool. Ideally it should be possible to use this hook, or something like it, to be able to capture a common metric, with tags that you'd expect, and to use it not just on a page by page basis, but to also respect a stage like "component loaded" or otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant