From 7960c5eea936185dfa9aeaad81b28dbfb53521dd Mon Sep 17 00:00:00 2001 From: Naohiro Tamura Date: Mon, 8 Feb 2021 07:59:53 +0000 Subject: [PATCH] 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". --- benchtests/bench-memset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchtests/bench-memset.c b/benchtests/bench-memset.c index a84e781bdb..1174900e88 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) -- 2.43.5