Steven Haryanto > Data-Dump-Partial-0.05 > benchmark/bench1.pl

Download:
Data-Dump-Partial-0.05.tar.gz

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

RESULT (2010-06-27, my EEE S101 [Atom N270] netbook) ^

Data::Dump is slow (about 6 times slower than Data::Dumper), while Data::Dump::Partial is around 2x slower than plain Data::Dump. right now i don't see much point in speeding it up as long as we still base on Data::Dump.

 Data::Dump:  3 wallclock secs ( 2.77 usr +  0.00 sys =  2.77 CPU) @ 722.02/s (n=2000)
 Data::Dump::Filtered:  3 wallclock secs ( 3.54 usr +  0.00 sys =  3.54 CPU) @ 564.97/s (n=2000)
 Data::Dump::Partial:  5 wallclock secs ( 5.05 usr +  0.00 sys =  5.05 CPU) @ 396.04/s (n=2000)
 Data::Dumper:  1 wallclock secs ( 0.47 usr +  0.00 sys =  0.47 CPU) @ 4255.32/s (n=2000)
syntax highlighting: