Skip to content

Add user timing measurement for lifecycle hooks #11341

Open
@unarist

Description

@unarist

What problem does this feature solve?

My app had performance issue due to some slow lifecycle hooks.
It would be easy to find an issue like that if Vue.config.performance API records lifecycle hooks too.

What does the proposed API look like?

With Vue.config.performance = true, I can observe timings of lifecycle hooks as like vue <Foo> mounted in "Timings" section in the devtools as well as current Vue.config.performance behavior for init/compile/render/patch events.

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