I was benchmarking Data::Serialize and thought that my fellow monks might have some interest
store is raw Storable
data is raw Data::Dumper
xml is a XML::Parser parsed xml file. This is what generated the data that is being serialized.
The others are others are Data::Serialized outputs.
All have
b64 encoding. The first letter is y for YAML, d for Data::Dumper and s for Storable. The following e and c are for encryped and compressed.
Rate yc data dc d xml sce s sc store
yc 0.595/s -- -96% -97% -97% -98% -99% -99% -99% -100%
data 13.3/s 2140% -- -43% -43% -61% -76% -87% -88% -89%
dc 23.2/s 3800% 74% -- -1% -32% -58% -77% -79% -81%
d 23.4/s 3835% 76% 1% -- -32% -58% -77% -79% -81%
xml 34.2/s 5651% 157% 47% 46% -- -38% -66% -69% -72%
sce 55.1/s 9164% 314% 138% 135% 61% -- -46% -50% -55%
s 102/s 17008% 664% 339% 335% 197% 85% -- -8% -16%
sc 110/s 18411% 726% 375% 370% 222% 100% 8% -- -9%
store 122/s 20332% 812% 424% 419% 255% 121% 19% 10% --
File sizes
164365 cclogin.data
30858 cclogin.d
24680 cclogin.se
24566 cclogin.s
12278 cclogin.store
3106 cclogin.yc
2966 cclogin.xml
2342 cclogin.sce
2222 cclogin.sc
1890 cclogin.dc
-- gam3
A picture is worth a thousand words, but takes 200K.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.