mirror of https://github.com/vuejs/core.git
Update profiling.ts
This commit is contained in:
parent
cd2a0d0b3a
commit
6a6cb9fe37
|
@ -15,6 +15,7 @@ export function startMeasure(
|
|||
if (instance.appContext.config.performance && perf) {
|
||||
perf.mark(`vue-${type}-${instance.uid}`)
|
||||
}
|
||||
|
||||
if (__DEV__ || __FEATURE_PROD_DEVTOOLS__) {
|
||||
devtoolsPerfStart(instance, type, timer())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue