mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
d4505b895f
This patch further improves math function benchmarking by adding a latency test in addition to throughput. This enables more accurate comparisons of the math functions. The latency test works by creating a dependency on the previous iteration: func_res = F (func_res * zero + input[i]). The multiply by zero avoids changing the input. It reports reciprocal throughput and latency in nanoseconds (depending on the timing header used) and max/min throughput in iterations per second: "workload-spec2006.wrf": { "reciprocal-throughput": 100, "latency": 200, "max-throughput": 1.0e+07, "min-throughput": 5.0e+06 } * benchtests/bench-skeleton.c (main): Add support for latency benchmarking. * benchtests/scripts/bench.py: Add support for latency benchmarking. |
||
---|---|---|
.. | ||
bench.py | ||
benchout_strings.schema.json | ||
benchout.schema.json | ||
compare_bench.py | ||
compare_strings.py | ||
import_bench.py | ||
validate_benchout.py |