aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Tamura <naohirot@fujitsu.com>2021-02-08 07:59:53 +0000
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-02-10 08:50:26 +0530
commit7960c5eea936185dfa9aeaad81b28dbfb53521dd (patch)
treef46b26cbc6fc159934fc5fa7f95945b90b0c7c92
parent36c604ed36b9989a38dd4e323c404d89fd173009 (diff)
downloadglibc-7960c5eea936185dfa9aeaad81b28dbfb53521dd.zip
glibc-7960c5eea936185dfa9aeaad81b28dbfb53521dd.tar.gz
glibc-7960c5eea936185dfa9aeaad81b28dbfb53521dd.tar.bz2
benchtests: Updated json bench-variant attribute
This patch updates json "bench-variant" attribute of "bench-memset.c" to "default" so that the script "benchtests/scripts/plot_strings.py" can generate a file "memset_time_default_linear.png". Without this patch, the script "benchtests/scripts/plot_strings.py" generates a file "memset_time__linear.png" which has inconsistent form with "memcpy_time_default_linear.png" and "memmove_time_default_linear.png".
-rw-r--r--benchtests/bench-memset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchtests/bench-memset.c b/benchtests/bench-memset.c
index a84e781..1174900 100644
--- a/benchtests/bench-memset.c
+++ b/benchtests/bench-memset.c
@@ -97,7 +97,7 @@ test_main (void)
json_attr_object_begin (&json_ctx, "functions");
json_attr_object_begin (&json_ctx, TEST_NAME);
- json_attr_string (&json_ctx, "bench-variant", "");
+ json_attr_string (&json_ctx, "bench-variant", "default");
json_array_begin (&json_ctx, "ifuncs");
FOR_EACH_IMPL (impl, 0)