How do you know that "holding" page?

Hi, doing a website for the TV series, it was fine yesterday. Loaded fast wasn't any lockups. The morning began a terrible friezes. I thought that hosting, but moving the site to localhost the story continued. At the same time long downloaded several sections, although the scripts connected to all the pages the same.

Load one page on localhost: screen
Small table results: SKRIN

When the tests on the hosting delay increases approximately 3 times. Who faced such problem help.
September 26th 19 at 07:24
2 answers
September 26th 19 at 07:26
Half an hour ago already answered a similar question.
At the very start put
define('TIMESTART', microtime(true));

and then scatter on the code
echo 'Mark 1 - '.round( (microtime(true) - TIMESTART), 5).' sec'.PHP_EOL;
echo 'Label 2 - '.round( (microtime(true) - TIMESTART), 5).' sec'.PHP_EOL;

and when you access the page you have something like:
Mark 1 - 0.003 sec (from start run)
Mark 2 - 4.531 sec (from start run)
Mark 3 - 4.582 sec (from start run)

of which will become clear between mark 1 and mark 2 that was treated with 4.5 seconds.
Narrow the search space by shifting the labels until you find the problem.
September 26th 19 at 07:28
The plugin P3 (Plugin Performance Profiler) check and check. Usually due to poorly written themes or widgets in sidebars that happens.

Find more questions by tags CSSHTMLPHP