[Rails-core] ActiveRecord setter performance

2012-10-27 Thread Yves Senn
I recently did a batch-processing operation, which simulated a calculation with roughly 80'000 ActiveRecord objects. Since it was just a simulation none of the records were actually persisted to the database. The performance of the operation was pretty bad and I investigated a bit. I could

Re: [Rails-core] ActiveRecord setter performance

2012-10-27 Thread Vipul Amler
On Sat, Oct 27, 2012 at 9:53 PM, Yves Senn yves.s...@gmail.com wrote: I recently did a batch-processing operation, which simulated a calculation with roughly 80'000 ActiveRecord objects. Since it was just a simulation none of the records were actually persisted to the database. The performance