ActiveRecord performs increasingly poorly as the result set size
increases in 3.0.0.rc.
I get this strace output at least once (if not more) for every
object in the result (ChildA is the AR class):
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("/application/app/helpers/child_a/child_a.rb", 0x7fffb53d1290)
= -1 ENOENT (No such file or directory)
stat("/application/app/models/child_a/child_a.rb", 0x7fffb53d1290)
= -1 ENOENT (No such file or directory)
stat("/application/app/middleware/child_a/child_a.rb",
0x7fffb53d1290) = -1 ENOENT (No such file or directory)
stat("/application/app/controllers/child_a/child_a.rb",
0x7fffb53d1290) = -1 ENOENT (No such file or directory)
stat("/application/app/helpers/child_a/child_a", 0x7fffb53d00e0) =
-1 ENOENT (No such file or directory)
stat("/application/app/models/child_a/child_a", 0x7fffb53d00e0) =
-1 ENOENT (No such file or directory)
stat("/application/app/middleware/child_a/child_a", 0x7fffb53d00e0)
= -1 ENOENT (No such file or directory)
stat("/application/app/controllers/child_a/child_a",
0x7fffb53d00e0) = -1 ENOENT (No such file or directory)
This is when running in development mode. No idea if production
mode has the same issue.