PHP code execution time

后端 未结 9 977
既然无缘
既然无缘 2021-02-14 14:13

How to find my code execution time?

I am using the below snippet.

I am not happy with that?

list ($msec, $sec) = explode(\' \', microtime());
$mi         


        
9条回答
  •  独厮守ぢ
    2021-02-14 14:26

    If you want to profile your script, use XDebug + {K,Win}Cachegrind, these are free tools that provide a visual map of your code's execution.

提交回复
热议问题