wayland/tests
Pekka Paalanen 32ec041333 tests: add noop to fixed-benchmark
I was just curious of how much the looping takes time without
conversion, so I added this.

My results on Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz:

benchmarked noop:	1.876349827s
benchmarked magic:	2.245844470s
benchmarked div:	12.709085309s
benchmarked mul:	7.504838141s

Mul seems to take 15x the time magic does, cool!

Btw. the simple default cast of int32_t to double is slower than magic
for me, hence the use of union.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-05-15 11:00:19 -04:00
..
.gitignore tests: add .gitignore 2012-04-20 16:28:15 +03:00
array-test.c tests: Fix signedness warnings 2012-04-13 10:11:11 -04:00
client-test.c server: Add client destroy signal 2012-04-13 09:53:15 -04:00
connection-test.c Add support for signed 24.8 decimal numbers 2012-05-08 14:40:39 -04:00
event-loop-test.c tests: prefix event loop tests with event_loop_ 2012-05-08 09:58:01 -04:00
exec-fd-leak-checker.c tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00
fixed-benchmark.c tests: add noop to fixed-benchmark 2012-05-15 11:00:19 -04:00
fixed-test.c Optimize wl_fixed_t to/from double conversion functions 2012-05-14 09:36:38 -04:00
list-test.c tests: Fix signedness warnings 2012-04-13 10:11:11 -04:00
Makefile.am Optimize wl_fixed_t to/from double conversion functions 2012-05-14 09:36:38 -04:00
map-test.c Add simple memory leak check to all tests. 2012-03-24 14:37:42 -04:00
os-wrappers-test.c os: wrap accept4(SOCK_CLOEXEC) 2012-04-25 09:37:42 +03:00
sanity-test.c tests: silence warnings from pipe() 2012-04-25 09:32:58 +03:00
test-helpers.c tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00
test-runner.c tests: detect fd leaks 2012-04-20 14:58:31 +03:00
test-runner.h tests: support testing fd inheritance over exec 2012-04-20 15:06:27 +03:00