Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-PromptIfStale CPAN distribution.

Report information
The Basics
Id: 103435
Status: resolved
Priority: 0/
Queue: Dist-Zilla-Plugin-PromptIfStale

People
Owner: ether [...] cpan.org
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.039
  • 0.040
Fixed in: 0.041



Subject: Premature loading of Config::MVP::Section causes substantial performance penalty other commands

`use Config::MVP::Section` invokes `use Moose`.

 

Which means having this command installed gives a significant performance penalty to `dzil version` and similar low-level commands. ( Roughly a difference of 1 second ).


Difference of commenting out that line?

 

strace -e trace=open dzil version |& grep open | wc -l
317

strace -e trace=open dzil version |& grep open | wc -l
205

The stale command no longer loads things up front in version 0.041.