Tuning performance
-
Hi, I’m trying to solve the 1 second page generation time on localhost.
I measured it with the following code in the ‘footer.php’
‘<!– <?php echo get_num_queries(); ?> queries. Generated in <?php timer_stop(1); ?> seconds. –>’Chrome dev tools network screenshot:
https://i.imgur.com/7BY30Mx.pngTried Xdebug profiling and visualizing with Xdebug.
https://i.imgur.com/5qYZKxL.png
https://i.imgur.com/lxMztQP.pngScreenshot of time and debug-bar with enabled Xdebug profiling:
https://i.imgur.com/7udDGxS.pngScreenshot of time and debug-bar with disabled Xdebug profiling:
https://i.imgur.com/LaVryCU.pngWith disabling all plugins and enabled Xdebug profiling:
https://i.imgur.com/MuKjsBd.pngWith disabling all plugins and disabled Xdebug profiling:
https://i.imgur.com/3EHz9le.pngWould be nice to cut the generation time to 600msec.
Should I put menus and other dynamically generated HTML output into transients?
With the disabled plugins the MO parser isn’t showing up, the issue might be with a big .mo file?
Any ideas?
Thank you.
- The topic ‘Tuning performance’ is closed to new replies.