Performance miracles

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue May 20, 2014 11:12 am
Reply with quote
Report this post
I had experience a performance drop in the template.

Debbuging the site I found that the time - afterRender was around 10 seconds (almost 9 seconds more than the time after render the last module!). After applying all cache tips and tricks (GK cache, System Cache, htaccess expires...) and other recommendations the problem persisted.

I found the solution here : http://forum.joomla.org/viewtopic.php?t=284990. Just reinstall the template ?!?

This seems to be some kind of miracle. Now the time afterRender is +0.146 (total 2.5 seconds!). I need to update again some part of the template. I would like to know if this solution would be permanent of I could experience the same behaviour.

Best,
Pablo.
User avatar
Junior Boarder

GK User
Tue May 20, 2014 3:51 pm
Reply with quote
Report this post
Although it has only happened once since we re-installed the template, we have observed the same behaviour regarding to the last step 'afterRender' taken from the debug information.

Application 2.079 seconds (+0.001); 19.37 MB (-0.003) - beforeRenderModule mod_menu (Top menu)
Application 2.122 seconds (+0.043); 19.39 MB (+0.013) - afterRenderModule mod_menu (Top menu)
Application 11.121 seconds (+8.999); 19.57 MB (+0.182) - afterRender

9 second in that step! Any hints about this issue ?

Best,
Pablo.
User avatar
Junior Boarder

GK User
Tue May 27, 2014 7:54 am
Reply with quote
Report this post
Please try to disable all modules visible on the website one by one, I suspect that this may be kind of extension problem rather than template issue. If you detect which one cause the additional load time please let me know. Do you use any 3rd party plugins?
User avatar
Platinum Boarder

GK User
Tue May 27, 2014 9:31 am
Reply with quote
Report this post
We use the extensions shipped with the template + AllVideos (by JoomlaWorks) + Editor JCE + Content - Oziogallery 3.

The JCE MediaBox is configured to be loaded in specific pages (where the frontpage is not included).

The Oziogallery 3 is added as a custom html module that connect to Google+. This module is not a problem (see the following debug information) :

Code: Select all
Application 0.777 seconds (+0.000); 18.34 MB (-0.043) - beforeRenderModule mod_custom (Oziogallery 3)
Application 0.798 seconds (+0.021); 18.39 MB (+0.048) - afterRenderModule mod_custom (Oziogallery 3)


We found that the module Weather GK4 ver. 1.6.6 has a considerable difference:

* Application 0.774 seconds (+0.000); 18.35 MB (-0.040) - beforeRenderModule mod_weather_gk4 (The weather)
* Application 2.528 seconds (+1.754); 18.99 MB (+0.640) - afterRenderModule mod_weather_gk4 (The weather)

We have disabled that module and the frontpage takes now 1.3 seconds to load. That's a good number considering the amount of modules used.

Please, note that the problem 'disappeared' since we reinstalled the template (before this step, the average load time was 9 seconds), as we found in this thread : http://forum.joomla.org/viewtopic.php?t=284990.

The full debug information is shown below:

