File tree 2 files changed +6
-2
lines changed
criterion_compat/criterion_fork/src/analysis
divan_compat/divan_fork/src
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,9 @@ mod codspeed {
301
301
pid : std:: process:: id ( ) ,
302
302
uri : uri. clone ( ) ,
303
303
} ) {
304
- eprintln ! ( "Failed to send benchmark URI to runner: {}" , error) ;
304
+ if std:: env:: var ( "CODSPEED_ENV" ) . is_ok ( ) {
305
+ eprintln ! ( "Failed to send benchmark URI to runner: {error:?}" ) ;
306
+ }
305
307
}
306
308
307
309
let avg_iter_per_round = iters. iter ( ) . sum :: < f64 > ( ) / iters. len ( ) as f64 ;
Original file line number Diff line number Diff line change @@ -432,7 +432,9 @@ mod codspeed {
432
432
pid : std:: process:: id ( ) ,
433
433
uri : uri. clone ( ) ,
434
434
} ) {
435
- eprintln ! ( "Failed to send benchmark URI to runner: {}" , error) ;
435
+ if std:: env:: var ( "CODSPEED_ENV" ) . is_ok ( ) {
436
+ eprintln ! ( "Failed to send benchmark URI to runner: {error:?}" ) ;
437
+ }
436
438
}
437
439
438
440
:: codspeed:: walltime:: collect_raw_walltime_results (
You can’t perform that action at this time.
0 commit comments