Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
perf/aggregate: sort JSON fields in output
author
Christian Couder
<christian.couder@gmail.com>
Thu, 1 Feb 2018 10:14:34 +0000
(11:14 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 2 Feb 2018 19:47:45 +0000
(11:47 -0800)
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>
t/perf/aggregate.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
fb2c362
)
diff --git
a/t/perf/aggregate.perl
b/t/perf/aggregate.perl
index a6092924914b8f356eaa50ef8d69a9a87417adf9..749d6689f95f7080a99e8849d1b3c35efe8750cc 100755
(executable)
--- 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: $!";