We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f7985 commit c875019Copy full SHA for c875019
packages/runtime-core/src/profiling.ts
@@ -28,12 +28,10 @@ export function endMeasure(
28
if (instance.appContext.config.performance && isSupported()) {
29
const startTag = `vue-${type}-${instance.uid}`
30
const endTag = startTag + `:end`
31
+ const measureName = `<${formatComponentName(instance, instance.type)}> ${type}`
32
perf.mark(endTag)
- perf.measure(
33
- `<${formatComponentName(instance, instance.type)}> ${type}`,
34
- startTag,
35
- endTag,
36
- )
+ perf.measure(measureName, startTag, endTag)
+ perf.clearMeasures(measureName)
37
perf.clearMarks(startTag)
38
perf.clearMarks(endTag)
39
}
0 commit comments