Run Report
Run #553ba8c2c449d: XHProf Run (Namespace=drupal-perf-lauriii)
Tip
Click a function name below to drill down.

Overall Summary
Total Incl. Wall Time (microsec):6,619,118 microsecs
Total Incl. MemUse (bytes):38,856,944 bytes
Total Incl. PeakMemUse (bytes):39,402,536 bytes
Number of Function Calls:3,950,650


[View Full Callgraph]


Displaying top 100 functions: Sorted by Incl. MemUse (bytes) [ display all ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Excl. Wall Time
(microsec)
EWall%Incl.
MemUse
(bytes)
IMemUse%Excl.
MemUse
(bytes)
EMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%Excl.
PeakMemUse
(bytes)
EPeakMemUse%
str_replace 884,874 22.4% 3,395 0.1% 3,395 0.1% 112,749,472 290.2% 112,749,472 290.2% 182,488 0.5% 182,488 0.5%
get_defined_functions 144 0.0% 67,486 1.0% 67,486 1.0% 71,566,672 184.2% 71,566,672 184.2% 3,513,104 8.9% 3,513,104 8.9%
array_merge 18,665 0.5% 18,634 0.3% 18,634 0.3% 51,140,600 131.6% 51,140,600 131.6% 88,504 0.2% 88,504 0.2%
main() 1 0.0% 6,619,118 100.0% 32 0.0% 38,856,944 100.0% 6,896 0.0% 39,402,536 100.0% 6,232 0.0%
run_init::drupal8/index.php 1 0.0% 6,619,049 100.0% 24 0.0% 38,841,952 100.0% 3,872 0.0% 39,393,088 100.0% 2,440 0.0%
Drupal\Core\DrupalKernel::handle 1 0.0% 6,584,371 99.5% 6 0.0% 38,222,104 98.4% 1,776 0.0% 38,850,584 98.6% 480 0.0%
Stack\StackedHttpKernel::handle 1 0.0% 6,576,370 99.4% 3 0.0% 35,379,048 91.0% 1,104 0.0% 36,006,408 91.4% 88 0.0%
Drupal\Core\StackMiddleware\NegotiationMiddleware::handle 1 0.0% 6,576,367 99.4% 12 0.0% 35,377,944 91.0% 2,296 0.0% 36,006,320 91.4% 1,088 0.0%
Drupal\Core\StackMiddleware\ReverseProxyMiddleware::handle 1 0.0% 6,576,097 99.4% 4 0.0% 35,315,256 90.9% 1,400 0.0% 35,943,416 91.2% 464 0.0%
Drupal\page_cache\StackMiddleware\PageCache::handle 1 0.0% 6,576,092 99.3% 5 0.0% 35,313,168 90.9% 2,040 0.0% 35,942,352 91.2% 1,168 0.0%
Drupal\page_cache\StackMiddleware\PageCache::lookup 1 0.0% 6,575,872 99.3% 16 0.0% 35,234,280 90.7% 2,904 0.0% 35,865,864 91.0% 712 0.0%
Drupal\page_cache\StackMiddleware\PageCache::fetch 1 0.0% 6,575,524 99.3% 26 0.0% 35,181,928 90.5% -904 -0.0% 35,818,168 90.9% 160 0.0%
Drupal\Core\StackMiddleware\KernelPreHandle::handle 1 0.0% 6,571,202 99.3% 5 0.0% 35,165,296 90.5% 1,824 0.0% 35,818,008 90.9% 832 0.0%
Drupal\Core\StackMiddleware\Session::handle 1 0.0% 6,568,563 99.2% 17 0.0% 34,505,320 88.8% 2,912 0.0% 35,154,280 89.2% 368 0.0%
Symfony\Component\HttpKernel\HttpKernel::handle 1 0.0% 6,567,594 99.2% 3 0.0% 34,229,472 88.1% 1,472 0.0% 34,844,192 88.4% 0 0.0%
Symfony\Component\HttpKernel\HttpKernel::handleRaw 1 0.0% 6,567,591 99.2% 55 0.0% 34,228,000 88.1% 1,080 0.0% 34,844,192 88.4% 2,192 0.0%
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch 6 0.0% 6,549,444 98.9% 226 0.0% 30,681,072 79.0% 29,336 0.1% 31,322,680 79.5% 9,656 0.0%
Drupal\Core\EventSubscriber\MainContentViewSubscriber::onViewRenderArray 1 0.0% 6,498,361 98.2% 17 0.0% 26,854,472 69.1% 3,224 0.0% 27,686,936 70.3% 1,416 0.0%
Drupal\Core\Render\MainContent\HtmlRenderer::renderResponse 1 0.0% 6,495,945 98.1% 186 0.0% 26,304,312 67.7% -230,552 -0.6% 27,156,320 68.9% 456 0.0%
array_keys 5,137 0.1% 10,415 0.2% 10,415 0.2% 23,615,448 60.8% 23,615,448 60.8% 273,856 0.7% 273,856 0.7%
Drupal\Core\Theme\Registry::get 72 0.0% 4,845,824 73.2% 951 0.0% 23,476,024 60.4% -160 -0.0% 8,553,192 21.7% 1,352 0.0%
Drupal\Core\Theme\Registry::build 72 0.0% 4,357,568 65.8% 10,072 0.2% 23,460,192 60.4% -382,648 -1.0% 8,482,936 21.5% 800 0.0%
Drupal\Core\Theme\Registry::processExtension 1,872 0.0% 3,973,337 60.0% 747,989 11.3% 23,348,256 60.1% -58,864,760 -151.5% 5,523,512 14.0% 353,640 0.9%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare 1 0.0% 1,132,824 17.1% 67 0.0% 19,291,816 49.6% -14,648 -0.0% 19,424,184 49.3% 6,192 0.0%
Drupal\Core\Render\Renderer::render 4 0.0% 6,320,365 95.5% 7 0.0% 16,203,488 41.7% 2,664 0.0% 18,294,264 46.4% 984 0.0%
Drupal\Core\Render\Renderer::doRender 4 0.0% 6,320,358 95.5% 194 0.0% 16,200,824 41.7% 2,536 0.0% 18,293,280 46.4% 2,456 0.0%
token_get_all 612 0.0% 5,234 0.1% 5,234 0.1% 13,913,824 35.8% 13,913,824 35.8% 542,104 1.4% 542,104 1.4%
spl_autoload_call 688 0.0% 38,194 0.6% 844 0.0% 13,725,216 35.3% 202,856 0.5% 8,614,080 21.9% 93,600 0.2%
Composer\Autoload\includeFile 614 0.0% 25,024 0.4% 2,066 0.0% 13,517,272 34.8% 165,456 0.4% 8,358,784 21.2% 162,152 0.4%
Composer\Autoload\ClassLoader::loadClass 687 0.0% 37,335 0.6% 1,601 0.0% 13,508,304 34.8% -105,136 -0.3% 8,506,648 21.6% 1,784 0.0%
Doctrine\Common\Annotations\TokenParser::__construct 306 0.0% 6,315 0.1% 1,081 0.0% 13,438,008 34.6% -476,472 -1.2% 543,840 1.4% 1,544 0.0%
Drupal\Core\Utility\ThemeRegistry::__construct 36 0.0% 5,170,739 78.1% 4,837 0.1% 13,287,960 34.2% -920,936 -2.4% 8,560,344 21.7% 1,056 0.0%
Drupal\Core\Utility\ThemeRegistry::initializeRegistry 72 0.0% 4,862,101 73.5% 13,389 0.2% 12,972,288 33.4% -13,513,784 -34.8% 8,553,736 21.7% 192 0.0%
Drupal\Core\Theme\ThemeManager::render 5 0.0% 6,226,330 94.1% 12 0.0% 11,520,048 29.6% 2,200 0.0% 13,710,344 34.8% 560 0.0%
Drupal\Core\Theme\ThemeManager::theme 5 0.0% 6,226,318 94.1% 988 0.0% 11,517,848 29.6% -676,488 -1.7% 13,709,784 34.8% 776 0.0%
Drupal\Core\Database\Statement::execute 1,267 0.0% 1,313,195 19.8% 7,139 0.1% 10,421,784 26.8% 1,864 0.0% 3,209,752 8.1% 1,880 0.0%
PDOStatement::execute 1,267 0.0% 1,306,037 19.7% 1,306,037 19.7% 10,417,928 26.8% 10,417,928 26.8% 3,206,160 8.1% 3,206,160 8.1%
Drupal\block\Plugin\DisplayVariant\BlockPageVariant::build 1 0.0% 159,868 2.4% 58 0.0% 9,744,376 25.1% -592 -0.0% 8,543,416 21.7% 1,272 0.0%
serialize 349 0.0% 72,920 1.1% 72,432 1.1% 9,297,912 23.9% 8,954,216 23.0% 2,953,272 7.5% 2,863,352 7.3%
Drupal\Core\Plugin\DefaultPluginManager::getDefinitions 1,395 0.0% 813,256 12.3% 1,695 0.0% 8,250,584 21.2% 9,512 0.0% 8,186,016 20.8% 1,600 0.0%
array_unique 19,686 0.5% 1,640 0.0% 1,640 0.0% 8,088,936 20.8% 8,088,936 20.8% 5,016 0.0% 5,016 0.0%
Drupal\Core\Plugin\Factory\ContainerFactory::createInstance 140 0.0% 143,236 2.2% 869 0.0% 7,547,960 19.4% 27,968 0.1% 6,279,512 15.9% 17,344 0.0%
Drupal\Component\Plugin\PluginManagerBase::createInstance 133 0.0% 143,171 2.2% 184 0.0% 7,494,776 19.3% 6,808 0.0% 6,285,672 16.0% 6,160 0.0%
Drupal\Core\Render\Renderer::doRender@1 15 0.0% 5,113,198 77.2% 444 0.0% 7,442,936 19.2% 17,064 0.0% 9,667,880 24.5% 2,616 0.0%
twig_render_template 5 0.0% 4,753,625 71.8% 147 0.0% 7,026,008 18.1% -90,000 -0.2% 8,014,328 20.3% 0 0.0%
Drupal\Core\Entity\EntityStorageBase::loadMultiple 66 0.0% 130,227 2.0% 722 0.0% 7,003,640 18.0% -34,992 -0.1% 5,819,136 14.8% 7,440 0.0%
Drupal\Core\Plugin\DefaultPluginManager::findDefinitions 22 0.0% 732,857 11.1% 2,077 0.0% 6,978,520 18.0% 129,568 0.3% 6,697,384 17.0% 0 0.0%
file_scan_directory@1 504 0.0% 80,345 1.2% 14,569 0.2% 6,692,640 17.2% -3,514,368 -9.0% 0 0.0% 0 0.0%
call_user_func_array 159 0.0% 239,930 3.6% 409 0.0% 6,664,120 17.2% 98,528 0.3% 5,500,344 14.0% 28,248 0.1%
file_scan_directory 144 0.0% 95,157 1.4% 7,377 0.1% 6,659,328 17.1% -1,115,288 -2.9% 0 0.0% 0 0.0%
preg_replace 19,008 0.5% 6,125 0.1% 6,125 0.1% 6,454,200 16.6% 6,454,200 16.6% 283,768 0.7% 283,768 0.7%
preg_match 51,896 1.3% 59,195 0.9% 59,195 0.9% 6,382,368 16.4% 6,382,368 16.4% 106,984 0.3% 106,984 0.3%
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator::getDefinitions 22 0.0% 714,600 10.8% 127 0.0% 6,305,072 16.2% -62,600 -0.2% 6,614,392 16.8% 112 0.0%
class_exists 790 0.0% 15,381 0.2% 480 0.0% 6,190,720 15.9% 10,168 0.0% 3,460,152 8.8% 14,184 0.0%
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch@1 2 0.0% 105,254 1.6% 48 0.0% 6,051,544 15.6% 6,520 0.0% 4,843,568 12.3% 4,112 0.0%
Drupal\block\Plugin\DisplayVariant\BlockPageVariant::getActiveBlockContexts 1 0.0% 105,259 1.6% 12 0.0% 6,050,984 15.6% 1,648 0.0% 4,833,152 12.3% 1,168 0.0%
file_scan_directory@2 936 0.0% 55,702 0.8% 36,193 0.5% 5,956,208 15.3% 5,282,912 13.6% 0 0.0% 0 0.0%
Drupal\block\EventSubscriber\CurrentUserContext::onBlockActiveContext 1 0.0% 104,278 1.6% 23 0.0% 5,784,184 14.9% 3,784 0.0% 4,772,488 12.1% 1,080 0.0%
Drupal\Core\Entity\EntityStorageBase::load 5 0.0% 104,931 1.6% 11 0.0% 5,700,608 14.7% 1,920 0.0% 4,785,272 12.1% 368 0.0%
Drupal\Core\Entity\Sql\SqlContentEntityStorage::doLoadMultiple 2 0.0% 108,324 1.6% 16 0.0% 5,656,944 14.6% 2,264 0.0% 4,675,568 11.9% 0 0.0%
Drupal\Core\Entity\Sql\SqlContentEntityStorage::getFromStorage 2 0.0% 106,263 1.6% 71 0.0% 5,636,224 14.5% -24,384 -0.1% 4,675,568 11.9% 1,952 0.0%
explode 3,691 0.1% 1,848 0.0% 1,848 0.0% 5,604,136 14.4% 5,604,136 14.4% 70,464 0.2% 70,464 0.2%
Drupal\Core\Cache\DatabaseBackend::getMultiple 362 0.0% 113,938 1.7% 9,285 0.1% 5,312,536 13.7% -256,304 -0.7% 4,933,840 12.5% 373,320 0.9%
spl_autoload_call@1 313 0.0% 13,065 0.2% 404 0.0% 5,145,136 13.2% 89,848 0.2% 3,338,344 8.5% 33,632 0.1%
unserialize 307 0.0% 6,360 0.1% 5,511 0.1% 5,069,240 13.0% 4,483,520 11.5% 4,668,168 11.8% 4,290,696 10.9%
Composer\Autoload\includeFile@1 313 0.0% 8,088 0.1% 848 0.0% 5,064,920 13.0% 56,096 0.1% 3,196,976 8.1% 74,312 0.2%
Composer\Autoload\ClassLoader::loadClass@1 313 0.0% 12,661 0.2% 659 0.0% 5,055,288 13.0% -56,776 -0.1% 3,304,712 8.4% 1,712 0.0%
Symfony\Component\DependencyInjection\Container::get 6,141 0.2% 32,309 0.5% 6,247 0.1% 5,003,320 12.9% 123,656 0.3% 4,413,912 11.2% 248,624 0.6%
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator::getDerivatives 22 0.0% 533,078 8.1% 872 0.0% 4,844,720 12.5% 44,064 0.1% 4,598,856 11.7% 0 0.0%
Drupal\Core\Template\TwigEnvironment::loadTemplate 35 0.0% 183,506 2.8% 597 0.0% 4,759,016 12.2% -15,096 -0.0% 2,420,520 6.1% 0 0.0%
Drupal\Core\Plugin\DefaultPluginManager::getDefinition 503 0.0% 134,961 2.0% 639 0.0% 4,706,496 12.1% 9,240 0.0% 4,735,272 12.0% 12,552 0.0%
twig_theme 144 0.0% 3,062,771 46.3% 1,274 0.0% 4,608,808 11.9% -200 -0.0% 3,835,208 9.7% 0 0.0%
drupal_find_theme_templates 144 0.0% 1,523,285 23.0% 1,363,579 20.6% 4,585,648 11.8% -116,265,864 -299.2% 0 0.0% 0 0.0%
Twig_Node::getIterator 8,575 0.2% 6,004 0.1% 5,836 0.1% 4,419,168 11.4% 3,343,568 8.6% 224,384 0.6% 90,392 0.2%
Drupal\Core\Cache\DatabaseBackend::prepareItem 477 0.0% 29,458 0.4% 2,621 0.0% 4,348,672 11.2% -595,448 -1.5% 4,416,808 11.2% 560 0.0%
Twig_Environment::parse 20 0.0% 111,859 1.7% 78 0.0% 4,225,560 10.9% 2,144 0.0% 1,608,072 4.1% 1,560 0.0%
Twig_Parser::parse 20 0.0% 111,723 1.7% 555 0.0% 4,201,872 10.8% -44,736 -0.1% 1,584,776 4.0% 9,104 0.0%
call_user_func 240 0.0% 103,820 1.6% 399 0.0% 4,169,424 10.7% 18,312 0.0% 2,665,728 6.8% 2,792 0.0%
Drupal\Core\Render\Renderer::render@1 16 0.0% 4,845,654 73.2% 33 0.0% 4,149,280 10.7% 1,976 0.0% 5,867,072 14.9% 0 0.0%
Twig_Environment::compileSource 20 0.0% 177,496 2.7% 964 0.0% 3,818,280 9.8% -1,840,736 -4.7% 2,281,120 5.8% 864 0.0%
Twig_Template::render 5 0.0% 4,680,213 70.7% 37 0.0% 3,793,464 9.8% 2,472 0.0% 5,931,496 15.1% 0 0.0%
Twig_Template::display 5 0.0% 4,680,164 70.7% 33 0.0% 3,763,792 9.7% 1,904 0.0% 5,931,496 15.1% 0 0.0%
Twig_Template::displayWithErrorHandling 5 0.0% 4,680,099 70.7% 12 0.0% 3,753,000 9.7% 6,792 0.0% 5,931,496 15.1% 0 0.0%
Drupal\Core\Cache\DatabaseBackend::get 323 0.0% 102,120 1.5% 1,211 0.0% 3,737,936 9.6% -17,984 -0.0% 3,423,112 8.7% 3,144 0.0%
Drupal\Component\Plugin\LazyPluginCollection::get 97 0.0% 60,375 0.9% 59 0.0% 3,727,584 9.6% 4,256 0.0% 3,596,208 9.1% 984 0.0%
Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass 384 0.0% 8,166 0.1% 632 0.0% 3,705,544 9.5% 3,472 0.0% 2,124,752 5.4% 2,200 0.0%
Drupal\Core\Template\TwigExtension::escapeFilter 34 0.0% 4,679,418 70.7% 281 0.0% 3,682,704 9.5% -199,720 -0.5% 5,867,072 14.9% 0 0.0%
Drupal\Core\Render\Renderer::doRender@2 27 0.0% 3,664,064 55.4% 766 0.0% 3,631,664 9.3% -13,968 -0.0% 4,398,544 11.2% 0 0.0%
Drupal\Core\Entity\Entity::access 12 0.0% 58,273 0.9% 57 0.0% 3,623,152 9.3% 2,840 0.0% 3,431,456 8.7% 1,096 0.0%
Drupal\block\BlockRepository::getVisibleBlocksPerRegion 1 0.0% 53,349 0.8% 96 0.0% 3,583,528 9.2% -16,616 -0.0% 3,602,776 9.1% 2,576 0.0%
Symfony\Component\Yaml\Parser::parse 111 0.0% 556,301 8.4% 12,508 0.2% 3,576,352 9.2% -2,307,248 -5.9% 859,760 2.2% 4,240 0.0%
Drupal\Core\Entity\EntityAccessControlHandler::access 12 0.0% 57,798 0.9% 275 0.0% 3,544,224 9.1% -10,432 -0.0% 3,385,624 8.6% 5,912 0.0%
Drupal\views\Routing\ViewPageController::handle 1 0.0% 50,320 0.8% 23 0.0% 3,397,016 8.7% 4,392 0.0% 3,407,888 8.6% 1,312 0.0%
Symfony\Component\Yaml\Parser::parse@1 730 0.0% 448,741 6.8% 34,435 0.5% 3,385,096 8.7% -2,530,016 -6.5% 620,720 1.6% 6,816 0.0%
Drupal\block\BlockAccessControlHandler::checkAccess 11 0.0% 49,877 0.8% 124 0.0% 3,324,448 8.6% -1,008 -0.0% 3,360,728 8.5% 3,312 0.0%
Drupal\Core\Plugin\DefaultSingleLazyPluginCollection::initializePlugin 12 0.0% 55,026 0.8% 30 0.0% 3,243,192 8.3% 2,408 0.0% 3,175,000 8.1% 1,408 0.0%
Drupal\block\Entity\Block::getPlugin 38 0.0% 49,165 0.7% 80 0.0% 3,196,504 8.2% 3,488 0.0% 3,247,928 8.2% 1,992 0.0%
Drupal\Core\Theme\Registry::getRuntime 36 0.0% 5,291,779 79.9% 417 0.0% 3,177,072 8.2% 28,144 0.1% 8,608,224 21.8% 1,968 0.0%
preg_grep 34,560 0.9% 1,456,997 22.0% 1,456,997 22.0% 3,157,376 8.1% 3,157,376 8.1% 5,848 0.0% 5,848 0.0%
comment_entity_storage_load 1 0.0% 80,048 1.2% 10 0.0% 3,143,504 8.1% 2,040 0.0% 3,181,760 8.1% 576 0.0%
[ display all ]