Skip to content

Commit ed103ed

Browse files
chriscoolgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fb2c362 commit ed103ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/perf/aggregate.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ sub print_codespeed_results {
253253
}
254254
}
255255

256-
print to_json(\@data, {utf8 => 1, pretty => 1}), "\n";
256+
print to_json(\@data, {utf8 => 1, pretty => 1, canonical => 1}), "\n";
257257
}
258258

259259
binmode STDOUT, ":utf8" or die "PANIC on binmode: $!";

0 commit comments

Comments
 (0)