mirror of
https://github.com/google/benchmark.git
synced 2025-02-22 01:00:13 +08:00
* tools/compare: when dumping json, pretty-print it It's rather completely non-human-readable otherwise. I can't imagine the filesize really matters, and if it does, it should just be compressed later on. * tools/compare: add failing test * tools/compare: don't actually discard valid (but zero) `pvalue` So, this is embarressing. For a very large number of repetitions, we can end up with pvalue of a true zero, and it obviously compares false, and we treat it as-if we failed to compute it...
19 lines
404 B
JSON
19 lines
404 B
JSON
{
|
|
"context": {
|
|
"date": "2016-08-02 17:44:46",
|
|
"num_cpus": 4,
|
|
"mhz_per_cpu": 4228,
|
|
"cpu_scaling_enabled": false,
|
|
"library_build_type": "release"
|
|
},
|
|
"benchmarks": [
|
|
{
|
|
"name": "BM_ManyRepetitions",
|
|
"iterations": 1000,
|
|
"real_time": 1000,
|
|
"cpu_time": 1,
|
|
"time_unit": "s"
|
|
}
|
|
]
|
|
}
|