From ed103edfeaae3cd4e054ba835486864eb527a618 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Thu, 1 Feb 2018 11:14:34 +0100 Subject: [PATCH] perf/aggregate: sort JSON fields in output It is much easier to diff the output against a previous one when the fields are sorted. Helped-by: Philip Oakley Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- t/perf/aggregate.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/perf/aggregate.perl b/t/perf/aggregate.perl index a609292491..749d6689f9 100755 --- a/t/perf/aggregate.perl +++ b/t/perf/aggregate.perl @@ -253,7 +253,7 @@ sub print_codespeed_results { } } - print to_json(\@data, {utf8 => 1, pretty => 1}), "\n"; + print to_json(\@data, {utf8 => 1, pretty => 1, canonical => 1}), "\n"; } binmode STDOUT, ":utf8" or die "PANIC on binmode: $!";