Posted by Andy Hassall on 08/21/06 23:23
On 21 Aug 2006 15:50:59 -0700, "lawrence k" <lkrubner@geocities.com> wrote:
>The following function is way too slow. If anyone has any suggestions
>about how to speed it up, I'd be grateful for them.
Nobody can run your code as posted, so you have to do some work first. Find
which bits of your code are slow, and start drilling down into the definitions.
You can time sections of code with http://uk.php.net/microtime
Or perhaps:
http://pear.php.net/package/Benchmark/docs/1.2.6/Benchmark/Benchmark_Profiler.html
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|