Merge branch 'jk/perf-aggregate-wo-libjson'
The script to aggregate perf result unconditionally depended on libjson-perl even though it did not have to, which has been corrected. * jk/perf-aggregate-wo-libjson: t/perf: depend on perl JSON only when using --codespeed
This commit is contained in:
commit
6cfa633565
@ -3,7 +3,6 @@
|
|||||||
use lib '../../perl/build/lib';
|
use lib '../../perl/build/lib';
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use JSON;
|
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
use Git;
|
use Git;
|
||||||
|
|
||||||
@ -342,7 +341,8 @@ sub print_codespeed_results {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print to_json(\@data, {utf8 => 1, pretty => 1, canonical => 1}), "\n";
|
require JSON;
|
||||||
|
print JSON::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: $!";
|
||||||
|
Loading…
Reference in New Issue
Block a user