mirror of
https://github.com/google/benchmark.git
synced 2024-12-04 20:04:32 +00:00
d474450b89
While the percentages are displayed for both of the columns, the old/new values are only displayed for the second column, for the CPU time. And the column is not even spelled out. In cases where b->UseRealTime(); is used, this is at the very least highly confusing. So why don't we just display both the old/new for both the columns? Fixes #425
89 lines
1.8 KiB
JSON
89 lines
1.8 KiB
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_SameTimes",
|
|
"iterations": 1000,
|
|
"real_time": 10,
|
|
"cpu_time": 10,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_2xFaster",
|
|
"iterations": 1000,
|
|
"real_time": 25,
|
|
"cpu_time": 25,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_2xSlower",
|
|
"iterations": 20833333,
|
|
"real_time": 100,
|
|
"cpu_time": 100,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_1PercentFaster",
|
|
"iterations": 1000,
|
|
"real_time": 98.9999999,
|
|
"cpu_time": 98.9999999,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_1PercentSlower",
|
|
"iterations": 1000,
|
|
"real_time": 100.9999999,
|
|
"cpu_time": 100.9999999,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_10PercentFaster",
|
|
"iterations": 1000,
|
|
"real_time": 90,
|
|
"cpu_time": 90,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_10PercentSlower",
|
|
"iterations": 1000,
|
|
"real_time": 110,
|
|
"cpu_time": 110,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_100xSlower",
|
|
"iterations": 1000,
|
|
"real_time": 1.0000e+04,
|
|
"cpu_time": 1.0000e+04,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_100xFaster",
|
|
"iterations": 1000,
|
|
"real_time": 100,
|
|
"cpu_time": 100,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_10PercentCPUToTime",
|
|
"iterations": 1000,
|
|
"real_time": 110,
|
|
"cpu_time": 90,
|
|
"time_unit": "ns"
|
|
},
|
|
{
|
|
"name": "BM_DifferentTimeUnit",
|
|
"iterations": 1,
|
|
"real_time": 1,
|
|
"cpu_time": 1,
|
|
"time_unit": "ns"
|
|
}
|
|
]
|
|
}
|