File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -162,14 +162,11 @@ try {
162
162
const output =
163
163
await $ `node --single-threaded-gc ./node_modules/tracerbench/bin/run compare --regressionThreshold 25 --sampleTimeout 60 --fidelity ${ fidelity } --markers ${ markers } --controlURL ${ CONTROL_URL } --experimentURL ${ EXPERIMENT_URL } --report --headless --cpuThrottleRate ${ throttleRate } ` ;
164
164
165
- try {
166
- fs . writeFileSync (
167
- 'tracerbench-results/msg.txt' ,
168
- output . stdout . split ( 'Benchmark Results Summary' ) . pop ( ) ?? ''
169
- ) ;
170
- } catch ( e ) {
171
- // fine
172
- }
165
+ fs . ensureDirSync ( 'tracerbench-results' ) ;
166
+ fs . writeFileSync (
167
+ 'tracerbench-results/msg.txt' ,
168
+ output . stdout . split ( 'Benchmark Results Summary' ) . pop ( ) ?? ''
169
+ ) ;
173
170
} catch ( p ) {
174
171
console . error ( p ) ;
175
172
process . exit ( 1 ) ;
You can’t perform that action at this time.
0 commit comments