From: gfx <gfuji@cpan.org>
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=3470f68a92669e313f7c4ebe9cdab1c2c048c957;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";