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 <philipoakley@iee.org> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent fb2c362 commit ed103ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)