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 <philipoakley@iee.org> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Couder committed Feb 1, 2018 at 11:14 UTC ed103edfeaae3cd4e054ba835486864eb527a618
1 file changed +1 -1
t/perf/aggregate.perl
+1 -1
@@ -253,7 +253,7 @@ sub print_codespeed_results {
253 }
254 }
255
256 - print to_json(\@data, {utf8 => 1, pretty => 1}), "\n";
256 + print to_json(\@data, {utf8 => 1, pretty => 1, canonical => 1}), "\n";
257 }
258
259 binmode STDOUT, ":utf8" or die "PANIC on binmode: $!";