diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 6bed9170..130a7af7 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -452,7 +452,7 @@ function finishComponentSetup( Component.render = compile(Component.template, { isCustomElement: instance.appContext.config.isCustomElement || NO }) - if (__DEV__ && instance.appContext.config.performance) { + if (__DEV__) { endMeasure(instance, `compile`) } // mark the function as runtime compiled