mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Merge branch 'transforms-visitEachChildPerf' into transforms-commentsPerf
This commit is contained in:
@@ -274,9 +274,9 @@ const _super = (function (geti, seti) {
|
||||
}
|
||||
|
||||
function printSourceFileWithExtendedDiagnostics(node: SourceFile) {
|
||||
performance.mark("printStart");
|
||||
const printStart = performance.mark();
|
||||
printSourceFile(node);
|
||||
performance.measure("printTime", "printStart");
|
||||
performance.measure("printTime", printStart);
|
||||
return node;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user