<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>actionpack/lib/action_controller/performance_test.rb</filename>
    </added>
    <added>
      <filename>activesupport/lib/active_support/testing/performance.rb</filename>
    </added>
    <added>
      <filename>railties/helpers/performance_test.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,9 +1,10 @@
-require 'stringio'
-require 'uri'
-
+require 'active_support/test_case'
 require 'action_controller/dispatcher'
 require 'action_controller/test_process'
 
+require 'stringio'
+require 'uri'
+
 module ActionController
   module Integration #:nodoc:
     # An integration Session instance represents a set of requests and responses
@@ -580,7 +581,7 @@ EOF
   #         end
   #       end
   #   end
-  class IntegrationTest &lt; Test::Unit::TestCase
+  class IntegrationTest &lt; ActiveSupport::TestCase
     include Integration::Runner
 
     # Work around a bug in test/unit caused by the default test being named</diff>
      <filename>actionpack/lib/action_controller/integration.rb</filename>
    </modified>
    <modified>
      <diff>@@ -51,6 +51,7 @@ class AppGenerator &lt; Rails::Generator::Base
       m.template &quot;helpers/application.rb&quot;,        &quot;app/controllers/application.rb&quot;, :assigns =&gt; { :app_name =&gt; @app_name, :app_secret =&gt; md5.hexdigest }
       m.template &quot;helpers/application_helper.rb&quot;, &quot;app/helpers/application_helper.rb&quot;
       m.template &quot;helpers/test_helper.rb&quot;,        &quot;test/test_helper.rb&quot;
+      m.template &quot;helpers/performance_test.rb&quot;,   &quot;test/performance/browsing_test.rb&quot;
 
       # database.yml and routes.rb
       m.template &quot;configs/databases/#{options[:db]}.yml&quot;, &quot;config/database.yml&quot;, :assigns =&gt; {
@@ -155,6 +156,7 @@ class AppGenerator &lt; Rails::Generator::Base
     test/fixtures
     test/functional
     test/integration
+    test/performance
     test/unit
     vendor
     vendor/plugins</diff>
      <filename>railties/lib/rails_generator/generators/applications/app/app_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -103,6 +103,21 @@ namespace :test do
   end
   Rake::Task['test:integration'].comment = &quot;Run the integration tests in test/integration&quot;
 
+  Rake::TestTask.new(:benchmark) do |t|
+    t.libs &lt;&lt; 'test'
+    t.pattern = 'test/performance/**/*_test.rb'
+    t.verbose = true
+    t.options = '-- --benchmark'
+  end
+  Rake::Task['test:benchmark'].comment = 'Benchmark the performance tests'
+
+  Rake::TestTask.new(:profile) do |t|
+    t.libs &lt;&lt; 'test'
+    t.pattern = 'test/performance/**/*_test.rb'
+    t.verbose = true
+  end
+  Rake::Task['test:profile'].comment = 'Profile the performance tests'
+
   Rake::TestTask.new(:plugins =&gt; :environment) do |t|
     t.libs &lt;&lt; &quot;test&quot;
 </diff>
      <filename>railties/lib/tasks/testing.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ba0f38f89e8473490270957849d7d5b06f6ee65b</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </author>
  <url>http://github.com/rails/rails/commit/eab71208db1afead6803501c8d51d77625e5ad6e</url>
  <id>eab71208db1afead6803501c8d51d77625e5ad6e</id>
  <committed-date>2008-06-14T02:04:38-07:00</committed-date>
  <authored-date>2008-06-13T00:21:03-07:00</authored-date>
  <message>Performance: integration test benchmarking and profiling.  [Jeremy Kemper]</message>
  <tree>194e4911a90e5edf7af4c3c2990d6c0ad3645791</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
