tests: drop misleading fixed-benchmark

Because this benchmark performed wl_fixed_to_double conversions
on a long sequence of consecutive integers, the compiler could
optimize away the addition performed in wl_fixed_to_double, merging
it with the loop iteration code. This made tests/fixed-benchmark.c
significantly underestimate the actual cost of the current
wl_fixed_to_double implementation.

Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
This commit is contained in:
Manuel Stoeckl 2023-02-25 15:57:47 -05:00 committed by Simon Ser
parent d40052e083
commit b1b97e8d34
2 changed files with 0 additions and 116 deletions

View file

@ -54,15 +54,6 @@ tests_protocol_c = custom_target(
output: 'tests-protocol.c'
)
benchmark(
'fixed-benchmark',
executable(
'fixed-benchmark',
'fixed-benchmark.c',
dependencies: [ test_runner_dep, rt_dep ]
)
)
executable(
'exec-fd-leak-checker',
'exec-fd-leak-checker.c',