mirror of
https://github.com/git/git.git
synced 2024-11-19 04:28:30 +01:00
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>
This commit is contained in:
parent
fb2c362eb5
commit
ed103edfea
@ -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: $!";
|
||||
|
Loading…
Reference in New Issue
Block a user