benchtests: Improve bench-memcpy-random
commitf392915d1e9aa74a3255ab5afc091a86373aa3d2
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 29 Oct 2021 14:41:18 +0000 (29 15:41 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Fri, 29 Oct 2021 14:45:53 +0000 (29 15:45 +0100)
tree201e2b6fdfa55cdce1a2cad73f4190dbd64fe994
parent7ca9377bab849bbdb023ce23fb8237fa4b7a996e
benchtests: Improve bench-memcpy-random

Improve the random memcpy benchmark. Double the number of tests and increase
the size of the memory region to test between 32KB and 1024KB. This improves
accuracy on modern cores. Clean up formatting of the frequency array.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
benchtests/bench-memcpy-random.c