Przeglądaj źródła

feat: expose performance measures

ref #7570
Evan You 7 lat temu
rodzic
commit
9ae80acde5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core/util/perf.js

+ 1 - 1
src/core/util/perf.js

@@ -18,7 +18,7 @@ if (process.env.NODE_ENV !== 'production') {
       perf.measure(name, startTag, endTag)
       perf.clearMarks(startTag)
       perf.clearMarks(endTag)
-      perf.clearMeasures(name)
+      // perf.clearMeasures(name)
     }
   }
 }