Code: Select all
Application 0.000 seconds (+0.000); 1.32 MB (+1.322) - afterLoad
Application 0.175 seconds (+0.175); 7.04 MB (+5.720) - afterInitialise
Application 0.250 seconds (+0.075); 9.90 MB (+2.861) - afterRoute
Application 0.331 seconds (+0.081); 12.08 MB (+2.181) - afterDispatch
Application 0.454 seconds (+0.124); 14.12 MB (+2.041) - beforeRenderModule mod_login (Login)
Application 0.480 seconds (+0.025); 14.28 MB (+0.154) - afterRenderModule mod_login (Login)
Application 0.480 seconds (+0.000); 14.27 MB (-0.004) - beforeRenderModule mod_menu (Footer menu)
Application 0.522 seconds (+0.042); 14.50 MB (+0.228) - afterRenderModule mod_menu (Footer menu)
Application 0.522 seconds (+0.000); 14.49 MB (-0.011) - beforeRenderModule mod_custom (Directorio de interés)
Application 0.531 seconds (+0.009); 14.50 MB (+0.008) - afterRenderModule mod_custom (Directorio de interés)
Application 0.531 seconds (+0.000); 14.50 MB (-0.005) - beforeRenderModule mod_custom (Suplemento)
Application 0.537 seconds (+0.006); 14.50 MB (+0.006) - afterRenderModule mod_custom (Suplemento)
Application 0.537 seconds (+0.000); 14.50 MB (-0.001) - beforeRenderModule mod_banners (Publicidad 300x250)
Application 0.568 seconds (+0.031); 14.76 MB (+0.257) - afterRenderModule mod_banners (Publicidad 300x250)
Application 0.568 seconds (+0.000); 14.76 MB (+0.002) - beforeRenderModule mod_k2_content (Vídeos)
Application 0.632 seconds (+0.064); 16.35 MB (+1.596) - afterRenderModule mod_k2_content (Vídeos)
Application 0.633 seconds (+0.001); 16.33 MB (-0.022) - beforeRenderModule mod_news_pro_gk4 (Opiniones)
Application 0.691 seconds (+0.058); 18.34 MB (+2.005) - afterRenderModule mod_news_pro_gk4 (Opiniones)
Application 0.691 seconds (+0.001); 18.21 MB (-0.123) - beforeRenderModule mod_news_pro_gk4 (Se comenta)
Application 0.711 seconds (+0.019); 18.34 MB (+0.125) - afterRenderModule mod_news_pro_gk4 (Se comenta)
Application 0.711 seconds (+0.001); 18.23 MB (-0.114) - beforeRenderModule mod_news_pro_gk4 (Visitas virtuales)
Application 0.727 seconds (+0.016); 18.34 MB (+0.116) - afterRenderModule mod_news_pro_gk4 (Visitas virtuales)
Application 0.727 seconds (+0.000); 18.20 MB (-0.144) - beforeRenderModule mod_custom (Tweets)
Application 0.733 seconds (+0.006); 18.20 MB (+0.006) - afterRenderModule mod_custom (Tweets)
Application 0.733 seconds (+0.000); 18.20 MB (-0.003) - beforeRenderModule mod_banners (Publicidad 300x250)
Application 0.743 seconds (+0.010); 18.22 MB (+0.017) - afterRenderModule mod_banners (Publicidad 300x250)
Application 0.743 seconds (+0.000); 18.21 MB (-0.009) - beforeRenderModule mod_k2_comments (Comentarios)
Application 0.786 seconds (+0.043); 18.38 MB (+0.174) - afterRenderModule mod_k2_comments (Comentarios)
Application 0.786 seconds (+0.000); 18.34 MB (-0.043) - beforeRenderModule mod_custom (La viñeta de Joao Leivinha)
Application 0.807 seconds (+0.021); 18.39 MB (+0.048) - afterRenderModule mod_custom (La viñeta de Joao Leivinha)
Application 0.807 seconds (+0.000); 18.38 MB (-0.004) - beforeRenderModule mod_custom (Publicidad 90x90)
Application 0.813 seconds (+0.006); 18.39 MB (+0.006) - afterRenderModule mod_custom (Publicidad 90x90)
Application 0.813 seconds (+0.000); 18.43 MB (+0.039) - beforeRenderModule mod_news_pro_gk4 (Lo más leído)
Application 0.836 seconds (+0.023); 18.54 MB (+0.112) - afterRenderModule mod_news_pro_gk4 (Lo más leído)
Application 0.837 seconds (+0.001); 18.43 MB (-0.112) - beforeRenderModule mod_news_pro_gk4 (Suplemento)
Application 0.996 seconds (+0.159); 18.55 MB (+0.126) - afterRenderModule mod_news_pro_gk4 (Suplemento)
Application 0.997 seconds (+0.001); 18.45 MB (-0.104) - beforeRenderModule mod_news_pro_gk4 (Más Noticias)
Application 1.026 seconds (+0.029); 18.60 MB (+0.151) - afterRenderModule mod_news_pro_gk4 (Más Noticias)
Application 1.027 seconds (+0.001); 18.47 MB (-0.128) - beforeRenderModule mod_news_pro_gk4 (Últimas Noticias)
Application 1.057 seconds (+0.030); 18.61 MB (+0.138) - afterRenderModule mod_news_pro_gk4 (Últimas Noticias)
Application 1.058 seconds (+0.001); 18.50 MB (-0.115) - beforeRenderModule mod_news_pro_gk4 (Portada - NSP Header)
Application 1.081 seconds (+0.023); 18.63 MB (+0.132) - afterRenderModule mod_news_pro_gk4 (Portada - NSP Header)
Application 1.082 seconds (+0.000); 18.48 MB (-0.152) - beforeRenderModule mod_banners (Publicidad 468x60)
Application 1.091 seconds (+0.010); 18.49 MB (+0.017) - afterRenderModule mod_banners (Publicidad 468x60)
Application 1.092 seconds (+0.000); 18.48 MB (-0.012) - beforeRenderModule mod_search (Search)
Application 1.106 seconds (+0.015); 18.51 MB (+0.031) - afterRenderModule mod_search (Search)
Application 1.106 seconds (+0.000); 18.50 MB (-0.012) - beforeRenderModule mod_custom (Social icons)
Application 1.112 seconds (+0.006); 18.51 MB (+0.007) - afterRenderModule mod_custom (Social icons)
Application 1.112 seconds (+0.000); 18.50 MB (-0.003) - beforeRenderModule mod_menu (Top menu)
Application 1.154 seconds (+0.042); 18.54 MB (+0.040) - afterRenderModule mod_menu (Top menu)
Application 1.154 seconds (+0.000); 18.53 MB (-0.010) - beforeRenderModule mod_banners (Publicidad Leaderboard)
Application 1.164 seconds (+0.010); 18.55 MB (+0.018) - afterRenderModule mod_banners (Publicidad Leaderboard)
Application 1.310 seconds (+0.146); 18.67 MB (+0.122) - afterRender


Please, note that none of the modules represents a problem. As stated before, the problem disappeared after reinstall the template. Maybe it is not related to the template (good news :)) but with some Joomla! 'mystic' which I'm not aware. So, any guidance will be welcome.

To sum up this big post : The problem seems to be solved but please, don't close the thread without a feedback :)

Best,
Pablo.
User avatar
Junior Boarder

GK User
Wed May 28, 2014 8:04 am
Reply with quote
Report this post
To be honest I have no idea how template reinstallation may improve page loading when the executed code is exactly the same… (maybe it is a Joomla bug)

Differences between every single module render times are quite usual so probably with this amount of content you can't improve this loading time.
User avatar
Platinum Boarder


cron