Aligned mark names with values used by ts-perf.

This commit is contained in:
Ron Buckton
2016-08-15 11:07:49 -07:00
parent c81624435a
commit 4e04b75d4b
5 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -242,7 +242,7 @@ namespace ts {
}
if (extendedDiagnostics) {
performance.mark("sourcemapStart");
performance.mark("beforeSourcemap");
}
const sourceLinePos = getLineAndCharacterOfPosition(currentSourceFile, pos);
@@ -286,8 +286,8 @@ namespace ts {
updateLastEncodedAndRecordedSpans();
if (extendedDiagnostics) {
performance.mark("sourcemapEnd");
performance.measure("Source Map", "sourcemapStart", "sourcemapEnd");
performance.mark("afterSourcemap");
performance.measure("Source Map", "beforeSourcemap", "afterSourcemap");
}
}