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? 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"; 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
Archived
This topic is now archived and is closed to further replies.