Permalink
Browse files

AR perf test: switch to mysql2, bundle faker and rbench

  • Loading branch information...
1 parent 82ea5db commit cc81b04ae540c0b75f5428951e11dea2f13a0946 @jeremy jeremy committed Sep 2, 2010
Showing with 6 additions and 1 deletion.
  1. +5 −0 Gemfile
  2. +1 −1 activerecord/examples/performance.rb
View
@@ -13,6 +13,10 @@ gem "mocha", ">= 0.9.8"
gem "rdoc", ">= 2.5.10"
gem "horo", ">= 1.0.2"
+# for perf tests
+gem "faker"
+gem "rbench"
+
# AS
gem "memcache-client", ">= 1.8.5"
@@ -22,6 +26,7 @@ gem "text-format", "~> 1.0.0"
platforms :mri_18 do
gem "system_timer"
gem "ruby-debug", ">= 0.10.3"
+ gem 'ruby-prof'
end
platforms :mri_19 do
@@ -14,7 +14,7 @@
require File.expand_path("../../../load_paths", __FILE__)
require "active_record"
-conn = { :adapter => 'mysql',
+conn = { :adapter => 'mysql2',
:database => 'activerecord_unittest',
:username => 'rails', :password => '',
:encoding => 'utf8' }

0 comments on commit cc81b04

Please sign in to comment.