Skip to content

Enable performance measuring in production, at the user's request #11775

Open
@vegerot

Description

@vegerot

What problem does this feature solve?

Similar to devtools, Vue.config.devtools is enabled by default for development and disabled by default for production. However, the developer can choose to override that behavior (for example, for debugging) by manually setting Vue.config.devtools = true. However, this same lenience is not afforded to Vue.config.performance. Even if explicitly enabling it, the developer's setting will be overridden by Vue in production.

What does the proposed API look like?

This proposed solution brings Vue.config.performance in line with Vue.config.devtools, by disabling it by default in production, but gives the developer the ability to explicitly ��enable it; for example, for debugging performance issues.

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