public
Last active

Dist::Zilla profiling

  • Download Gist
dzil profiling.md
Markdown
# Get the module list
PROFILING=-d:TraceUse
# Profile with Devel::NYTProf
PROFILING=-d:NYTProf

Quick dzil launch hack:

perl $PROFILING -Ilib -MDist::Zilla -e '$Dist::Zilla::VERSION=$Dist::Zilla::Plugin::GatherDir::VERSION=4.300030; require "bin/dzil"' nop

Real dzil build & launch:

dzil build --in .build/profiling && perl $PROFILING -I.build/profiling/lib .build/profiling/bin/dzil nop

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.