summary refs log tree commit diff
path: root/tests/run-make/libtest-padding/Makefile
AgeCommit message (Collapse)AuthorLines
2024-05-06print walltime benchmarks with subnanosecond precisionThe 8472-1/+1
example results when benchmarking 1-4 serialized ADD instructions ``` running 4 tests test add ... bench: 0.24 ns/iter (+/- 0.00) test add2 ... bench: 0.48 ns/iter (+/- 0.01) test add3 ... bench: 0.72 ns/iter (+/- 0.01) test add4 ... bench: 0.96 ns/iter (+/- 0.01) ```
2023-12-07libtest: Fix padding of benchmarks run as testsMartin Nordholts-1/+1
Before this fix we applied padding before manually doing what `convert_benchmarks_to_tests()` does. Instead use `convert_benchmarks_to_tests()` if applicable and then apply padding afterwards so it becomes correct. (Benches should only be padded when run as benches to make it easy to compare the benchmark numbers.)
2023-12-02libtest: Add regression tests for paddingMartin Nordholts-0/+14
As you can see the padding is wrong when running benches as tests. This will be fixed in the next commit. (Benches should only be padded when run as benches to make it easy to compare the benchmark numbers.)