You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
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.
We've had several requests over the past year for a better understanding of
usePerformanceMark: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.