summaryrefslogtreecommitdiff
path: root/t/perf/aggregate.perl
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2018-02-01 10:14:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-02-02 19:47:45 (GMT)
commited103edfeaae3cd4e054ba835486864eb527a618 (patch)
treedc40045b345ac3e373e13c5d3dde65623feb43c9 /t/perf/aggregate.perl
parentfb2c362eb5dd998b74a30fe55df3f44a26ea6fd6 (diff)
downloadgit-ed103edfeaae3cd4e054ba835486864eb527a618.zip
git-ed103edfeaae3cd4e054ba835486864eb527a618.tar.gz
git-ed103edfeaae3cd4e054ba835486864eb527a618.tar.bz2
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>
Diffstat (limited to 't/perf/aggregate.perl')
-rwxr-xr-xt/perf/aggregate.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/perf/aggregate.perl b/t/perf/aggregate.perl
index a609292..749d668 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: $!";