mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:01 -05:00
Enable IM in performance script unless IM=disabled is set when running it.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user