mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-17 05:34:23 -04:00
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:
parent
d40052e083
commit
b1b97e8d34
2 changed files with 0 additions and 116 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue