Re: object persistence within a session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 10, 2008 at 8:55 AM,  <ceo@xxxxxxxxx> wrote:
>
>> I've found that I don't mind a few well organized database calls per
>> page for the information I need.
>
> Opening up a database connection is very expensive.
>
> Sending one more simple / fast query is dirt cheap.
>
> Time it on your system with http://php.net/microtime and see.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Or xdebug [1].

[1] http://xdebug.org/docs/profiler

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux