Results 1 to 9 of 9
Hybrid View
-
12th Feb 2011, 01:52 PM #1MemberWebsite's:
Elite.SO Defendos.com Motionite.comPHP Code:<?php
// Paste this in header before HTML starts.
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$start = $time;
// Paste this on end of page/html.
$time = microtime();
$time = explode(" ", $time);
$time = $time[1] + $time[0];
$finish = $time;
$totaltime = ($finish - $start);
printf ("Load time: %f seconds", $totaltime);
?>l0calh0st Reviewed by l0calh0st on . Checking Uptime / Loading Speed Is there anyway to check how much time a site takes to load completely Also is that load time normal / slow / fast / perfect ?? Anything anyone know please help Rating: 5
-
12th Feb 2011, 07:53 PM #2Member
BTW Since PHP 5 we can get a float value using the get_as_float parameter. So it can be very simple like:-
PHP Code:<?php
// Paste this in header before HTML starts.
$start = microtime(1);
// Paste this on end of page/html.
printf ("Load time: %f seconds", microtime(1) - $start);
?>
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Checking In
By johnniegolfer in forum IntroductionsReplies: 0Last Post: 27th Mar 2012, 08:12 PM -
Checking in
By 808crazy in forum IntroductionsReplies: 1Last Post: 12th Aug 2011, 05:28 PM -
How to improve my site's page loading speed
By moviesmegaupload in forum Technical Help Desk SupportReplies: 7Last Post: 25th Feb 2011, 01:55 PM -
Old newbie checking in
By Twink in forum IntroductionsReplies: 8Last Post: 22nd Dec 2010, 05:59 AM -
[Shared] OffShoreHostingPlace.com | High Speed - 99.9% Uptime - NetherLand Shared & Resellers
By dewshare in forum ArchiveReplies: 1Last Post: 26th Sep 2009, 07:39 PM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...