Permalink
Browse files

add profile rake task

  • Loading branch information...
1 parent 1e7eb14 commit 6a0aff7e193465a3e5ac4e2e3fe644d51312036e @rf- rf- committed Oct 22, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 Rakefile
View
@@ -38,6 +38,13 @@ task :test do
sh "bacon -Itest -rubygems -a -q"
end
+desc "profile pry's startup time"
+task :profile do
+ require 'profile'
+ require 'pry'
+ Pry.start(TOPLEVEL_BINDING, :input => StringIO.new('exit'))
+end
+
desc "run pry"
task :pry do
load 'bin/pry'

0 comments on commit 6a0aff7

Please sign in to comment.