Skip to content

Commit 5ff9940

Browse files
Add some debugging information if benchmarks fail
This helps diagnose bug reports
1 parent ee31f3e commit 5ff9940

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

collector/src/main.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,10 @@ fn bench(
272272
}
273273
let end = start.elapsed();
274274

275-
eprintln!("collection took {:?}", end);
275+
eprintln!(
276+
"collection took {:?} with {} failed benchmarks",
277+
end, errors.0
278+
);
276279

277280
if skipped {
278281
log::info!("skipping duration record -- skipped parts of run");

0 commit comments

Comments
 (0)