diff options
| author | Manuel Stoeckl <code@mstoeckl.com> | 2023-02-25 15:57:47 -0500 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-05-03 19:15:12 +0000 |
| commit | b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e (patch) | |
| tree | 5374f148a80f7402aa85f6a8368bba54a9b75751 /tests/cpp-compile-test.cpp | |
| parent | protocol: add new shm formats (diff) | |
| download | wayland-b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e.tar wayland-b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e.tar.gz wayland-b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e.tar.bz2 wayland-b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e.tar.lz wayland-b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e.tar.xz wayland-b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e.tar.zst wayland-b1b97e8d348ed3ac9c9c422534bd47bc8fb2d31e.zip | |
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>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
