diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/examples/performance.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/examples/performance.rb b/activerecord/examples/performance.rb index c4ce361b5d..e6bbb3977a 100644 --- a/activerecord/examples/performance.rb +++ b/activerecord/examples/performance.rb @@ -92,6 +92,8 @@ else `#{mysqldump_bin} -u #{conn[:username]} #{"-p#{conn[:password]}" unless conn[:password].blank?} #{conn[:database]} exhibits users > #{sqlfile}` end +ActiveRecord::IdentityMap.enabled = true unless ENV['IM'] == "disabled" + RBench.run(TIMES) do column :times column :ar |