emit fractional benchmark nanoseconds in libtest's JSON output format
This commit is contained in:
parent
295432b40e
commit
e867d7c35e
@ -167,8 +167,8 @@ fn write_result(
|
||||
),
|
||||
|
||||
TestResult::TrBench(ref bs) => {
|
||||
let median = bs.ns_iter_summ.median as usize;
|
||||
let deviation = (bs.ns_iter_summ.max - bs.ns_iter_summ.min) as usize;
|
||||
let median = bs.ns_iter_summ.median;
|
||||
let deviation = bs.ns_iter_summ.max - bs.ns_iter_summ.min;
|
||||
|
||||
let mbps = if bs.mb_s == 0 {
|
||||
String::new()
|
||||
|
Loading…
Reference in New Issue
Block a user