Skip to content
Commit 8d2030d6 authored by Wilco Dijkstra's avatar Wilco Dijkstra
Browse files

Add a new randomized memcpy test for copies up to 256 bytes. The distribution

of the size and alignment is based on a trace of SPEC2006.  Instead of
repeating the same copy over and over again like the existing tests, it times
several thousand different copies to more accurately estimate the overhead of
branch prediction.

	* benchtests/Makefile (string-benchset): Add memcpy-random.
	* benchtests/bench-memcpy-random.c: New file.
parent ca4dc746
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