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)
To install Data::Dump::Partial, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Dump::Partial
CPAN shell
perl -MCPAN -e shell install Data::Dump::Partial
For more information on module installation, please visit the detailed CPAN module installation guide.