about summary refs log tree commit diff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-05-21 10:01:34 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2015-05-21 10:02:52 -0400
commit608f897106eb10d3b250fae88478b3b1ac3999d5 (patch)
tree60c56f5149287bc597771ed8a57ff47d25ed9d3f /benchtests/Makefile
parent2212c1420c92a33b0e0bd9a34938c9814a56c0f7 (diff)
downloadglibc-608f897106eb10d3b250fae88478b3b1ac3999d5.tar.gz
glibc-608f897106eb10d3b250fae88478b3b1ac3999d5.tar.xz
glibc-608f897106eb10d3b250fae88478b3b1ac3999d5.zip
Add sprintf benchmark.
Tests position and non-positional arguments with two
test string.
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index cb7a97ee75..8e615e50d6 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -48,7 +48,9 @@ include ../gen-locales.mk
 
 stdlib-bench := strtod
 
-benchset := $(string-bench-all) $(stdlib-bench)
+stdio-common-bench := sprintf
+
+benchset := $(string-bench-all) $(stdlib-bench) $(stdio-common-bench)
 
 CFLAGS-bench-ffs.c += -fno-builtin
 CFLAGS-bench-ffsll.c += -fno-builtin