Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Feature request: better usePerformanceMark usage #2636

@ryanwilsonperkin

Description

@ryanwilsonperkin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions