Skip to content

Performance: Include/Use uid in the name when using performance.measure #9687

Description

@mjntan35

What problem does this feature solve?

This is in regards when Vue.config.performance is set to true.
When there is multiple components of the same name, it is difficult to distinguish which component coincide to which performance information.

One simple use case is rendering components inside a v-for.

What does the proposed API look like?

Instead of just using name (Vue._name), I suggest to include the _uid to better distinguish components with the same name

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions