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>
This commit is contained in:

committed by
Junio C Hamano

parent
fb2c362eb5
commit
ed103edfea
@ -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: $!";
|
binmode STDOUT, ":utf8" or die "PANIC on binmode: $!";
|
||||||
|
Reference in New Issue
Block a user