mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-26 18:42:42 +01:00
perl: tweaks for benchmarks
This commit is contained in:
@@ -5,12 +5,7 @@ use JSON::XS;
|
||||
use Storable;
|
||||
use Benchmark ':all';
|
||||
|
||||
my $a = {
|
||||
"method" => "handleMessage",
|
||||
"params" => [ "user1", "we were just talking" ],
|
||||
"id" => undef,
|
||||
"array" => [ 1, 1024, 70000, -5, 1e5, 1e7, 1, 0, 3.14, sqrt(2) ],
|
||||
};
|
||||
my $a = do 'benchmark/data.pl';
|
||||
|
||||
print "-- serialize\n";
|
||||
print "JSON::XS: $JSON::XS::VERSION\n";
|
||||
|
||||
Reference in New Issue
Block a user