Do you have a PHP profiling class?

Do you have a class that you use to measure time when a PHP script loads certain blocks of code? Could you share what YOU use?

+3
source share
5 answers

Xdebug and KCacheGrind , Not much better than that.

+4
source

Class profiling is fine, but the correct way to profile a web application would be to install xdebug. Keeps your code clean from Benchmark :: start, etc.

Xdebug - , Webgrind. Kcachegrind - .

.

Google "xdebug profiler"

" - ": -)

+1

php xdebug.

0

IDE PHP-. , , , .

0

, , , stackshots. , . ( , 100%.) , , , .

, , . , , , , , -. , , .

0

Source: https://habr.com/ru/post/1730276/


All Articles