User tests: Successful: Unsuccessful:
Faster loading of category items in component content view categories.
Instead of using a query with GROUP BY
this PR uses DEPENDENT SUBQUERY
.
Joomla works as before.
On large content sites, categories view in component content
loads faster.
Test on index.php/component/content/categories
.
Enable debug mode.
Look for the query that contains c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time
and numitems
.
Categories load faster on view categories.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
I have read your issue and this PR is probably not directly related to your problem.
It will speed up com_content categories view.
This PR required 2 successful test to be ready to commit.
I have plan to fix your issue too, please test this one. It will help me to move forward faster.
Hi csthomas, i will try to manage to test this fix too, i'm currently experiencing trouble with PhpmyAdmin on last Xampp release, so i will need a bit of time to workaround that issue, when this will be done, i'll test the patch, thank a lot to help us, we are ready to help at our best just ask us if anything is needed.
I created 400 categories and 4000 articles by modified version of sampledata blog plugin, ex https://gist.github.com/csthomas/df973e13245e6a23ed5f8cb9ecd67ce1
In general, if there are more articles, the difference in speed should be more visible.
Total articles should be more than 4000.
well i've tested with 16000 articles with 100 category, but maybe is better to test on mysql should be most impacted cause different implementation on subquery
i've tested this url http://localhost/test/index.php/component/content/categories only
i'll test on mysql when com_overload finish the job....
I have tested this item
i've tested on MySQLi 5.7.20 not sure if in lower version the gain will be the same
My screen shots are similar, so I do not send them.
In general Mysql has a little problem with GROUP BY when there is a lots of columns (in SELECT).
I have tested this item
MariaDB to 10.1.29 on SSD
11,000 articles in a single category
80 categories created ...
Before this PR
1st run 6.1 seconds
2nd run 3.7 seconds
After this PR is applied
1st run 2.8 seconds
2nd run 0.6 seconds
Thank you folks for testing.
I have granted an FTP access to ggpdk to download the akeeba archive as he seem to have issue with backup using http, i would like also to thanks you all for your time and effort to get the best CMS
f.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-15 15:04:52 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
Yiannis seem busy so I update the thread he have applied PR 19261 and PR 19284 pagetime load went from 4.5sec in joomla 3.7.5 to 3.5 sec in Joomla 3.8.3 (9 sec without PR), and start display page is 2.4 sec, for user Pagespeed load is 1.7 sec !!!!!!!!!! so its a wonderdull success !!!!!, I wand to sincerelly thanks Csthomas for is fantastic work ! and of course Georgios (ggppdk) who offer me is help, and all the Joomla devs, if I can exprim myself on the internet its because I discovered Joomla 8 year ago, I want to thank you all. You have to know that there is a lot of people using your code, and you make our life better, joomla 3.8.4 update will be awesome for user, just take a look : https://www.crashdebug,fr navigate througth the site and found a page not in cache (using left menu, and navigation bar at the bottom) they are displayed quasi instantly, you made it guys !!!!! Joomla is now as fast as wordpress with 14k article !!!!
Thanks,
Guillaume
Does this can help us on joomla 3.8.X timeload ? it seem to be for category view but that impact com_content, so i'm ready to test everything you can ask