phpcodec Posted July 29, 2008 Share Posted July 29, 2008 How can i make it show on my webpage how long the webpage took to load? Quote Link to comment https://forums.phpfreaks.com/topic/117171-page-loaded-in-xx-seconds/ Share on other sites More sharing options...
ignace Posted July 29, 2008 Share Posted July 29, 2008 on the top you write: $start = microtime(true); and at the bottom you write: $msecs = $start - microtime(true); print "the page loaded in: " . number_format($msecs, 2) . " msecs"; Quote Link to comment https://forums.phpfreaks.com/topic/117171-page-loaded-in-xx-seconds/#findComment-602679 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.