English > General Questions

Performance

(1/3) > >>

Finarfin:
With the debug activated, what times are you getting? I´m having performance problems, but Im not sure if is cause the custom changes I have made myself.

Harald Leithner:
jdiction.org Startpage:

Application 0.000 seconds (+0.000); 0.71 MB (+0.709) - afterLoad
Application 0.088 seconds (+0.088); 4.54 MB (+3.831) - afterInitialise
Application 0.093 seconds (+0.004); 4.72 MB (+0.183) - afterRoute
Application 0.157 seconds (+0.064); 7.12 MB (+2.400) - afterDispatch
Application 0.162 seconds (+0.005); 7.29 MB (+0.165) - beforeRenderModule mod_jdlanguage (jdlanguage)
Application 0.177 seconds (+0.015); 7.42 MB (+0.129) - afterRenderModule mod_jdlanguage (jdlanguage)
Application 0.178 seconds (+0.000); 7.42 MB (-0.001) - beforeRenderModule mod_menu (Footer)
Application 0.181 seconds (+0.003); 7.46 MB (+0.044) - afterRenderModule mod_menu (Footer)
Application 0.181 seconds (+0.000); 7.46 MB (-0.003) - beforeRenderModule mod_menu (Sub Second Menu)
Application 0.182 seconds (+0.001); 7.46 MB (+0.004) - afterRenderModule mod_menu (Sub Second Menu)
Application 0.182 seconds (+0.000); 7.46 MB (-0.003) - beforeRenderModule mod_menu (Sub Main Menu)
Application 0.182 seconds (+0.001); 7.46 MB (+0.004) - afterRenderModule mod_menu (Sub Main Menu)
Application 0.182 seconds (+0.000); 7.46 MB (-0.003) - beforeRenderModule mod_menu (Second Menu)
Application 0.185 seconds (+0.003); 7.47 MB (+0.012) - afterRenderModule mod_menu (Second Menu)
Application 0.186 seconds (+0.000); 7.47 MB (-0.003) - beforeRenderModule mod_menu (Main Menu)
Application 0.188 seconds (+0.002); 7.48 MB (+0.009) - afterRenderModule mod_menu (Main Menu)
Application 0.188 seconds (+0.000); 7.47 MB (-0.004) - beforeRenderModule mod_itrfile (Background Image)
Application 0.210 seconds (+0.022); 8.17 MB (+0.693) - afterRenderModule mod_itrfile (Background Image)
Application 0.212 seconds (+0.002); 8.19 MB (+0.026) - afterRender

For native Language with 2 selects on #__jd_store (menu in 2 languages)

Translated:

Application 0.000 seconds (+0.000); 0.71 MB (+0.709) - afterLoad
Application 0.082 seconds (+0.081); 4.71 MB (+4.000) - afterInitialise
Application 0.100 seconds (+0.018); 5.04 MB (+0.336) - afterRoute
Application 0.197 seconds (+0.097); 7.51 MB (+2.466) - afterDispatch
Application 0.211 seconds (+0.014); 7.68 MB (+0.168) - beforeRenderModule mod_jdlanguage (jdlanguage)
Application 0.219 seconds (+0.008); 7.74 MB (+0.064) - afterRenderModule mod_jdlanguage (jdlanguage)
Application 0.220 seconds (+0.000); 7.74 MB (-0.001) - beforeRenderModule mod_menu (Footer)
Application 0.223 seconds (+0.004); 7.79 MB (+0.044) - afterRenderModule mod_menu (Footer)
Application 0.223 seconds (+0.000); 7.78 MB (-0.003) - beforeRenderModule mod_menu (Sub Second Menu)
Application 0.224 seconds (+0.001); 7.79 MB (+0.004) - afterRenderModule mod_menu (Sub Second Menu)
Application 0.224 seconds (+0.000); 7.78 MB (-0.003) - beforeRenderModule mod_menu (Sub Main Menu)
Application 0.225 seconds (+0.001); 7.79 MB (+0.004) - afterRenderModule mod_menu (Sub Main Menu)
Application 0.225 seconds (+0.000); 7.78 MB (-0.003) - beforeRenderModule mod_menu (Second Menu)
Application 0.228 seconds (+0.003); 7.80 MB (+0.012) - afterRenderModule mod_menu (Second Menu)
Application 0.228 seconds (+0.000); 7.79 MB (-0.003) - beforeRenderModule mod_menu (Main Menu)
Application 0.230 seconds (+0.002); 7.80 MB (+0.009) - afterRenderModule mod_menu (Main Menu)
Application 0.230 seconds (+0.000); 7.80 MB (-0.004) - beforeRenderModule mod_itrfile (Background Image)
Application 0.257 seconds (+0.026); 8.53 MB (+0.732) - afterRenderModule mod_itrfile (Background Image)
Application 0.259 seconds (+0.002); 8.56 MB (+0.026) - afterRender

With 7 #__jd_store queries


In the end: 0.259 to 0.212... translation is 0,047 seconds slower.

Finarfin:
yeah, it seems that I borked something :D thanks for your input :D

Finarfin:
ooook, I think I found something


libraries\jdiction\jdiction.php

line 169

$subdirs2 = JFolder::files(JPATH bla bla

I´m almost sure that the problem is there. I understand that this line search for jdiction.xml files to be able to translate differents components but a full recursive search on the components folder its really perfomarnce intensive. I don´t know how you get so good results :D the solution could be
a) Forbid jdiction.xml outside proper folder
b) Search only one level (details http://docs.joomla.org/API16:JFolder/files)


Let me know ;)

Harald Leithner:
I'm on vacation... the default is not to search recrusive did I changed this?

Navigation

[0] Message Index

[#] Next page

Go to full version