# 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