`Data::Dump::Color` is very slow to load when `Proc::ProcessTable` is installed
scottchiefbaker opened this issue · 0 comments
scottchiefbaker commented
I've opened an issue with Data::Dump::Color
but I think it's prudent to open an issue here as well.
Simply having Proc::ProcessTable
installed slows down loading of Data::Dump::Color
by a factor of 10x? Luckily it's an easy fix, as I can simply remove Proc::ProcessTable
but that seems hacky.
bakers@basement(~/github/perl-Data-Dump-Color)
$ time perl -E 'use Data::Dump::Color; dd(9);'
9
real 0m0.020s
user 0m0.018s
sys 0m0.001s
bakers@basement(~/github/perl-Data-Dump-Color)
$ cpanm Proc::ProcessTable
--> Working on Proc::ProcessTable
Fetching http://www.cpan.org/authors/id/J/JW/JWB/Proc-ProcessTable-0.636.tar.gz ... OK
Configuring Proc-ProcessTable-0.636 ... OK
Building and testing Proc-ProcessTable-0.636 ... OK
Successfully installed Proc-ProcessTable-0.636
1 distribution installed
bakers@basement(~/github/perl-Data-Dump-Color)
$ time perl -E 'use Data::Dump::Color; dd(9);'
9
real 0m0.221s
user 0m0.100s
sys 0m0.121s