Created
April 14, 2012 06:17
-
-
Save soulcutter/2382439 to your computer and use it in GitHub Desktop.
Ruby profiling rake task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'ruby-prof' | |
require 'ruby-prof/task' | |
RubyProf::ProfileTask.new(:integration) do |t| | |
t.test_files = FileList['test/integration/**/patients_test.rb'] | |
t.output_dir = File.join(Rails.root, 'tmp') | |
t.printer = :graph_html | |
t.min_percent = 10 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment