mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-05 20:57:39 +01:00
perl: renamed benchmark script
This commit is contained in:
@@ -7,6 +7,8 @@ use Benchmark ':all';
|
|||||||
my $a = [0..2**24];
|
my $a = [0..2**24];
|
||||||
|
|
||||||
print "-- serialize\n";
|
print "-- serialize\n";
|
||||||
|
print "JSON::XS: $JSON::XS::VERSION\n";
|
||||||
|
print "Data::MessagePack: $Data::MessagePack::VERSION\n";
|
||||||
cmpthese(
|
cmpthese(
|
||||||
-1 => {
|
-1 => {
|
||||||
json => sub { JSON::XS::encode_json($a) },
|
json => sub { JSON::XS::encode_json($a) },
|
||||||
Reference in New Issue
Block a user