Merge pull request #40593 from microsoft/nativePerformanceHooks

Migrate 'ts.performance' to use native performance hooks when available
This commit is contained in:
Ron Buckton
2020-10-23 17:32:55 -07:00
committed by GitHub
8 changed files with 174 additions and 69 deletions

View File

@@ -43,7 +43,7 @@ namespace ts.tscWatch {
return createWatchProgram(compilerHost);
}
const elapsedRegex = /^Elapsed:: [0-9]+ms/;
const elapsedRegex = /^Elapsed:: \d+(?:\.\d+)?ms/;
const buildVerboseLogRegEx = /^.+ \- /;
export enum HostOutputKind {
Log,