This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 91
91
92
92
var self = this ;
93
93
setTimeout ( function ( ) {
94
- // Cleans up observers.
95
94
Platform . performMicrotaskCheckpoint ( ) ;
96
95
self . completeFn ( self . results ) ;
97
96
} ) ;
104
103
this . benchmark . setupTest ( this . tests [ this . test ] ) ;
105
104
}
106
105
107
- this . benchmark . setupVariant ( this . variant ) ;
106
+ this . benchmark . setupVariant ( this . variants [ this . variant ] ) ;
108
107
109
108
// Run the test once before timing.
110
109
this . runSeries ( BenchmarkRunner . INIT , 1 ) ;
116
115
this . statusFn ( this . tests [ this . test ] , this . variants [ this . variant ] ,
117
116
this . runCount ) ;
118
117
119
- this . benchmark . teardownVariant ( this . variant ) ;
118
+ this . benchmark . teardownVariant ( this . variants [ this . variant ] ) ;
120
119
this . variant ++ ;
121
120
122
121
if ( this . variant == this . variants . length ) {
123
122
this . results . push ( this . times ) ;
124
- this . benchmark . teardownTest ( this . test ) ;
123
+ this . benchmark . teardownTest ( this . tests [ this . test ] ) ;
125
124
this . test ++ ;
126
125
this . variant = 0 ;
127
126
}
128
127
129
128
var self = this ;
130
129
setTimeout ( function ( ) {
131
- if ( self . statusFn )
130
+ Platform . performMicrotaskCheckpoint ( ) ;
132
131
self . nextVariant ( ) ;
133
132
} , 0 ) ;
134
133
} ,
You can’t perform that action at this time.
0 commit comments