@
@
@query2018-11-29 14:41:37
PHP
@query, 2018-11-29 14:41:37

Is there a tool that allows you to measure the speed of a php script in different parts of the code?

Is there a tool that allows you to measure the speed of a php script in different parts of the code? I don't want to reinvent the wheel. Maybe there is a ready-made tool or a ready-made approach. We measure the speed of requests, but the brakes are somewhere in the code.
Script completed in: 0.89273s
Template created in: 0.00188s
Requests: 23
Completed in: 0.00533s
RAM consumption 3.76Mb
Maybe there is a tool that allows you to measure the speed of a php script in different parts of the code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2018-11-29
_

https://xdebug.org/docs/execution_trace
Writes a trace of calls over time, there are also analyzers of these outputs.
There is also php.net/manual/ru/book.xhprof.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question