Re: Reducing load for LAMP app?
- From: Gilles Ganault <nospam@xxxxxxxxxx>
- Date: Sun, 06 Jan 2008 19:59:31 +0100
On Sun, 06 Jan 2008 19:54:05 +0100, "Rik Wasmus"
<luiheidsgoeroe@xxxxxxxxxxx> wrote:
microtime(true);, check the output :P
Yup :-) This looks more usable:
$starttimer = time()+microtime();
// run script code here
$stoptimer = time()+microtime();
$timer = round($stoptimer-$starttimer,4);
echo "Page created in $timer seconds.";
.
- Follow-Ups:
- Re: Reducing load for LAMP app?
- From: Jerry Stuckle
- Re: Reducing load for LAMP app?
- References:
- Reducing load for LAMP app?
- From: Gilles Ganault
- Re: Reducing load for LAMP app?
- From: Richard
- Re: Reducing load for LAMP app?
- From: Gilles Ganault
- Re: Reducing load for LAMP app?
- From: Jerry Stuckle
- Re: Reducing load for LAMP app?
- From: Gilles Ganault
- Re: Reducing load for LAMP app?
- From: Jerry Stuckle
- Re: Reducing load for LAMP app?
- From: Gilles Ganault
- Re: Reducing load for LAMP app?
- From: Rik Wasmus
- Reducing load for LAMP app?
- Prev by Date: Separating static and dynamic contents?
- Next by Date: Re: best approach to caching DB results
- Previous by thread: Re: Reducing load for LAMP app?
- Next by thread: Re: Reducing load for LAMP app?
- Index(es):
Relevant Pages
|