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

Overall Summary
Total Incl. Wall Time (microsec):6,530,045 microsecs
Total Incl. MemUse (bytes):37,042,400 bytes
Total Incl. PeakMemUse (bytes):37,583,888 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% 2,953 0.0% 2,953 0.0% 112,521,016 303.8% 112,521,016 303.8% 179,296 0.5% 179,296 0.5%
get_defined_functions 144 0.0% 65,209 1.0% 65,209 1.0% 71,472,832 192.9% 71,472,832 192.9% 3,468,104 9.2% 3,468,104 9.2%
array_merge 18,665 0.5% 17,217 0.3% 17,217 0.3% 51,249,456 138.4% 51,249,456 138.4% 94,624 0.3% 94,624 0.3%
main() 1 0.0% 6,530,045 100.0% 29 0.0% 37,042,400 100.0% 6,968 0.0% 37,583,888 100.0% 6,232 0.0%
run_init::drupal8/index.php 1 0.0% 6,529,988 100.0% 23 0.0% 37,027,440 100.0% 3,872 0.0% 37,574,440 100.0% 2,440 0.0%
Drupal\Core\DrupalKernel::handle 1 0.0% 6,496,362 99.5% 8 0.0% 36,408,856 98.3% 1,760 0.0% 36,970,992 98.4% 144 0.0%
Stack\StackedHttpKernel::handle 1 0.0% 6,482,988 99.3% 3 0.0% 35,233,696 95.1% 1,080 0.0% 34,944,432 93.0% 0 0.0%
Drupal\Core\StackMiddleware\NegotiationMiddleware::handle 1 0.0% 6,482,985 99.3% 13 0.0% 35,232,616 95.1% 2,280 0.0% 34,944,432 93.0% 0 0.0%
Drupal\Core\StackMiddleware\ReverseProxyMiddleware::handle 1 0.0% 6,482,711 99.3% 5 0.0% 35,169,944 94.9% 1,400 0.0% 34,944,432 93.0% 0 0.0%
Drupal\page_cache\StackMiddleware\PageCache::handle 1 0.0% 6,482,706 99.3% 6 0.0% 35,167,856 94.9% 2,040 0.0% 34,944,432 93.0% 0 0.0%
Drupal\page_cache\StackMiddleware\PageCache::lookup 1 0.0% 6,482,487 99.3% 16 0.0% 35,088,944 94.7% 2,880 0.0% 34,944,432 93.0% 0 0.0%
Drupal\page_cache\StackMiddleware\PageCache::fetch 1 0.0% 6,482,110 99.3% 25 0.0% 35,036,664 94.6% -904 -0.0% 34,944,432 93.0% 0 0.0%
Drupal\Core\StackMiddleware\KernelPreHandle::handle 1 0.0% 6,477,773 99.2% 6 0.0% 35,020,016 94.5% 1,824 0.0% 34,944,432 93.0% 504 0.0%
Drupal\Core\StackMiddleware\Session::handle 1 0.0% 6,475,184 99.2% 19 0.0% 34,366,336 92.8% 2,928 0.0% 34,766,976 92.5% 368 0.0%
Symfony\Component\HttpKernel\HttpKernel::handle 1 0.0% 6,474,200 99.1% 3 0.0% 34,090,960 92.0% 1,472 0.0% 34,459,040 91.7% 0 0.0%
Symfony\Component\HttpKernel\HttpKernel::handleRaw 1 0.0% 6,474,197 99.1% 52 0.0% 34,089,488 92.0% 1,064 0.0% 34,459,040 91.7% 2,080 0.0%
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch 6 0.0% 6,456,097 98.9% 232 0.0% 30,542,248 82.5% 29,296 0.1% 31,107,248 82.8% 9,656 0.0%
Drupal\Core\EventSubscriber\MainContentViewSubscriber::onViewRenderArray 1 0.0% 6,404,790 98.1% 18 0.0% 26,729,736 72.2% 3,224 0.0% 27,485,216 73.1% 1,416 0.0%
Drupal\Core\Render\MainContent\HtmlRenderer::renderResponse 1 0.0% 6,402,901 98.1% 180 0.0% 26,259,032 70.9% -230,400 -0.6% 27,031,160 71.9% 456 0.0%
array_keys 5,137 0.1% 9,114 0.1% 9,114 0.1% 23,564,400 63.6% 23,564,400 63.6% 268,440 0.7% 268,440 0.7%
Drupal\Core\Theme\Registry::get 72 0.0% 4,758,159 72.9% 938 0.0% 22,765,880 61.5% -160 -0.0% 8,234,064 21.9% 1,352 0.0%
Drupal\Core\Theme\Registry::build 72 0.0% 4,280,266 65.5% 9,708 0.1% 22,750,664 61.4% -423,736 -1.1% 8,186,976 21.8% 800 0.0%
Drupal\Core\Theme\Registry::processExtension 1,872 0.0% 3,901,604 59.7% 722,765 11.1% 22,678,480 61.2% -59,556,704 -160.8% 5,486,584 14.6% 410,664 1.1%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare 1 0.0% 1,130,588 17.3% 65 0.0% 19,272,432 52.0% -14,576 -0.0% 19,392,584 51.6% 6,264 0.0%
Drupal\Core\Render\Renderer::render 4 0.0% 6,223,676 95.3% 6 0.0% 16,162,712 43.6% 2,656 0.0% 18,143,664 48.3% 984 0.0%
Drupal\Core\Render\Renderer::doRender 4 0.0% 6,223,670 95.3% 197 0.0% 16,160,056 43.6% 2,648 0.0% 18,142,680 48.3% 2,456 0.0%
token_get_all 612 0.0% 5,234 0.1% 5,234 0.1% 13,912,960 37.6% 13,912,960 37.6% 540,016 1.4% 540,016 1.4%
spl_autoload_call 688 0.0% 37,946 0.6% 837 0.0% 13,645,312 36.8% 203,016 0.5% 7,894,776 21.0% 80,176 0.2%
Composer\Autoload\includeFile 614 0.0% 24,764 0.4% 2,135 0.0% 13,437,272 36.3% 166,648 0.4% 7,681,440 20.4% 146,088 0.4%
Doctrine\Common\Annotations\TokenParser::__construct 306 0.0% 6,322 0.1% 1,088 0.0% 13,437,160 36.3% -476,456 -1.3% 541,752 1.4% 1,544 0.0%
Composer\Autoload\ClassLoader::loadClass 687 0.0% 37,096 0.6% 1,552 0.0% 13,428,240 36.3% -105,144 -0.3% 7,800,768 20.8% 1,592 0.0%
Drupal\Core\Utility\ThemeRegistry::__construct 36 0.0% 5,080,043 77.8% 4,819 0.1% 12,898,472 34.8% -906,832 -2.4% 8,241,216 21.9% 1,056 0.0%
Drupal\Core\Utility\ThemeRegistry::initializeRegistry 72 0.0% 4,773,897 73.1% 13,096 0.2% 12,600,080 34.0% -13,157,288 -35.5% 8,234,608 21.9% 192 0.0%
Drupal\Core\Theme\ThemeManager::render 5 0.0% 6,128,303 93.8% 10 0.0% 11,480,328 31.0% 2,200 0.0% 13,571,768 36.1% 560 0.0%
Drupal\Core\Theme\ThemeManager::theme 5 0.0% 6,128,293 93.8% 988 0.0% 11,478,128 31.0% -658,744 -1.8% 13,571,208 36.1% 776 0.0%
Drupal\Core\Database\Statement::execute 1,267 0.0% 1,301,963 19.9% 7,668 0.1% 10,402,376 28.1% 1,864 0.0% 3,195,208 8.5% 0 0.0%
PDOStatement::execute 1,267 0.0% 1,294,284 19.8% 1,294,284 19.8% 10,398,520 28.1% 10,398,520 28.1% 3,195,208 8.5% 3,195,208 8.5%
Drupal\block\Plugin\DisplayVariant\BlockPageVariant::build 1 0.0% 163,321 2.5% 62 0.0% 9,739,752 26.3% -592 -0.0% 8,568,872 22.8% 1,272 0.0%
serialize 349 0.0% 70,764 1.1% 70,294 1.1% 9,297,976 25.1% 8,954,280 24.2% 2,721,600 7.2% 2,631,760 7.0%
Drupal\Core\Plugin\DefaultPluginManager::getDefinitions 1,395 0.0% 813,156 12.5% 1,589 0.0% 8,245,568 22.3% 9,512 0.0% 8,132,360 21.6% 1,600 0.0%
array_unique 19,686 0.5% 1,516 0.0% 1,516 0.0% 8,068,800 21.8% 8,068,800 21.8% 5,016 0.0% 5,016 0.0%
Drupal\Core\Plugin\Factory\ContainerFactory::createInstance 140 0.0% 143,809 2.2% 874 0.0% 7,546,600 20.4% 28,048 0.1% 6,268,352 16.7% 17,120 0.0%
Drupal\Component\Plugin\PluginManagerBase::createInstance 133 0.0% 143,766 2.2% 203 0.0% 7,493,448 20.2% 6,840 0.0% 6,274,512 16.7% 6,160 0.0%
Drupal\Core\Render\Renderer::doRender@1 15 0.0% 5,023,575 76.9% 437 0.0% 7,399,176 20.0% 17,048 0.0% 9,432,304 25.1% 2,616 0.0%
Drupal\Core\Entity\EntityStorageBase::loadMultiple 66 0.0% 135,697 2.1% 713 0.0% 7,001,792 18.9% -34,984 -0.1% 5,837,376 15.5% 7,440 0.0%
twig_render_template 5 0.0% 4,668,164 71.5% 142 0.0% 6,986,616 18.9% -89,976 -0.2% 7,897,808 21.0% 0 0.0%
Drupal\Core\Plugin\DefaultPluginManager::findDefinitions 22 0.0% 730,999 11.2% 2,104 0.0% 6,976,072 18.8% 129,568 0.3% 6,692,736 17.8% 0 0.0%
file_scan_directory@1 504 0.0% 77,815 1.2% 14,055 0.2% 6,664,360 18.0% -3,534,032 -9.5% 0 0.0% 0 0.0%
call_user_func_array 159 0.0% 236,749 3.6% 402 0.0% 6,653,624 18.0% 98,536 0.3% 5,355,736 14.3% 28,128 0.1%
file_scan_directory 144 0.0% 91,811 1.4% 6,874 0.1% 6,628,672 17.9% -1,113,544 -3.0% 0 0.0% 0 0.0%
preg_replace 19,008 0.5% 6,100 0.1% 6,100 0.1% 6,435,032 17.4% 6,435,032 17.4% 282,344 0.8% 282,344 0.8%
preg_match 51,896 1.3% 58,285 0.9% 58,285 0.9% 6,375,336 17.2% 6,375,336 17.2% 107,400 0.3% 107,400 0.3%
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator::getDefinitions 22 0.0% 712,620 10.9% 117 0.0% 6,302,488 17.0% -62,464 -0.2% 6,609,704 17.6% 112 0.0%
class_exists 790 0.0% 15,665 0.2% 490 0.0% 6,188,232 16.7% 10,120 0.0% 3,456,888 9.2% 14,248 0.0%
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch@1 2 0.0% 108,934 1.7% 49 0.0% 6,047,352 16.3% 6,520 0.0% 4,868,792 13.0% 4,200 0.0%
Drupal\block\Plugin\DisplayVariant\BlockPageVariant::getActiveBlockContexts 1 0.0% 108,941 1.7% 11 0.0% 6,047,136 16.3% 1,680 0.0% 4,858,416 12.9% 1,168 0.0%
file_scan_directory@2 936 0.0% 54,524 0.8% 35,592 0.5% 5,951,984 16.1% 5,278,832 14.3% 0 0.0% 0 0.0%
Drupal\block\EventSubscriber\CurrentUserContext::onBlockActiveContext 1 0.0% 107,938 1.7% 26 0.0% 5,782,336 15.6% 3,784 0.0% 4,797,592 12.8% 1,080 0.0%
Drupal\Core\Entity\EntityStorageBase::load 5 0.0% 108,602 1.7% 14 0.0% 5,698,752 15.4% 1,936 0.0% 4,805,048 12.8% 368 0.0%
Drupal\Core\Entity\Sql\SqlContentEntityStorage::doLoadMultiple 2 0.0% 112,147 1.7% 19 0.0% 5,655,064 15.3% 2,264 0.0% 4,700,456 12.5% 0 0.0%
Drupal\Core\Entity\Sql\SqlContentEntityStorage::getFromStorage 2 0.0% 109,897 1.7% 49 0.0% 5,634,360 15.2% -24,384 -0.1% 4,700,456 12.5% 1,952 0.0%
explode 3,691 0.1% 1,848 0.0% 1,848 0.0% 5,598,888 15.1% 5,598,888 15.1% 70,888 0.2% 70,888 0.2%
Drupal\Core\Cache\DatabaseBackend::getMultiple 362 0.0% 107,285 1.6% 8,613 0.1% 5,310,248 14.3% -256,248 -0.7% 4,774,312 12.7% 345,520 0.9%
spl_autoload_call@1 313 0.0% 13,041 0.2% 398 0.0% 5,144,008 13.9% 89,872 0.2% 3,055,592 8.1% 29,264 0.1%
unserialize 307 0.0% 6,303 0.1% 5,401 0.1% 5,067,056 13.7% 4,480,888 12.1% 4,561,568 12.1% 4,189,288 11.1%
Composer\Autoload\includeFile@1 313 0.0% 8,118 0.1% 857 0.0% 5,063,744 13.7% 56,192 0.2% 2,943,400 7.8% 64,664 0.2%
Composer\Autoload\ClassLoader::loadClass@1 313 0.0% 12,643 0.2% 661 0.0% 5,054,136 13.6% -56,824 -0.2% 3,026,328 8.1% 1,392 0.0%
Symfony\Component\DependencyInjection\Container::get 6,141 0.2% 31,755 0.5% 6,174 0.1% 4,883,936 13.2% 123,760 0.3% 3,514,728 9.4% 245,240 0.7%
Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator::getDerivatives 22 0.0% 531,062 8.1% 872 0.0% 4,844,584 13.1% 44,000 0.1% 4,605,512 12.3% 0 0.0%
Drupal\Core\Template\TwigEnvironment::loadTemplate 35 0.0% 185,396 2.8% 541 0.0% 4,742,112 12.8% -15,080 -0.0% 2,697,144 7.2% 0 0.0%
Drupal\Core\Plugin\DefaultPluginManager::getDefinition 503 0.0% 135,607 2.1% 646 0.0% 4,703,504 12.7% 9,224 0.0% 4,710,808 12.5% 12,552 0.0%
twig_theme 144 0.0% 3,018,853 46.2% 1,214 0.0% 4,588,200 12.4% -15,464 -0.0% 3,770,120 10.0% 0 0.0%
drupal_find_theme_templates 144 0.0% 1,485,436 22.7% 1,331,597 20.4% 4,580,480 12.4% -116,008,648 -313.2% 0 0.0% 0 0.0%
Twig_Node::getIterator 8,575 0.2% 5,788 0.1% 5,681 0.1% 4,416,016 11.9% 3,348,168 9.0% 217,768 0.6% 88,704 0.2%
Drupal\Core\Cache\DatabaseBackend::prepareItem 477 0.0% 27,059 0.4% 2,376 0.0% 4,346,480 11.7% -595,440 -1.6% 4,313,280 11.5% 560 0.0%
Twig_Environment::parse 20 0.0% 112,453 1.7% 79 0.0% 4,206,272 11.4% 2,144 0.0% 1,616,824 4.3% 1,560 0.0%
Twig_Parser::parse 20 0.0% 112,317 1.7% 571 0.0% 4,182,584 11.3% -44,840 -0.1% 1,593,528 4.2% 9,104 0.0%
call_user_func 240 0.0% 103,811 1.6% 398 0.0% 4,164,256 11.2% 18,264 0.0% 2,627,032 7.0% 2,792 0.0%
Drupal\Core\Render\Renderer::render@1 16 0.0% 4,755,533 72.8% 31 0.0% 4,108,920 11.1% 1,976 0.0% 5,643,640 15.0% 0 0.0%
Twig_Environment::compileSource 20 0.0% 177,737 2.7% 1,012 0.0% 3,809,904 10.3% -1,828,624 -4.9% 2,302,736 6.1% 864 0.0%
Twig_Template::render 5 0.0% 4,593,121 70.3% 34 0.0% 3,762,160 10.2% 2,512 0.0% 5,643,640 15.0% 0 0.0%
Drupal\Core\Cache\DatabaseBackend::get 323 0.0% 95,058 1.5% 1,244 0.0% 3,735,840 10.1% -17,976 -0.0% 3,269,216 8.7% 1,912 0.0%
Twig_Template::display 5 0.0% 4,593,073 70.3% 36 0.0% 3,732,440 10.1% 1,880 0.0% 5,643,640 15.0% 0 0.0%
Drupal\Component\Plugin\LazyPluginCollection::get 97 0.0% 60,006 0.9% 66 0.0% 3,726,760 10.1% 4,368 0.0% 3,594,208 9.6% 984 0.0%
Twig_Template::displayWithErrorHandling 5 0.0% 4,593,006 70.3% 13 0.0% 3,721,664 10.0% 6,792 0.0% 5,643,640 15.0% 0 0.0%
Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass 384 0.0% 8,317 0.1% 634 0.0% 3,704,656 10.0% 3,472 0.0% 2,124,168 5.7% 2,240 0.0%
Drupal\Core\Template\TwigExtension::escapeFilter 34 0.0% 4,592,330 70.3% 292 0.0% 3,651,416 9.9% -199,752 -0.5% 5,643,640 15.0% 0 0.0%
Drupal\Core\Entity\Entity::access 12 0.0% 57,983 0.9% 66 0.0% 3,622,032 9.8% 2,840 0.0% 3,432,328 9.1% 1,096 0.0%
Drupal\Core\Render\Renderer::doRender@2 27 0.0% 3,597,577 55.1% 762 0.0% 3,606,504 9.7% -13,960 -0.0% 4,252,488 11.3% 0 0.0%
Drupal\block\BlockRepository::getVisibleBlocksPerRegion 1 0.0% 53,107 0.8% 103 0.0% 3,582,752 9.7% -16,616 -0.0% 3,603,288 9.6% 2,576 0.0%
Symfony\Component\Yaml\Parser::parse 111 0.0% 551,147 8.4% 12,441 0.2% 3,570,208 9.6% -2,306,936 -6.2% 864,752 2.3% 4,240 0.0%
Drupal\Core\Entity\EntityAccessControlHandler::access 12 0.0% 57,493 0.9% 291 0.0% 3,543,200 9.6% -10,416 -0.0% 3,386,280 9.0% 5,912 0.0%
Drupal\views\Routing\ViewPageController::handle 1 0.0% 49,245 0.8% 23 0.0% 3,396,360 9.2% 4,392 0.0% 3,299,632 8.8% 1,312 0.0%
Symfony\Component\Yaml\Parser::parse@1 730 0.0% 443,887 6.8% 34,068 0.5% 3,381,616 9.1% -2,523,352 -6.8% 622,000 1.7% 6,816 0.0%
Drupal\block\BlockAccessControlHandler::checkAccess 11 0.0% 49,343 0.8% 137 0.0% 3,323,744 9.0% -1,008 -0.0% 3,361,288 8.9% 3,312 0.0%
Drupal\Core\Plugin\DefaultSingleLazyPluginCollection::initializePlugin 12 0.0% 54,625 0.8% 32 0.0% 3,242,096 8.8% 2,456 0.0% 3,175,920 8.5% 1,408 0.0%
Drupal\block\Entity\Block::getPlugin 38 0.0% 48,635 0.7% 83 0.0% 3,195,824 8.6% 3,512 0.0% 3,248,968 8.6% 1,992 0.0%
preg_grep 34,560 0.9% 1,452,483 22.2% 1,452,483 22.2% 3,158,520 8.5% 3,158,520 8.5% 5,320 0.0% 5,320 0.0%
comment_entity_storage_load 1 0.0% 83,504 1.3% 9 0.0% 3,143,496 8.5% 2,040 0.0% 3,180,824 8.5% 576 0.0%
Drupal\block\BlockPluginCollection::get 38 0.0% 48,236 0.7% 55 0.0% 3,115,760 8.4% 1,024 0.0% 3,178,632 8.5% 872 0.0%
[ display all ]