This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 6/26/2019 11:32 PM, Carlos O'Donell wrote:
On 6/26/19 11:38 AM, Anton Youdkevitch wrote:
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?
Do you have commit or copyright assignment?
I don't. Previously my colleague that has did it on my behalf.


OK for master.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]