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>
maint
Christian Couder 2018-02-01 11:14:34 +01:00 committed by Junio C Hamano
parent fb2c362eb5
commit ed103edfea
1 changed files with 1 additions and 1 deletions

View File

@ -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: $!"; binmode STDOUT, ":utf8" or die "PANIC on binmode: $!";