File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export function initMixin (Vue: Class<Component>) {
21
21
let startTag , endTag
22
22
/* istanbul ignore if */
23
23
if ( process . env . NODE_ENV !== 'production' && config . performance && mark ) {
24
- startTag = `vue-perf-init :${ vm . _uid } `
24
+ startTag = `vue-perf-start :${ vm . _uid } `
25
25
endTag = `vue-perf-end:${ vm . _uid } `
26
26
mark ( startTag )
27
27
}
@@ -62,7 +62,7 @@ export function initMixin (Vue: Class<Component>) {
62
62
if ( process . env . NODE_ENV !== 'production' && config . performance && mark ) {
63
63
vm . _name = formatComponentName ( vm , false )
64
64
mark ( endTag )
65
- measure ( `${ vm . _name } init` , startTag , endTag )
65
+ measure ( `vue ${ vm . _name } init` , startTag , endTag )
66
66
}
67
67
68
68
if ( vm . $options . el ) {
Original file line number Diff line number Diff line change @@ -176,12 +176,12 @@ export function mountComponent (
176
176
mark ( startTag )
177
177
const vnode = vm . _render ( )
178
178
mark ( endTag )
179
- measure ( `${ name } render` , startTag , endTag )
179
+ measure ( `vue ${ name } render` , startTag , endTag )
180
180
181
181
mark ( startTag )
182
182
vm . _update ( vnode , hydrating )
183
183
mark ( endTag )
184
- measure ( `${ name } patch` , startTag , endTag )
184
+ measure ( `vue ${ name } patch` , startTag , endTag )
185
185
}
186
186
} else {
187
187
updateComponent = ( ) => {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ Vue.prototype.$mount = function (
73
73
/* istanbul ignore if */
74
74
if ( process . env . NODE_ENV !== 'production' && config . performance && mark ) {
75
75
mark ( 'compile end' )
76
- measure ( `${ this . _name } compile` , 'compile' , 'compile end' )
76
+ measure ( `vue ${ this . _name } compile` , 'compile' , 'compile end' )
77
77
}
78
78
}
79
79
}
You can’t perform that action at this time.
0 commit comments