User tests: Successful: Unsuccessful:
Pull Request for Issue #43649.
Currently while checking access, the Access::preload()
pulling everything from the access table.
It is neglectable for small sites, however for large sites it has huge impact on the site performance.
I added a new method for "smart preload", which allows to preload only needed items. And applied this method for most of the com_content views, where it make sense.
Create a site with 20k articles (more is better). Can use following plugin to generate random content https://github.com/Fedik/plg_sampledata_bigdata
Enable debug.
Open article detail or blog view.
Look for memory usage in the debug bar, and for time.
In my test:
memory usage around 45Mb
time 200-300ms
In my test:
memory usage around ~12Mb
time ~100ms
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_categories com_content Front End Libraries |
Labels |
Added:
Feature
bug
PR-5.2-dev
|
Title |
|
Labels |
Added:
Performance
Removed: bug |
Will rebase it after upmarge