Run Report
Run #560d8088818a3: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Overall Summary
Total Incl. Wall Time (microsec):1,840,941 microsecs
Total Incl. MemUse (bytes):43,372,176 bytes
Total Incl. PeakMemUse (bytes):59,253,664 bytes
Number of Function Calls:1,262,339


[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%
main() 1 0.0% 1,840,941 100.0% 24 0.0% 43,372,176 100.0% -5,472 -0.0% 59,253,664 100.0% 0 0.0%
run_init::d8.dev/index.php 1 0.0% 1,840,853 100.0% 54 0.0% 43,370,232 100.0% 3,632 0.0% 59,253,664 100.0% 968 0.0%
Drupal\Core\DrupalKernel::handle 1 0.0% 1,831,480 99.5% 21 0.0% 41,974,680 96.8% 4,064 0.0% 57,981,904 97.9% 1,960 0.0%
Stack\StackedHttpKernel::handle 1 0.0% 1,818,004 98.8% 3 0.0% 39,533,168 91.1% 1,096 0.0% 55,534,920 93.7% 0 0.0%
Drupal\Core\StackMiddleware\NegotiationMiddleware::handle 1 0.0% 1,818,001 98.8% 9 0.0% 39,532,072 91.1% 1,928 0.0% 55,534,920 93.7% 0 0.0%
Drupal\Core\StackMiddleware\ReverseProxyMiddleware::handle 1 0.0% 1,817,973 98.8% 5 0.0% 39,523,416 91.1% 1,432 0.0% 55,534,920 93.7% 0 0.0%
Drupal\page_cache\StackMiddleware\PageCache::handle 1 0.0% 1,817,967 98.8% 6 0.0% 39,521,280 91.1% 2,040 0.0% 55,534,920 93.7% 1,072 0.0%
Drupal\page_cache\StackMiddleware\PageCache::lookup 1 0.0% 1,817,690 98.7% 18 0.0% 39,441,376 90.9% 2,904 0.0% 55,462,752 93.6% 456 0.0%
Drupal\page_cache\StackMiddleware\PageCache::fetch 1 0.0% 1,817,598 98.7% 33 0.0% 39,421,760 90.9% -1,600 -0.0% 55,450,656 93.6% 160 0.0%
Drupal\Core\StackMiddleware\KernelPreHandle::handle 1 0.0% 1,817,312 98.7% 8 0.0% 39,407,040 90.9% 1,792 0.0% 55,450,496 93.6% 0 0.0%
Drupal\Core\Render\Renderer::executeInRenderContext 8 0.0% 1,559,046 84.7% 92 0.0% 36,472,040 84.1% 5,352 0.0% 34,766,944 58.7% 760 0.0%
Drupal\Core\StackMiddleware\Session::handle 1 0.0% 1,781,574 96.8% 27 0.0% 34,404,592 79.3% 2,944 0.0% 50,452,904 85.1% 576 0.0%
Symfony\Component\HttpKernel\HttpKernel::handle 1 0.0% 1,778,309 96.6% 11 0.0% 33,884,560 78.1% 2,048 0.0% 49,950,232 84.3% 1,248 0.0%
Symfony\Component\HttpKernel\HttpKernel::handleRaw 1 0.0% 1,778,291 96.6% 4,617 0.3% 33,880,704 78.1% -7,655,920 -17.7% 49,947,560 84.3% 1,704 0.0%
Drupal\Core\Render\SafeString::create 3,988 0.3% 3,462 0.2% 3,462 0.2% 27,246,272 62.8% 27,246,272 62.8% 2,956,440 5.0% 2,956,440 5.0%
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch 6 0.0% 1,553,818 84.4% 378 0.0% 23,487,848 54.2% 38,336 0.1% 31,238,200 52.7% 1,464 0.0%
ob_start 1,357 0.1% 161 0.0% 161 0.0% 22,498,768 51.9% 22,498,768 51.9% 228,736 0.4% 228,736 0.4%
spl_autoload_call 425 0.0% 132,834 7.2% 930 0.1% 21,510,744 49.6% -86,248 -0.2% 13,048,968 22.0% 4,384 0.0%
call_user_func_array 1,032 0.1% 246,282 13.4% 2,464 0.1% 21,006,240 48.4% 386,416 0.9% 19,122,112 32.3% 6,832 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass 412 0.0% 126,935 6.9% 6,057 0.3% 20,612,048 47.5% -533,816 -1.2% 12,046,704 20.3% 11,000 0.0%
Drupal\Core\Render\Renderer::render 10 0.0% 1,344,004 73.0% 28 0.0% 19,235,400 44.3% 3,776 0.0% 16,685,872 28.2% 0 0.0%
Drupal\Core\Render\Renderer::doRender 10 0.0% 1,343,976 73.0% 2,247 0.1% 19,231,624 44.3% -1,926,520 -4.4% 16,685,872 28.2% 627,160 1.1%
template_preprocess_select 101 0.0% 50,258 2.7% 942 0.1% 18,332,768 42.3% -45,856 -0.1% 0 0.0% 0 0.0%
form_select_options 101 0.0% 48,797 2.7% 48,779 2.6% 18,269,184 42.1% 18,267,936 42.1% 0 0.0% 0 0.0%
Drupal\Core\Form\FormBuilder::buildForm 2 0.0% 216,783 11.8% 84 0.0% 17,327,856 40.0% 12,424 0.0% 17,394,320 29.4% 3,048 0.0%
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::Drupal\Core\EventSubscriber\{closure} 1 0.0% 215,618 11.7% 7 0.0% 17,324,832 39.9% 48 0.0% 18,100,528 30.5% 136 0.0%
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext 1 0.0% 215,611 11.7% 41 0.0% 17,324,784 39.9% 3,712 0.0% 18,100,392 30.5% 160 0.0%
call_user_func_array@1 4 0.0% 215,351 11.7% 16 0.0% 17,295,048 39.9% 4,688 0.0% 18,075,024 30.5% 664 0.0%
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::Drupal\Core\EventSubscriber\{closure}@1 1 0.0% 215,337 11.7% 4 0.0% 17,289,640 39.9% 704 0.0% 18,075,072 30.5% 48 0.0%
Drupal\Core\Controller\FormController::getContentResult 1 0.0% 215,328 11.7% 224 0.0% 17,287,304 39.9% -116,744 -0.3% 18,074,360 30.5% 976 0.0%
Drupal\Core\Render\MainContent\HtmlRenderer::Drupal\Core\Render\MainContent\{closure} 3 0.0% 1,317,776 71.6% 13 0.0% 17,148,976 39.5% 1,808 0.0% 16,208,536 27.4% 0 0.0%
Drupal\Core\Render\Renderer::doRender@1 40 0.0% 1,331,945 72.4% 3,331 0.2% 15,822,264 36.5% -46,624 -0.1% 13,540,136 22.9% 0 0.0%
Drupal\Core\Render\MainContent\HtmlRenderer::renderResponse 1 0.0% 1,348,613 73.3% 56 0.0% 15,037,232 34.7% 2,240 0.0% 16,208,536 27.4% 0 0.0%
str_replace 3,389 0.3% 8,405 0.5% 8,404 0.5% 14,513,464 33.5% 14,512,816 33.5% 578,544 1.0% 578,544 1.0%
call_user_func_array@2 1,036 0.1% 108,192 5.9% 2,053 0.1% 13,706,072 31.6% -19,960 -0.0% 12,008,520 20.3% 43,400 0.1%
Drupal\Core\Template\TwigExtension::escapeFilter@1 42,143 3.3% 375,415 20.4% 132,199 7.2% 13,067,816 30.1% -5,496,928 -12.7% 3,804,784 6.4% 8,008 0.0%
Drupal\Core\Render\Renderer::doRender@2 22 0.0% 1,295,926 70.4% 1,668 0.1% 12,935,768 29.8% -1,012,632 -2.3% 11,937,776 20.1% 841,144 1.4%
Drupal\Core\EventSubscriber\MainContentViewSubscriber::onViewRenderArray 1 0.0% 1,349,742 73.3% 145 0.0% 12,094,832 27.9% -3,053,872 -7.0% 16,208,536 27.4% 0 0.0%
Drupal\Component\DependencyInjection\Container::createService 82 0.0% 85,503 4.6% 1,328 0.1% 11,928,632 27.5% 53,712 0.1% 8,557,320 14.4% 1,176 0.0%
Drupal\Core\Render\Renderer::render@1 610 0.0% 1,235,099 67.1% 887 0.0% 11,448,272 26.4% 2,896 0.0% 5,855,064 9.9% 48 0.0%
array_keys 7,393 0.6% 4,664 0.3% 4,664 0.3% 11,292,224 26.0% 11,292,224 26.0% 268,000 0.5% 268,000 0.5%
unserialize 430 0.0% 40,868 2.2% 24,633 1.3% 10,599,832 24.4% 9,884,536 22.8% 11,397,048 19.2% 10,961,440 18.5%
Drupal\Core\Render\Renderer::doRender@3 621 0.0% 1,213,549 65.9% 23,927 1.3% 10,409,672 24.0% 25,346,856 58.4% 2,960,688 5.0% 114,704 0.2%
Drupal\Core\Theme\ThemeManager::render 18 0.0% 1,312,755 71.3% 2,757 0.1% 10,122,136 23.3% -2,341,304 -5.4% 13,605,544 23.0% 3,400 0.0%
twig_render_template 17 0.0% 1,286,762 69.9% 207 0.0% 9,656,232 22.3% -5,910,944 -13.6% 11,174,168 18.9% 504 0.0%
Drupal\Component\Utility\Html::escape 50,633 4.0% 46,545 2.5% 43,370 2.4% 9,638,480 22.2% 1,767,960 4.1% 18,264 0.0% 15,456 0.0%
Drupal\Core\Cache\DatabaseBackend::getMultiple 24 0.0% 53,310 2.9% 2,103 0.1% 9,363,688 21.6% 1,489,160 3.4% 10,471,480 17.7% 617,960 1.0%
Drupal\Component\DependencyInjection\Container::get@1 44 0.0% 63,177 3.4% 298 0.0% 9,073,776 20.9% -160,976 -0.4% 7,392,904 12.5% 1,208 0.0%
call_user_func 998 0.1% 155,100 8.4% 2,648 0.1% 9,063,944 20.9% -11,856 -0.0% 2,068,400 3.5% 968 0.0%
Drupal\Component\DependencyInjection\Container::resolveServicesAndParameters 80 0.0% 63,011 3.4% 516 0.0% 8,903,760 20.5% 34,696 0.1% 7,134,168 12.0% 0 0.0%
Drupal\Component\DependencyInjection\Container::createService@1 42 0.0% 61,843 3.4% 562 0.0% 8,859,632 20.4% 25,352 0.1% 6,990,600 11.8% 2,000 0.0%
Drupal\Core\Render\Renderer::render@2 418 0.0% 211,971 11.5% 661 0.0% 8,765,328 20.2% 4,312 0.0% 3,792,280 6.4% 48 0.0%
implode 5,771 0.5% 863 0.0% 863 0.0% 8,451,352 19.5% 8,450,704 19.5% 20,960 0.0% 20,960 0.0%
Drupal\Core\Form\FormBuilder::retrieveForm 2 0.0% 93,948 5.1% 45 0.0% 8,425,584 19.4% 3,256 0.0% 8,479,696 14.3% 2,616 0.0%
Drupal\Core\Form\FormBuilder::doBuildForm 2 0.0% 115,547 6.3% 284 0.0% 8,349,760 19.3% -12,216 -0.0% 8,247,664 13.9% 2,936 0.0%
Drupal\Core\Entity\EntityForm::buildForm 1 0.0% 93,253 5.1% 28 0.0% 8,337,496 19.2% 3,288 0.0% 8,411,064 14.2% 2,528 0.0%
Drupal\Core\Form\FormBuilder::doBuildForm@1 13 0.0% 114,990 6.2% 503 0.0% 8,319,400 19.2% -33,288 -0.1% 8,232,104 13.9% 16,896 0.0%
Drupal\menu_ui\MenuForm::form 1 0.0% 92,520 5.0% 62 0.0% 8,278,528 19.1% 10,000 0.0% 8,366,080 14.1% 6,736 0.0%
Drupal\Core\Form\FormBuilder::doBuildForm@2 4 0.0% 110,845 6.0% 1,085 0.1% 7,891,680 18.2% -28,096 -0.1% 7,915,088 13.4% 25,384 0.0%
htmlspecialchars 50,633 4.0% 3,175 0.2% 3,175 0.2% 7,870,520 18.1% 7,870,520 18.1% 2,808 0.0% 2,808 0.0%
Twig_Template::render 17 0.0% 1,272,498 69.1% 98 0.0% 7,858,920 18.1% 3,312 0.0% 7,687,984 13.0% 664 0.0%
Drupal\Core\Render\MainContent\HtmlRenderer::prepare 1 0.0% 1,279,154 69.5% 1,870 0.1% 7,821,616 18.0% -7,018,272 -16.2% 12,964,896 21.9% 0 0.0%
Twig_Template::display 17 0.0% 1,271,436 69.1% 98 0.0% 7,806,136 18.0% 1,272 0.0% 7,035,520 11.9% 1,680 0.0%
twig_render_template@1 915 0.1% 971,564 52.8% 7,929 0.4% 7,804,992 18.0% 99,315,080 229.0% 5,630,664 9.5% 1,648 0.0%
Twig_Template::displayWithErrorHandling 17 0.0% 1,271,279 69.1% 44 0.0% 7,794,768 18.0% 968 0.0% 7,024,440 11.9% 2,832 0.0%
Drupal\Core\Form\FormBuilder::processForm 2 0.0% 116,068 6.3% 513 0.0% 7,773,480 17.9% -579,880 -1.3% 8,250,120 13.9% 1,168 0.0%
Drupal\menu_ui\MenuForm::buildOverviewForm 1 0.0% 88,966 4.8% 5,312 0.3% 7,760,520 17.9% 775,360 1.8% 7,833,392 13.2% 790,464 1.3%
Drupal\Core\Form\FormBuilder::doBuildForm@3 100 0.0% 108,366 5.9% 6,594 0.4% 7,709,480 17.8% -427,696 -1.0% 7,743,760 13.1% 123,584 0.2%
Drupal\Core\Cache\DatabaseBackend::prepareItem 122 0.0% 40,078 2.2% 717 0.0% 7,531,992 17.4% -1,576,000 -3.6% 9,589,432 16.2% 240 0.0%
Drupal\Core\Cache\DatabaseBackend::get 23 0.0% 46,411 2.5% 125 0.0% 7,471,480 17.2% 2,744 0.0% 8,444,864 14.3% 880 0.0%
Twig_Template::render@1 915 0.1% 952,226 51.7% 4,349 0.2% 7,430,880 17.1% 104,833,448 241.7% 5,440,192 9.2% 53,232 0.1%
Drupal\Core\Form\FormBuilder::doBuildForm@4 600 0.0% 93,643 5.1% 12,386 0.7% 7,180,208 16.6% 116,648 0.3% 7,493,624 12.6% 951,936 1.6%
spl_autoload_call@1 249 0.0% 43,760 2.4% 613 0.0% 7,117,416 16.4% -30,480 -0.1% 4,780,520 8.1% 2,872 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass@1 247 0.0% 42,885 2.3% 3,310 0.2% 7,107,344 16.4% -248,232 -0.6% 4,739,488 8.0% 3,112 0.0%
Drupal\Core\Template\TwigExtension::escapeFilter 2,570 0.2% 1,235,702 67.1% 10,529 0.6% 6,898,504 15.9% -4,082,080 -9.4% 5,857,792 9.9% 1,776 0.0%
Drupal\Core\Theme\ThemeManager::render@1 916 0.1% 1,126,850 61.2% 49,166 2.7% 6,283,608 14.5% -23,443,064 -54.1% 5,657,552 9.5% 10,160 0.0%
Drupal\Component\DependencyInjection\Container::createService@2 25 0.0% 45,145 2.5% 354 0.0% 6,247,224 14.4% 18,744 0.0% 5,592,720 9.4% 3,416 0.0%
Drupal\Component\DependencyInjection\Container::resolveServicesAndParameters@1 44 0.0% 45,496 2.5% 245 0.0% 6,246,152 14.4% 22,488 0.1% 5,788,752 9.8% 176 0.0%
class_exists 485 0.0% 30,172 1.6% 184 0.0% 6,060,752 14.0% 7,488 0.0% 2,476,600 4.2% 2,152 0.0%
Drupal\Component\DependencyInjection\Container::get@2 34 0.0% 42,932 2.3% 188 0.0% 5,864,728 13.5% -128,384 -0.3% 5,466,784 9.2% 672 0.0%
Twig_Template::displayWithErrorHandling@1 916 0.1% 941,301 51.1% 1,848 0.1% 5,715,768 13.2% -544,032 -1.3% 5,350,496 9.0% 456 0.0%
Drupal\menu_ui\MenuForm::buildOverviewTreeForm 1 0.0% 51,972 2.8% 1,556 0.1% 5,571,208 12.8% 171,664 0.4% 5,406,168 9.1% 83,520 0.1%
Drupal\Core\Asset\AssetResolver::getJsAssets 1 0.0% 62,735 3.4% 170 0.0% 5,286,344 12.2% -709,568 -1.6% 5,486,416 9.3% 0 0.0%
Drupal\Core\Entity\EntityManager::getHandler 275 0.0% 24,674 1.3% 236 0.0% 5,174,696 11.9% 6,016 0.0% 3,021,400 5.1% 864 0.0%
Drupal\Core\DrupalKernel::preHandle 1 0.0% 35,730 1.9% 40 0.0% 5,000,656 11.5% 4,280 0.0% 4,997,592 8.4% 1,040 0.0%
Drupal\Component\DependencyInjection\Container::resolveServicesAndParameters@2 25 0.0% 36,307 2.0% 158 0.0% 4,963,248 11.4% 14,176 0.0% 4,583,064 7.7% 248 0.0%
Drupal\Component\DependencyInjection\Container::createService@3 22 0.0% 35,925 2.0% 333 0.0% 4,959,872 11.4% 1,024 0.0% 4,435,008 7.5% 1,616 0.0%
Drupal\Component\DependencyInjection\Container::get@3 27 0.0% 34,685 1.9% 201 0.0% 4,751,784 11.0% -121,368 -0.3% 4,418,696 7.5% 944 0.0%
__TwigTemplate_1a263c7c8934adec7b8a41cdc3649a2f60145aafc6cb50abcfb382ede2fd2629::doDisplay 1 0.0% 65,019 3.5% 247 0.0% 4,707,480 10.9% -10,400 -0.0% 3,243,640 5.5% 0 0.0%
__TwigTemplate_0134eb299101d5055b21e6afb62f865b553667d0be95f6eea765bce832060d8b::doDisplay 1 0.0% 62,746 3.4% 377 0.0% 4,584,504 10.6% 2,472 0.0% 3,243,640 5.5% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorage 253 0.0% 20,050 1.1% 336 0.0% 4,358,520 10.0% 8,024 0.0% 2,938,752 5.0% 5,488 0.0%
Drupal\Component\DependencyInjection\Container::resolveServicesAndParameters@3 25 0.0% 30,128 1.6% 169 0.0% 4,190,632 9.7% 12,744 0.0% 3,902,120 6.6% 0 0.0%
Drupal\Component\DependencyInjection\Container::createService@4 28 0.0% 29,431 1.6% 441 0.0% 4,174,912 9.6% 6,568 0.0% 3,632,912 6.1% 1,944 0.0%
preg_replace 4,729 0.4% 13,060 0.7% 13,060 0.7% 4,000,008 9.2% 4,000,008 9.2% 956,568 1.6% 956,568 1.6%
Drupal\Component\DependencyInjection\Container::get@4 32 0.0% 28,120 1.5% 200 0.0% 3,993,608 9.2% -120,960 -0.3% 3,684,248 6.2% 0 0.0%
Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::getEditRoute 100 0.0% 28,634 1.6% 278 0.0% 3,849,880 8.9% 7,736 0.0% 3,932,576 6.6% 9,992 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder 3 0.0% 19,688 1.1% 109 0.0% 3,842,928 8.9% -6,001,112 -13.8% 477,336 0.8% 384 0.0%
Drupal\menu_link_content\Plugin\Menu\MenuLinkContent::getEntity 300 0.0% 24,529 1.3% 2,155 0.1% 3,728,328 8.6% 236,480 0.5% 3,871,264 6.5% 289,840 0.5%
Drupal\Component\Utility\NestedArray::getValue 430 0.0% 6,138 0.3% 6,137 0.3% 3,641,000 8.4% 3,639,680 8.4% 546,928 0.9% 545,704 0.9%
Drupal\Core\Plugin\Factory\ContainerFactory::createInstance 138 0.0% 19,555 1.1% 930 0.1% 3,406,872 7.9% 11,152 0.0% 0 0.0% 0 0.0%
[ display all ]