benchtests: Add wcrtomb microbenchmark
commit050cc5f7c1fc30ae2a071282faed9b6a68ca95ba
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 6 May 2022 12:46:43 +0000 (6 18:16 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 6 May 2022 12:46:43 +0000 (6 18:16 +0530)
tree99ec0856fdd996b167395f17364e185f1af048b7
parentcf73acb596e39af4bd9f32846552cd41d9e17a78
benchtests: Add wcrtomb microbenchmark

Add a simple benchmark that measures wcrtomb performance with various
locales with 1-4 byte characters.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
benchtests/Makefile
benchtests/bench-wcrtomb.c [new file with mode: 0644]