Permalink
Browse files

added a note about profiling options to the generators

  • Loading branch information...
goncalossilva committed May 9, 2011
1 parent 181c842 commit a43f95d235190139159dab3cf4863252b0e9bf0e
@@ -1,8 +1,11 @@
require 'test_helper'
require 'rails/performance_test_help'
-# Profiling results for each test method are written to tmp/performance.
class BrowsingTest < ActionDispatch::PerformanceTest
+ # Refer to the documentation for all available options
+ # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
+ # :output => 'tmp/performance', :formats => [:flat] }
+
def test_homepage
get '/'
end
@@ -2,7 +2,10 @@
require 'rails/performance_test_help'
class <%= class_name %>Test < ActionDispatch::PerformanceTest
- # Replace this with your real tests.
+ # Refer to the documentation for all available options
+ # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
+ # :output => 'tmp/performance', :formats => [:flat] }
+
def test_homepage
get '/'
end

0 comments on commit a43f95d

Please sign in to comment.