Created
July 26, 2011 23:54
-
-
Save Maki-Daisuke/1108386 to your computer and use it in GitHub Desktop.
mp / json / storable on perl v5.14.1 built for darwin-2level
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- serialize | |
JSON::XS: 2.3 | |
Data::MessagePack: 0.34 | |
Storable: 2.30 | |
Benchmark: running json, mp, storable for at least 1 CPU seconds... | |
json: 1 wallclock secs ( 1.08 usr + 0.00 sys = 1.08 CPU) @ 12444.44/s (n=13440) | |
mp: 2 wallclock secs ( 1.07 usr + 0.00 sys = 1.07 CPU) @ 11821.50/s (n=12649) | |
storable: 1 wallclock secs ( 1.06 usr + 0.00 sys = 1.06 CPU) @ 14490.57/s (n=15360) | |
Rate mp json storable | |
mp 11821/s -- -5% -18% | |
json 12444/s 5% -- -14% | |
storable 14491/s 23% 16% -- | |
-- deserialize | |
JSON::XS: 2.3 | |
Data::MessagePack: 0.34 | |
Storable: 2.30 | |
Benchmark: running json, mp, storable for at least 1 CPU seconds... | |
json: 1 wallclock secs ( 1.06 usr + 0.01 sys = 1.07 CPU) @ 3864.49/s (n=4135) | |
mp: 2 wallclock secs ( 1.07 usr + 0.00 sys = 1.07 CPU) @ 3349.53/s (n=3584) | |
storable: 1 wallclock secs ( 1.12 usr + 0.00 sys = 1.12 CPU) @ 4363.39/s (n=4887) | |
Rate mp json storable | |
mp 3350/s -- -13% -23% | |
json 3864/s 15% -- -11% | |
storable 4363/s 30% 13% -- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment