aboutsummaryrefslogtreecommitdiff
path: root/benchtests/bench-strlen-random.c
AgeCommit message (Collapse)AuthorFilesLines
2025-03-05benchtests: Add random strlen benchmarkWilco Dijkstra1-0/+194
Add a new randomized strlen test similar to bench-random-memcpy. Instead of repeating the same call to strlen over and over again, it times a large number of different strings. The distribution of the string length and alignment is based on SPEC2017. Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>