]> sourceware.org Git - glibc.git/commit
benchtests: Add more coverage for strcmp and strncmp benchmarks
authorNoah Goldstein <goldstein.w.n@gmail.com>
Mon, 10 Jan 2022 21:35:40 +0000 (15:35 -0600)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 3 Feb 2022 22:41:43 +0000 (16:41 -0600)
commit80e6c6554bb3811d4b920e33cd7f4d4bdc85e855
tree2039224e02ab84934c66e86045c01aaab6bd1930
parent8418eb3ff4b781d31c4ed5dc6c0bd7356bc45db9
benchtests: Add more coverage for strcmp and strncmp benchmarks

Add more small and medium sized tests for strcmp and strncmp.

As well for strcmp add option for more direct control of
alignment. Previously alignment was being pushed to the end of the
page. While this is the most difficult case to implement, it is far
from the common case and so shouldn't be the only benchmark.

Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
benchtests/bench-strcmp.c
benchtests/bench-strncmp.c
This page took 0.043493 seconds and 5 git commands to generate.