-
In a theoretical future where test/bench binaries are encouraged to report back results to I've been considering how we can improve testing in Rust and one area I've found is the limited contract between cargo and test harnesses is a source of friction. I'm also hoping that this lens for looking at json reporting can help get the schema stabilized. For reference, this is the current schema for benches. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
First off, thank you for taking this on @epage (even if it is at the bottom of your list)! I'm definitely not an expert here, but I find the current libtest bench schema to be very... confusing. From a purely Bencher-centric perspective, having |
Beta Was this translation helpful? Give feedback.
First off, thank you for taking this on @epage (even if it is at the bottom of your list)!
Having a stable JSON schema for
cargo test
andcargo bench
would be great.I'm definitely not an expert here, but I find the current libtest bench schema to be very... confusing.
libtest bench only collects the
median
, but it then it reports thedeviation
.I assume that
deviation
refers to the standard deviation. And if that is the case, we should instead be reporting inter-quartile range as the bounds formedian
.Better yet, we could add both
mean
(to pair with the existingdeviation
) andiqr
(to pair with the existingmedian
) as well as bothmin
andmax
values.Yet another point of "holy envy" for…