Apache, can you see the detailed processing records?

I run a request locally, and Waiting takes more than 2 seconds. Through xdebug tracking php, I found that php only took 300ms. It is speculated that apache took up the most time. How to check how apache is handled
I am the windows system. I read it with Process Monitor. It seems that this
clipboard.png part takes more time, but I don"t understand it. I don"t know what happened
project is done with yii2. This is because the response time is unusually slow after running the index.php of one of the modules. However, the speed of other modules is normal, and it is even normal to move the code of this module to other modules and then access it.

Aug.19,2021

strace -iT -p pid

apache is multithreaded under win. It is recommended to use apache to access static files.

update--
Select select columns, in the options of Process Monitor to open

clipboard.png

as shown in the figure, compare the operations in completion time with the previous operation with a longer time interval


is the slow response caused by the register_shutdown_function method used by the framework and then cyclically inserted into the database

Menu