Find out where your PHP code is slowing down (Performance Issue)

前端 未结 12 727
无人共我
无人共我 2020-12-04 18:25

Here\'s my first question at SO.

I have a internal application for my company which I\'ve been recently ask to maintain. The applications is built in PHP and its fai

12条回答
  •  一整个雨季
    2020-12-04 18:44

    you can also try using the register_tick_function function in php. which tells php to call a certain function periodcally through out your code. You could then keep track of which function is currently running and the amount of time between calls. then you could see what's taking the most time. http://www.php.net/register_tick_function

提交回复
热议问题