Skip to content
Commit 7bb3a8a5 authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

benchtests: Reallocate buffers for every strncmp implementation

Don't reuse buffers for different strncmp implementations since the
earlier implementation will end up warming the cache for the later
one.  Eventually there should be a more elegant way to do this.

	* benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
	for every implementation.
	(do_test): Likewise.
parent ad4e816e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment