Add performance scripts from wycats/rails-simple-benches to actionpack.

This commit is contained in:
José Valim
2011-12-08 14:05:18 +01:00
parent 0008918059
commit 06ac7d3ee0
10 changed files with 217 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
TIMES = (ENV['N'] || 10000).to_i
require 'rubygems'
require File.expand_path('../../../load_paths', __FILE__)
require "active_record"
conn = { :adapter => 'sqlite3', :database => ':memory:' }