Hi everyone, I'm not going to be able to try any of these measures until tonight, but thank you all for your suggestions. I did benchmark the table-plus call, and all the time is inside of that call (9531.3/9953, for example). I'll try to go in there and investigate tonight.
Matt, we are running ruby 1.9.2, so that Array#to_s problem could be relevant. Ignatio, assets and javascript loading aren't an issue, and I'm not really willing to look at caching, since that could introduce problems that the lab techs would have trouble understanding if I make incorrect assumptions. I'll try replacing table-plus with a manual table to see if that speeds things up. Are the permissions checks done in the controller, or in the view? Peter, the app is running on a physical machine, and it's definitely compute time that is the majority of the request time. I was pretty worried when I saw this problem, since I'd never seen Hobo before, but now I'm confident I will find a resolution, since this list is so helpful. Thanks again, Raphael Sofaer On Sat, Jul 14, 2012 at 2:15 PM, Matt Jones <[email protected]> wrote: > > On Jul 12, 2012, at 7:44 PM, Raphael Sofaer wrote: > >> Hi Matt, Vivek, >> >> Here's some more information. The app is running in production mode, >> although I'd like it to be a reasonable speed in dev mode also, for >> development. Dev mode now is up to twice as slow. There's tons of free >> memory and cpu on the machine. Rails and hobo versions: >> rails (3.0.5) >> hobo (1.3.0) > > Just to verify, which Ruby are you running on? (1.8.6 / 1.8.7 / 1.9.2) > > Some preliminary profiling on 1.9.2 is turning up (bizarrely) Array#to_s as a > major time sink. This may be a side-effect of changes in 1.9 (it used to just > glue all the strings together, now it adds brackets + inspects the strings). > More as this develops. > > --Matt Jones > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
