Re: object persistence within a session
| From: | Eric Butera | Date: | Mon, 10 Nov 2008 14:04:17 +0000 |
| Subject: | Re: object persistence within a session | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283175@lists.php.net to get a copy of this message | ||
On Mon, Nov 10, 2008 at 8:55 AM, <ceo@l-i-e.com> 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