diff options
author | Christian Couder <christian.couder@gmail.com> | 2018-02-01 11:14:34 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-02 11:47:45 -0800 |
commit | ed103edfeaae3cd4e054ba835486864eb527a618 (patch) | |
tree | dc40045b345ac3e373e13c5d3dde65623feb43c9 | |
parent | fb2c362eb5dd998b74a30fe55df3f44a26ea6fd6 (diff) | |
download | git-cc/perf-aggregate.tar.gz |
perf/aggregate: sort JSON fields in outputcc/perf-aggregate
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>
-rwxr-xr-x | t/perf/aggregate.perl | 2 |
1 files changed, 1 insertions, 1 deletions
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: $!"; |