On Tue, Oct 14, 2014 at 03:11:20PM +0200, Leonhard Holz wrote:
The output of the benchmark is:
Thanks, the outputs look good to me. I'm going to push your strcoll
changes, but the benchmark changes need more work. I hope you'll
continue to work on them :)
diff --git a/benchtests/Makefile b/benchtests/Makefile
index fd3036d..e79ceee 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -34,7 +34,7 @@ string-bench := bcopy bzero memccpy memchr memcmp memcpy memmem memmove \
mempcpy memset rawmemchr stpcpy stpncpy strcasecmp strcasestr \
strcat strchr strchrnul strcmp strcpy strcspn strlen \
strncasecmp strncat strncmp strncpy strnlen strpbrk strrchr \
- strspn strstr strcpy_chk stpcpy_chk memrchr strsep strtok
+ strspn strstr strcpy_chk stpcpy_chk memrchr strsep strtok strcoll
string-bench-all := $(string-bench)
stdlib-bench := strtod
You need to ensure that the locales are generated first. The tests
target does this already. Also my fault that I didn't point out
earlier that you'll need to set GCONV_PATH and LOCPATH to actually
make the test use the generated locales. Otherwise they'll just use
the system locales.