Performance issue - and not using Low Ree-order on this Site of a Multi-Site setup
Client's project has 2 sites. Public and Private Portal. The Public site uses Low Re-order to organize the team members in a non-alpha fashion.The Portal site does not use reeorder at all for any of it's channels, and there are no re-eorder tags in any of it's templates.
Yet, re-eorder extension calls seem to be the cause of our extremely slow response time and out of memory issues on said portal. Here's an example of our debugging log, the low reorder extension is being called on every channel:entries loop and on the first (below, memory increases significantly, as well as an additional second of delay:
....
(0.061119 / 12.16MB) -> Method Called: entries
(0.475208 / 54.64MB) Calling Extension Class/Method: Low_reorder_ext/channel_entries_query_result
(1.243937 / 56.58MB) -> Data Returned
...
We are running EE 2.9.2 and Low Re-Order 2.3.
Thanks in advance for any advice/help.
Replies
Low 14 Mar 2015 10:10
It's normal for any extension that uses the channel_entries_query_result hook to be called. However, when called from a channel:entries tag, LR doesn't do anything.
The thing is, the two times you're seeing are just 2 points where the template debugger logs the times. That doesn't mean an item (in this case, calling the channel_entries_query_result hook) takes up all the time up until the next item.
In fact, a lot of other (native) stuff happens after the hook is called, which simply isn't logged in the debugger, and therefore looks like it's part of the previous call.
You can try and temporarily disable the extension in the Extensions part of the Control Panel to see if performance improves by disabling LR.
Bryan Lewis 15 Apr 2015 15:00
Thank you for the explanation (and sorry for the delay.)
I'll give that a try next time we do optimization and see what type of results we get.