User tests: Successful: Unsuccessful:
I'm working on improving performance of a Joomla site. I noticed that the longest part of generating a page is JApplicationCms->getMenu(). The query returns 380 menu items, each of them with a larger than usually params column (some extension). JApplicationCms took 1.78s to execute, out of which 1.37s has been spent in 489 calls of Registry::bindData.
Essentially, for menu items, the flow is as following:
params
is a JSON stringI propose that for simple cases like loading a menu item, the flow looks like this:
params
is a JSON stringAfter my changes, said site takes 0.21s to execute JApplicationCms->getMenu().
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Thanks.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-10-26 17:56:55 |
Closed_By | ⇒ | gjedeer |
This needs to be sent as a pull request to the Framework's Registry package repo at https://github.com/joomla-framework/registry