Skip to content

Commit

Permalink
AR perf test: switch to mysql2, bundle faker and rbench
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Sep 9, 2010
1 parent 298da5b commit ac89275
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Gemfile
Expand Up @@ -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"

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion activerecord/examples/performance.rb
Expand Up @@ -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' }
Expand Down

0 comments on commit ac89275

Please sign in to comment.