News for hackers. Stuff that matters.
Re:PHP Profiler to optimize & speed up your applications by justindocanto on Friday January 06, 2012 @02:29AM (#3432409)
Forgive me if this is a stupid question, but what's with the sleep functions between other function calls?

EDIT: Should have clarified. I'm referring to the demo.

Re:PHP Profiler to optimize & speed up your applications by MindTwister on Friday January 06, 2012 @02:32AM (#3432420)
I believe this is simply to test/show that it actually works.
Re:PHP Profiler to optimize & speed up your applications by CWIZO on Friday January 06, 2012 @02:32AM (#3432417)
That's just the demo, so you get some numbers in the output (since it doesn't do anything otherwise).
Re:PHP Profiler to optimize & speed up your applications by stutter on Friday January 06, 2012 @08:27AM (#3433173)
as the other two stated, the sleep calls just simulate actual code running, so the profiler produces some output other than 0ms for everything.