Hi there!

Everyone knows that CPAN smoking on Windows is S-L-O-W.

I've tried to take a look why it's so slow using ProcMon from Sysinternals (microsoft.com/sysinternals). It turned out that building every distribution that is using Module::Build results in reading every single file in Perl directory (bin/*, lib/*, etc). Distributions that use ExtUtil::MakeMaker don't experience this problem. I don't use Module::Build myself and cannot tell why this happens, and was it intentional or not, but if you're running smokers on Windows, make sure you set 'prefer_installer' to 'EUMM' in CPAN config. It will save you a lot of time and harddisk life -- though it will still take a hit when it's MB-only distribution.

Comments from people who knows MB well is much appreciated. I'll try to debug it myself, but I'm not sure I can find a source of problem quickly.

--
Serguei Trouchelle

Reply via email to