Skip to content

Instantly share code, notes, and snippets.

@mbabker mbabker/routingDiff
Created May 8, 2013

Embed
What would you like to do?
Below are the debug console outputs comparing the current Joomla routing system versus Hannes' proposed improvements as collected on December 26, 2012. Tests were conducted on the CMS development HEAD with the "Learn Joomla English (GB) Sample Data" loaded.
Summary:
afterRender Time: 1.338 seconds (Current) vs. 0.542 seconds (Optimized)
Memory Usage: 2.84 MB (Current) vs. 2.61 MB (Optimized)
Current Routing:
Application 0.000 seconds (+0.000); 0.40 MB (+0.401) - afterLoad
Application 0.145 seconds (+0.145); 1.03 MB (+0.631) - afterInitialise
Application 0.557 seconds (+0.413); 2.07 MB (+1.043) - afterRoute
Application 0.878 seconds (+0.320); 2.69 MB (+0.616) - afterDispatch
Application 0.945 seconds (+0.067); 2.74 MB (+0.053) - beforeRenderModule mod_menu (About Joomla!)
Application 1.095 seconds (+0.151); 2.76 MB (+0.021) - afterRenderModule mod_menu (About Joomla!)
Application 1.096 seconds (+0.001); 2.76 MB (-0.004) - beforeRenderModule mod_menu (This Site)
Application 1.198 seconds (+0.102); 2.78 MB (+0.019) - afterRenderModule mod_menu (This Site)
Application 1.199 seconds (+0.000); 2.78 MB (-0.005) - beforeRenderModule mod_login (Login Form)
Application 1.227 seconds (+0.028); 2.79 MB (+0.014) - afterRenderModule mod_login (Login Form)
Application 1.227 seconds (+0.001); 2.79 MB (+0.001) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)
Application 1.261 seconds (+0.034); 2.81 MB (+0.017) - afterRenderModule mod_breadcrumbs (Breadcrumbs)
Application 1.261 seconds (+0.001); 2.81 MB (-0.002) - beforeRenderModule mod_custom (Image Module)
Application 1.268 seconds (+0.006); 2.81 MB (+0.005) - afterRenderModule mod_custom (Image Module)
Application 1.268 seconds (+0.001); 2.81 MB (-0.001) - beforeRenderModule mod_menu (Top)
Application 1.315 seconds (+0.047); 2.82 MB (+0.009) - afterRenderModule mod_menu (Top)
Application 1.316 seconds (+0.001); 2.81 MB (-0.004) - beforeRenderModule mod_search (Search)
Application 1.332 seconds (+0.016); 2.83 MB (+0.013) - afterRenderModule mod_search (Search)
Application 1.338 seconds (+0.006); 2.84 MB (+0.011) - afterRender
Optimized Routing:
Application 0.000 seconds (+0.000); 0.40 MB (+0.401) - afterLoad
Application 0.174 seconds (+0.174); 1.84 MB (+1.437) - afterInitialise
Application 0.196 seconds (+0.023); 1.95 MB (+0.110) - afterRoute
Application 0.355 seconds (+0.159); 2.45 MB (+0.502) - afterDispatch
Application 0.384 seconds (+0.029); 2.50 MB (+0.053) - beforeRenderModule mod_menu (About Joomla!)
Application 0.427 seconds (+0.043); 2.53 MB (+0.025) - afterRenderModule mod_menu (About Joomla!)
Application 0.430 seconds (+0.003); 2.52 MB (-0.004) - beforeRenderModule mod_menu (This Site)
Application 0.460 seconds (+0.030); 2.55 MB (+0.024) - afterRenderModule mod_menu (This Site)
Application 0.461 seconds (+0.000); 2.54 MB (-0.005) - beforeRenderModule mod_login (Login Form)
Application 0.500 seconds (+0.039); 2.56 MB (+0.017) - afterRenderModule mod_login (Login Form)
Application 0.500 seconds (+0.001); 2.56 MB (+0.001) - beforeRenderModule mod_breadcrumbs (Breadcrumbs)
Application 0.506 seconds (+0.006); 2.58 MB (+0.018) - afterRenderModule mod_breadcrumbs (Breadcrumbs)
Application 0.507 seconds (+0.001); 2.58 MB (-0.002) - beforeRenderModule mod_custom (Image Module)
Application 0.509 seconds (+0.003); 2.58 MB (+0.005) - afterRenderModule mod_custom (Image Module)
Application 0.510 seconds (+0.001); 2.58 MB (-0.001) - beforeRenderModule mod_menu (Top)
Application 0.525 seconds (+0.015); 2.59 MB (+0.010) - afterRenderModule mod_menu (Top)
Application 0.525 seconds (+0.001); 2.59 MB (-0.004) - beforeRenderModule mod_search (Search)
Application 0.534 seconds (+0.008); 2.60 MB (+0.015) - afterRenderModule mod_search (Search)
Application 0.542 seconds (+0.008); 2.61 MB (+0.011) - afterRender
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.