Commit graph

4 commits

Author SHA1 Message Date
Benjamin Otte
1bb6f9fb10 perf: Add yield and fix double comparison
- add a yield () function that's called before every test. It reduced the std
dev slightly for me
- fix double comparisons to not just compare the integer part
2006-09-05 22:36:56 -07:00
Carl Worth
6ae6d91c0c perf: Switch from alarm to setitimer for more fine-grained control of timers 2006-08-31 14:08:43 -07:00
Carl Worth
578b74473d perf: More consistency improvements for names.
Rename bench_timer_t to cairo_perf_timer_t.
Rename PERF_LOOP macros to CAIRO_PERF_LOOP
Rename DECL_PERF_FUNC to CAIRO_PERF_DECL
2006-08-31 11:38:23 -07:00
Carl Worth
cf75da4842 perf: Rename timer-alarm files to cairo-perf-timer 2006-08-31 11:38:23 -07:00
Renamed from perf/timer-alarm-posix.c (Browse further)