View Single Post

  #2 (permalink)  
Old 03-26-2008
Paul Scott
 
Posts: n/a
Default Re: [PHP] optimilize web page loading


On Wed, 2008-03-26 at 09:25 +0100, Alain Roger wrote:
> i would like to know if there is a way to know how long does a web page need
> to be loaded into browser ?
> this is interesting fact for me, as i will optimilize my PHP code in order
> to reduce this time to minimum.


Try using microtime() http://www.php.net/microtime/ on either side of
your output statement(s).

--Paul
>

--
------------------------------------------------------------.
| Chisimba PHP5 Framework - http://avoir.uwc.ac.za |
:------------------------------------------------------------:


All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/public/p...disclaimer.htm

Reply With Quote