If I look at the SQL I see that the query itself is cheap, but the
rendering is very expensive.

Here is average time to render on a per record basis.  With 15 records
per page as default, this is 15+ seconds per page.

  Rendered _list_actions (13.7ms)
  Rendered _list_record (1021.0ms)

I wonder if the security model is a bit too expensive?

A similar sampling with security disabled provides:

  Rendered _list_actions (13.6ms)
  Rendered _list_record (764.7ms)

This is something, but nevertheless not all of the time for rendering
a record with just one attribute and one one-to-many association with
eager loading turned off.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

  • Li... Ward W.
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
      • ... Ward W.
      • ... Ward W.

Reply via email to