Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Benchmark: Storable, Sereal and JSON

by stevieb (Canon)
on Jun 30, 2021 at 15:38 UTC ( [id://11134502]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Benchmark: timing 5000000 iterations of json, sereal, store...
          json: 17 wallclock secs (17.53 usr +  0.00 sys = 17.53 CPU) @ 28
    +5225.33/s (n=5000000)
    ...
    store  102312/s     --   -56%   -64%
    sereal 233863/s   129%     --   -18%
    json   286862/s   180%    23%     --
    
  2. or download this
    use warnings;
    use strict;
    ...
        my $ice = freeze($data);
        my $water = thaw($ice);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://11134502]
Approved by marto
Front-paged by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-23 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found