January 2013 Archives

Profiling Dist::Zilla

Dist::Zilla is slooooowww!

This is in part because it uses Moose. In part because it has many features. In part because it uses App::Cmd that has a major design issue (it loads all command plugins on every run).

But this is also because most plugins are written without care for their compile time and run time cost especially when they are loaded but not used. For example the BeforeRelease plugins when you just run dzil test.

Despites this I'm using it every day at work (because it is powerful), but with much pain.

So here are some tips on how to contribute to improve that situation.

About Olivier Mengué (dolmen)

user-pic French Perl monger in Paris. perl programming