@@ -38,7 +38,7 @@ class TestRunner {
38
38
await del ( [ path . join ( tmpFolder , '**' ) ] ) ;
39
39
await this . extractLatestExtension ( publishedExtensionPath ) ;
40
40
41
- const timesToLoadEachVersion = 3 ;
41
+ const timesToLoadEachVersion = 2 ;
42
42
const devLogFiles : string [ ] = [ ] ;
43
43
const releaseLogFiles : string [ ] = [ ] ;
44
44
const newAnalysisEngineLogFiles : string [ ] = [ ] ;
@@ -47,20 +47,24 @@ class TestRunner {
47
47
await this . enableNewAnalysisEngine ( false ) ;
48
48
49
49
const devLogFile = path . join ( logFilesPath , `dev_loadtimes${ i } .txt` ) ;
50
+ console . log ( `Start Performance Tests: Counter ${ i } , for Dev version with Jedi` ) ;
50
51
await this . capturePerfTimes ( Version . Dev , devLogFile ) ;
51
52
devLogFiles . push ( devLogFile ) ;
52
53
53
54
const releaseLogFile = path . join ( logFilesPath , `release_loadtimes${ i } .txt` ) ;
55
+ console . log ( `Start Performance Tests: Counter ${ i } , for Release version with Jedi` ) ;
54
56
await this . capturePerfTimes ( Version . Release , releaseLogFile ) ;
55
57
releaseLogFiles . push ( releaseLogFile ) ;
56
58
57
59
// New Analysis engine.
58
60
await this . enableNewAnalysisEngine ( true ) ;
59
61
const newAnalysisEngineLogFile = path . join ( logFilesPath , `newAnalysisEngine_loadtimes${ i } .txt` ) ;
62
+ console . log ( `Start Performance Tests: Counter ${ i } , for Release version with Analysis Engine` ) ;
60
63
await this . capturePerfTimes ( Version . Release , newAnalysisEngineLogFile ) ;
61
64
newAnalysisEngineLogFiles . push ( newAnalysisEngineLogFile ) ;
62
65
}
63
66
67
+ console . log ( 'Compare Performance Results' ) ;
64
68
await this . runPerfTest ( devLogFiles , releaseLogFiles , newAnalysisEngineLogFiles ) ;
65
69
}
66
70
private async enableNewAnalysisEngine ( enable : boolean ) {
0 commit comments