Skip to content

Instantly share code, notes, and snippets.

@lifo
Created September 23, 2008 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lifo/12193 to your computer and use it in GitHub Desktop.
Save lifo/12193 to your computer and use it in GitHub Desktop.
require 'performance/test_helper'
class BrowsingTest < ActionController::PerformanceTest
self.profile_options = { :benchmark => false,
:runs => 1000,
:min_percent => 0.01,
:metrics => [:process_time],
:formats => [:graph_html],
:output => 'tmp/performance' }
def test_homepage
get '/hello'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment