S
S
Stadinov Denis2015-05-14 23:46:50
PHP
Stadinov Denis, 2015-05-14 23:46:50

Strange behavior of xDebug + WinCacheGrind for include_once, does anyone know what it is?

Hello!
I got a hell of a site here, it loaded more than 3 seconds.
I ran it through xDebug + WinCacheGrind, saw an unrealistic amount of reconnection through include, hastily replaced it with include_once.
Immediately, the download speed increased, but a strange pattern appeared in the logs, with new page updates, the number of included files through include_once became equal to the number of updates, although, logically, it should always be included 1 time. And the speed of the site in the logs will increase ...
Therefore, the question is, is this a logger bug or is it all the same logic in php?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
6
65536, 2015-05-15
@65536

so he still fulfills to check whether the file was included. only when it is triggered again, the matter does not go further than the check.
I would like to take this opportunity to recommend a cool profile mapper kcachegrind.sourceforge.net/html/Home.html (Linux only) is much more humane than just digging into tables

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question