CodeIgniter Forums
Anyway to call the Page Speed load time separately from the Debug Toolbar? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Anyway to call the Page Speed load time separately from the Debug Toolbar? (/showthread.php?tid=88609)



Anyway to call the Page Speed load time separately from the Debug Toolbar? - CIDave - 10-05-2023

I really like in the Debug Toolbar it shows how fast the page is loading and breaksdown how long each part of the code is taking.
Is there anyway to run this code within a script separately from the Debug Toolbar?
I want to create my own local spider to search my site, run the page-loading check and store the results in a DB to help me look for slow pages (instead of just manually browsing the site or using another 3rd party script).


RE: Anyway to call the Page Speed load time separately from the Debug Toolbar? - JustJohnQ - 10-05-2023

Check this page:
https://codeigniter4.github.io/userguide/testing/benchmark.html


RE: Anyway to call the Page Speed load time separately from the Debug Toolbar? - CIDave - 10-05-2023

Perfect! Thank you Smile