[dev] Re: [cvs] commit: horde/lib NLS.php String.php
Mike Cochrane
mike at graftonhall.co.nz
Fri Feb 7 07:59:01 PST 2003
> ----- Message from eric.rostetter at physics.utexas.edu ---------
>
> Can't speak for Mike, but I use and enjoy php_apd (or just apd) for this
> purpose... It's free and easily available.
Yep, I use apd too since i found http://kromann.info/ who has daily build of
extensions like that for win32 :-)
> > 2) maybe we should keep a list of function calls (in CODING_STANDARDS) that
> > we should cache because they are expensive calls? This would definitely
> > help in the future.
>
> Yes, for expensive calls. But some calls are not expensive per se, just
> stuck into loops. I noticed this when performance profiling troll. Just
> like Mike, I found a bunch of for loops with count() used as the limit.
I can only do profiling based on the number of times a function is called, I
can't tell how expensive a function is because the timing stuff in apd hasn't
been completed for win32 yet.
I would be interested to see the list sorted by time for someone's portal page
just so i have an idea of times.
Here's my top function 300 calls on my portal.php if anyone's interested:
http://www.graftonhall.co.nz/temp/top300.txt
- mike :-)
More information about the dev
mailing list