Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don’t even need serverside debuggers or fancy instrumentation to achieve this. The function microtime() returns a timestamp in microseconds. This makes it easy for you to check the passage of time at key points during your application’s execution path.

Yes, that's just as good as a real profiler.



Obviously I'm not saying that, but it's a reasonably good method of determining how certain parts of your code perform.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: