Reply to Re: my code is too slow, how do I speed it up?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация