From: gfx Date: Sun, 30 Aug 2009 06:01:19 +0000 (+0900) Subject: Fix profile.pl X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dec4f1467c96145d63d5152806491e682d0471e9;p=gitmo%2FClass-MOP.git Fix profile.pl --- diff --git a/bench/profile.pl b/bench/profile.pl index 556e70b..246c605 100644 --- a/bench/profile.pl +++ b/bench/profile.pl @@ -15,7 +15,7 @@ my $extra = shift || 'KiokuDB'; print "Profiling $branch (require $extra) ...\n"; -my @cmd = ($^X, '-Iblib/lib', '-Iblib/arch', '-e', "require Moose; require $extra"); +my @cmd = ($^X, '-Iblib/lib', '-Iblib/arch', '-d:NYTProf', '-e', "require Moose; require $extra"); print "> @cmd\n"; system(@cmd) == 0 or die "Cannot profile"; system(@cmd) == 0 or die "Cannot profile";