User tests: Successful: Unsuccessful:
This PR does some performance improvements to the SEF system plugin.
For checking the performance improvements:
JDEBUG && $this->_observers[$key] == 'PlgSystemSef' ? JProfiler::getInstance('Application')->mark('- ' . $this->_observers[$key] . '->' . $event . ' started.') : null;
$value = $this->_observers[$key]->update($args);
JDEBUG && $this->_observers[$key] == 'PlgSystemSef' ? JProfiler::getInstance('Application')->mark('- <strong>' . $this->_observers[$key] . '->' . $event . ' Ended!</strong>') : null;
Notes:
onAfterRender
event of the SEF plugin will take. So test this in category blog views and other pages with lot of content.Suggestions, code reviews and improvements are welcomed.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
I have tested this item successfully on 42d86c0
I have tested this item successfully on 42d86c0
I also tested this on a production site (3.4.8) with a lot of content, different menu types and different components and I can see similar improvements.
Thanks!
Status | Pending | ⇒ | Ready to Commit |
Thanks for testing - setting RTC
Labels |
Added:
?
|
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-02-16 17:32:53 |
Closed_By | ⇒ | roland-d |
Labels |
Removed:
?
|
BTW i have a production site (3.4.8) that, by just applying this PR i get a performance improvement in almost all pages of ~45ms (around 10%).
Before PR
After PR
So the performance improvement largely depends of the HTML code of the pages.