[PATCH] Bump up the runtime for "short" benchmarks

Anton Youdkevitch anton.youdkevitch@bell-sw.com
Wed Jun 26 15:39:00 GMT 2019


Some benchmarks with a very short runtime shows significantly
different results across runs on Aarch64 - up to tens of percents.
Increasing the runtime to 100ms+ makes the deviation under 5%.

Tested on Aarch64 and x86-64.

	* benchtests/bench-memccpy.c: replace INNER_LOOP_ITERS
	with INNER_LOOP_ITERS_LARGE
	* benchtests/bench-memchr.c: Likewise
	* benchtests/bench-rawmemchr.c: Likewise
	* benchtests/bench-strcat.c: Likewise
	* benchtests/bench-strchr.c: Likewise
	* benchtests/bench-string.h: Likewise
	* benchtests/bench-strlen.c: Likewise
	* benchtests/bench-strncpy.c: Likewise
	* benchtests/bench-strnlen.c: Likewise

Looks OK?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Bump-up-the-runtime-for-short-benchmarks.patch
Type: text/x-diff
Size: 4970 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190626/c2bdfdfc/attachment.bin>


More information about the Libc-alpha mailing list