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

Overall Summary
Total Incl. Wall Time (microsec):123,488 microsecs
Total Incl. CPU (microsecs):115,556 microsecs
Total Incl. MemUse (bytes):11,652,976 bytes
Total Incl. PeakMemUse (bytes):11,763,968 bytes
Number of Function Calls:34,486


[View Full Callgraph]


Displaying top 100 functions: Sorted by Calls [ display all ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Excl. Wall Time
(microsec)
EWall%Incl. CPU
(microsecs)
ICpu%Excl. CPU
(microsec)
ECPU%Incl.
MemUse
(bytes)
IMemUse%Excl.
MemUse
(bytes)
EMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%Excl.
PeakMemUse
(bytes)
EPeakMemUse%
array_key_exists 1,888 5.5% 139 0.1% 139 0.1% 2,040 1.8% 2,040 1.8% 24,088 0.2% 24,088 0.2% 15,168 0.1% 15,168 0.1%
strtolower 1,367 4.0% 140 0.1% 140 0.1% 1,507 1.3% 1,507 1.3% 72,336 0.6% 72,336 0.6% 16,584 0.1% 16,584 0.1%
is_object 1,284 3.7% 23 0.0% 23 0.0% 1,264 1.1% 1,264 1.1% 13,560 0.1% 13,560 0.1% 10,112 0.1% 10,112 0.1%
is_array 1,226 3.6% 2 0.0% 2 0.0% 1,140 1.0% 1,140 1.0% 41,592 0.4% 41,592 0.4% 17,864 0.2% 17,864 0.2%
Symfony\Component\DependencyInjection\Container::get 860 2.5% 19,732 16.0% 4,103 3.3% 20,033 17.3% 3,024 2.6% 3,418,512 29.3% -14,840 -0.1% 3,159,760 26.9% 31,336 0.3%
Drupal\Core\DependencyInjection\Container::get 860 2.5% 23,569 19.1% 3,824 3.1% 23,851 20.6% 2,984 2.6% 3,438,608 29.5% 19,296 0.2% 3,197,440 27.2% 37,112 0.3%
is_integer 803 2.3% 2 0.0% 2 0.0% 660 0.6% 660 0.6% 1,616 0.0% 1,616 0.0% 0 0.0% 0 0.0%
array_keys 534 1.5% 252 0.2% 252 0.2% 696 0.6% 696 0.6% 237,216 2.0% 237,216 2.0% 44,184 0.4% 44,184 0.4%
htmlspecialchars 491 1.4% 182 0.1% 182 0.1% 608 0.5% 608 0.5% 77,512 0.7% 77,512 0.7% 4,208 0.0% 4,208 0.0%
Drupal\Component\Utility\String::checkPlain 491 1.4% 1,115 0.9% 933 0.8% 1,514 1.3% 906 0.8% 108,560 0.9% 31,048 0.3% 14,008 0.1% 9,800 0.1%
apc_fetch 423 1.2% 555 0.4% 555 0.4% 914 0.8% 914 0.8% 45,816 0.4% 45,816 0.4% 46,928 0.4% 46,928 0.4%
Symfony\Component\ClassLoader\ApcClassLoader::findFile 423 1.2% 1,552 1.3% 964 0.8% 1,918 1.7% 967 0.8% 75,672 0.6% 25,456 0.2% 97,136 0.8% 46,072 0.4%
in_array 404 1.2% 80 0.1% 80 0.1% 454 0.4% 454 0.4% 15,976 0.1% 15,976 0.1% 9,896 0.1% 9,896 0.1%
count 402 1.2% 159 0.1% 85 0.1% 558 0.5% 462 0.4% 27,912 0.2% 22,536 0.2% 13,656 0.1% 12,152 0.1%
Symfony\Component\HttpFoundation\ParameterBag::get 371 1.1% 854 0.7% 838 0.7% 1,200 1.0% 815 0.7% 37,280 0.3% 36,472 0.3% 22,264 0.2% 21,616 0.2%
function_exists 319 0.9% 210 0.2% 210 0.2% 413 0.4% 413 0.4% 13,408 0.1% 13,408 0.1% 5,528 0.0% 5,528 0.0%
strpos 283 0.8% 25 0.0% 25 0.0% 334 0.3% 334 0.3% 25,008 0.2% 25,008 0.2% 12,400 0.1% 12,400 0.1%
explode 261 0.8% 158 0.1% 158 0.1% 364 0.3% 364 0.3% 130,944 1.1% 130,944 1.1% 19,976 0.2% 19,976 0.2%
preg_replace 248 0.7% 528 0.4% 528 0.4% 732 0.6% 732 0.6% 48,216 0.4% 48,216 0.4% 15,952 0.1% 15,952 0.1%
implode 248 0.7% 142 0.1% 142 0.1% 357 0.3% 357 0.3% 97,504 0.8% 97,504 0.8% 11,688 0.1% 11,688 0.1%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass 247 0.7% 11,615 9.4% 2,110 1.7% 11,897 10.3% 1,335 1.2% 4,643,672 39.8% 264,808 2.3% 3,721,552 31.6% 277,344 2.4%
Drupal\Core\Template\Attribute::offsetSet 227 0.7% 1,923 1.6% 494 0.4% 2,110 1.8% 514 0.4% 120,320 1.0% 59,960 0.5% 28,680 0.2% 4,904 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 227 0.7% 1,429 1.2% 1,310 1.1% 1,596 1.4% 828 0.7% 60,360 0.5% 35,048 0.3% 23,776 0.2% 6,304 0.1%
Drupal\Core\Template\AttributeValueBase::__construct 226 0.7% 45 0.0% 45 0.0% 266 0.2% 266 0.2% 896 0.0% 896 0.0% 536 0.0% 536 0.0%
Drupal\Core\Template\AttributeValueBase::render 223 0.6% 2,656 2.2% 953 0.8% 2,801 2.4% 752 0.7% 39,352 0.3% -67,152 -0.6% 18,096 0.2% 2,688 0.0%
Drupal\Core\Template\AttributeValueBase::printed 223 0.6% 6 0.0% 6 0.0% 231 0.2% 231 0.2% 896 0.0% 896 0.0% 664 0.0% 664 0.0%
Drupal::moduleHandler 213 0.6% 2,843 2.3% 476 0.4% 2,999 2.6% 478 0.4% 171,288 1.5% 25,384 0.2% 164,792 1.4% 5,392 0.0%
drupal_static 207 0.6% 439 0.4% 436 0.4% 592 0.5% 549 0.5% 26,488 0.2% 25,712 0.2% 20,368 0.2% 19,680 0.2%
substr 180 0.5% 8 0.0% 8 0.0% 182 0.2% 182 0.2% 23,464 0.2% 23,464 0.2% 8,000 0.1% 8,000 0.1%
strtr 176 0.5% 1,027 0.8% 1,027 0.8% 1,157 1.0% 1,157 1.0% 21,672 0.2% 21,672 0.2% 1,559,992 13.3% 1,559,992 13.3%
Drupal\Core\StringTranslation\Translator\StaticTranslation::getStringTranslation 174 0.5% 123 0.1% 118 0.1% 281 0.2% 275 0.2% 12,016 0.1% 9,808 0.1% 2,712 0.0% 1,056 0.0%
Drupal\Core\StringTranslation\TranslationManager::translate 174 0.5% 1,555 1.3% 467 0.4% 1,696 1.5% 465 0.4% 29,640 0.3% -5,296 -0.0% 447,848 3.8% 4,416 0.0%
Drupal\Core\StringTranslation\TranslationManager::getStringTranslation 174 0.5% 608 0.5% 476 0.4% 741 0.6% 450 0.4% 16,992 0.1% 1,520 0.0% 8,048 0.1% 1,648 0.0%
dirname 173 0.5% 11 0.0% 11 0.0% 180 0.2% 180 0.2% 21,848 0.2% 21,848 0.2% 10,048 0.1% 10,048 0.1%
Drupal\Core\Extension\ModuleHandler::getImplementations 173 0.5% 1,677 1.4% 733 0.6% 1,669 1.4% 555 0.5% 114,720 1.0% 16,448 0.1% 84,040 0.7% 5,224 0.0%
Drupal\Core\Extension\CachedModuleHandler::getImplementationInfo 173 0.5% 920 0.7% 435 0.4% 916 0.8% 507 0.4% 55,872 0.5% 1,672 0.0% 71,496 0.6% 1,752 0.0%
PDOStatement::setFetchMode 169 0.5% 64 0.1% 64 0.1% 195 0.2% 195 0.2% 3,256 0.0% 3,256 0.0% 2,424 0.0% 2,424 0.0%
is_string 168 0.5% 0 0.0% 0 0.0% 186 0.2% 186 0.2% 11,768 0.1% 11,768 0.1% 6,344 0.1% 6,344 0.1%
t 168 0.5% 4,078 3.3% 594 0.5% 4,202 3.6% 500 0.4% 114,712 1.0% 15,496 0.1% 494,624 4.2% 4,224 0.0%
Drupal::translation 168 0.5% 1,995 1.6% 346 0.3% 2,078 1.8% 319 0.3% 71,400 0.6% 9,160 0.1% 61,248 0.5% 1,368 0.0%
str_replace 164 0.5% 215 0.2% 215 0.2% 331 0.3% 331 0.3% 116,832 1.0% 116,832 1.0% 18,592 0.2% 18,592 0.2%
Drupal\menu_link\Entity\MenuLink::offsetGet 163 0.5% 35 0.0% 35 0.0% 184 0.2% 184 0.2% 6,624 0.1% 6,624 0.1% 0 0.0% 0 0.0%
is_scalar 161 0.5% 0 0.0% 0 0.0% 133 0.1% 133 0.1% 3,072 0.0% 3,072 0.0% 1,920 0.0% 1,920 0.0%
Drupal\Core\Template\Attribute::__construct 151 0.4% 2,257 1.8% 470 0.4% 2,381 2.1% 422 0.4% 141,464 1.2% 32,520 0.3% 34,936 0.3% 7,008 0.1%
Drupal\Core\Template\Attribute::__toString 150 0.4% 3,670 3.0% 1,008 0.8% 3,769 3.3% 737 0.6% 48,792 0.4% 8,544 0.1% 23,376 0.2% 4,616 0.0%
Drupal\Core\Config\Config::get 136 0.4% 5,121 4.1% 574 0.5% 3,864 3.3% 490 0.4% 82,576 0.7% -2,408 -0.0% 156,184 1.3% 3,872 0.0%
is_bool 125 0.4% 0 0.0% 0 0.0% 106 0.1% 106 0.1% 2,400 0.0% 2,400 0.0% 240 0.0% 240 0.0%
Drupal::service 124 0.4% 5,460 4.4% 305 0.2% 5,560 4.8% 310 0.3% 820,216 7.0% 17,440 0.1% 643,216 5.5% 6,688 0.1%
Drupal\Core\Template\AttributeArray::__toString 114 0.3% 733 0.6% 457 0.4% 807 0.7% 333 0.3% 31,992 0.3% -4,392 -0.0% 5,960 0.1% 1,496 0.0%
Drupal\Core\Render\Element::children 114 0.3% 882 0.7% 705 0.6% 964 0.8% 608 0.5% 56,136 0.5% 16,440 0.1% 5,216 0.0% 3,768 0.0%
array_diff 112 0.3% 133 0.1% 133 0.1% 224 0.2% 224 0.2% 20,288 0.2% 20,288 0.2% 6,904 0.1% 6,904 0.1%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass@1 111 0.3% 4,340 3.5% 964 0.8% 4,499 3.9% 660 0.6% 1,768,944 15.2% 139,472 1.2% 1,568,952 13.3% 161,104 1.4%
Drupal\Core\Template\AttributeString::__toString 109 0.3% 481 0.4% 240 0.2% 575 0.5% 246 0.2% 29,080 0.2% 6,432 0.1% 3,832 0.0% 960 0.0%
Drupal\Core\Config\Context\ConfigContext::getUuid 109 0.3% 17 0.0% 17 0.0% 127 0.1% 127 0.1% 872 0.0% 872 0.0% 840 0.0% 840 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKey 109 0.3% 361 0.3% 344 0.3% 436 0.4% 309 0.3% 16,496 0.1% 15,624 0.1% 5,736 0.0% 4,896 0.0%
preg_match 106 0.3% 225 0.2% 225 0.2% 298 0.3% 298 0.3% 24,392 0.2% 24,392 0.2% 7,480 0.1% 7,480 0.1%
array_filter 104 0.3% 246 0.2% 235 0.2% 317 0.3% 272 0.2% 27,824 0.2% 25,392 0.2% 14,344 0.1% 13,552 0.1%
Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher::lazyLoad 103 0.3% 7,523 6.1% 515 0.4% 7,391 6.4% 503 0.4% 1,313,648 11.3% 18,784 0.2% 1,225,960 10.4% 9,912 0.1%
Drupal\Core\DependencyInjection\Container::get@1 100 0.3% 11,254 9.1% 482 0.4% 10,954 9.5% 399 0.3% 2,389,696 20.5% 46,048 0.4% 2,323,552 19.8% 31,840 0.3%
Symfony\Component\DependencyInjection\Container::get@1 100 0.3% 10,768 8.7% 591 0.5% 10,452 9.0% 439 0.4% 2,342,848 20.1% 5,032 0.0% 2,290,992 19.5% 15,824 0.1%
call_user_func@1 99 0.3% 4,561 3.7% 290 0.2% 4,479 3.9% 286 0.2% 249,728 2.1% 36,080 0.3% 89,368 0.8% 4,352 0.0%
Drupal\Core\Entity\EntityType::getClass 91 0.3% 10 0.0% 10 0.0% 103 0.1% 103 0.1% 3,384 0.0% 3,384 0.0% 2,968 0.0% 2,968 0.0%
trim 91 0.3% 16 0.0% 16 0.0% 112 0.1% 112 0.1% 9,352 0.1% 9,352 0.1% 3,432 0.0% 3,432 0.0%
key 88 0.3% 0 0.0% 0 0.0% 76 0.1% 76 0.1% 4,640 0.0% 4,640 0.0% 1,456 0.0% 1,456 0.0%
Drupal\Core\Template\TwigTemplate::getContextReference 84 0.2% 312 0.3% 218 0.2% 383 0.3% 243 0.2% 52,280 0.4% 27,904 0.2% 28,240 0.2% 7,984 0.1%
array_merge 83 0.2% 85 0.1% 85 0.1% 154 0.1% 154 0.1% 82,240 0.7% 82,240 0.7% 21,848 0.2% 21,848 0.2%
unserialize 81 0.2% 2,432 2.0% 1,792 1.5% 2,504 2.2% 1,834 1.6% 1,023,280 8.8% 783,176 6.7% 1,328,712 11.3% 1,122,920 9.5%
end 81 0.2% 11 0.0% 11 0.0% 96 0.1% 96 0.1% 1,928 0.0% 1,928 0.0% 1,520 0.0% 1,520 0.0%
Drupal\Core\Config\Config::getName 76 0.2% 0 0.0% 0 0.0% 85 0.1% 85 0.1% 2,552 0.0% 2,552 0.0% 1,640 0.0% 1,640 0.0%
Drupal\Core\Extension\ModuleHandler::alter 75 0.2% 1,781 1.4% 622 0.5% 1,840 1.6% 491 0.4% 78,288 0.7% 9,136 0.1% 30,672 0.3% 11,184 0.1%
PDO::prepare 74 0.2% 538 0.4% 254 0.2% 596 0.5% 254 0.2% 68,720 0.6% 63,200 0.5% 11,880 0.1% 9,840 0.1%
PDOStatement::execute 74 0.2% 10,608 8.6% 10,608 8.6% 2,913 2.5% 2,913 2.5% 534,696 4.6% 534,696 4.6% 219,208 1.9% 219,208 1.9%
Drupal\Core\Database\Connection::query 74 0.2% 14,909 12.1% 960 0.8% 7,210 6.2% 781 0.7% 751,920 6.5% 49,200 0.4% 491,872 4.2% 114,240 1.0%
Drupal\Core\Database\Statement::execute 74 0.2% 11,396 9.2% 780 0.6% 3,690 3.2% 531 0.5% 539,312 4.6% 2,160 0.0% 223,544 1.9% 2,208 0.0%
Drupal\Core\Database\Connection::getLogger 74 0.2% 8 0.0% 8 0.0% 89 0.1% 89 0.1% 856 0.0% 856 0.0% 776 0.0% 776 0.0%
Drupal\Core\Database\Connection::prepareQuery 74 0.2% 1,167 0.9% 310 0.3% 1,233 1.1% 255 0.2% 75,712 0.6% -9,192 -0.1% 29,096 0.2% 2,096 0.0%
Drupal\Core\Database\Connection::defaultOptions 74 0.2% 82 0.1% 82 0.1% 128 0.1% 128 0.1% 57,128 0.5% 57,128 0.5% 23,264 0.2% 23,264 0.2%
Drupal\Core\Database\Connection::prefixTables 74 0.2% 319 0.3% 172 0.1% 382 0.3% 196 0.2% 16,184 0.1% -74,288 -0.6% 15,120 0.1% 760 0.0%
Drupal\Core\Database\Connection::expandArguments 74 0.2% 1,222 1.0% 804 0.7% 1,286 1.1% 695 0.6% 11,400 0.1% -64,536 -0.6% 65,472 0.6% 39,664 0.3%
Drupal\Core\Database\Statement::__construct 74 0.2% 284 0.2% 227 0.2% 342 0.3% 247 0.2% 5,520 0.0% 4,704 0.0% 2,040 0.0% 1,392 0.0%
strlen 73 0.2% 0 0.0% 0 0.0% 71 0.1% 71 0.1% 7,928 0.1% 7,928 0.1% 5,216 0.0% 5,216 0.0%
Drupal\Core\Utility\ThemeRegistry::has 72 0.2% 155 0.1% 142 0.1% 207 0.2% 124 0.1% 8,536 0.1% 7,736 0.1% 792 0.0% 792 0.0%
Drupal\Core\Config\ConfigFactory::getContext 71 0.2% 175 0.1% 164 0.1% 239 0.2% 159 0.1% 6,184 0.1% 5,392 0.0% 3,408 0.0% 2,616 0.0%
Symfony\Component\EventDispatcher\Event::setDispatcher 70 0.2% 76 0.1% 76 0.1% 128 0.1% 128 0.1% 1,904 0.0% 1,904 0.0% 1,568 0.0% 1,568 0.0%
Symfony\Component\EventDispatcher\Event::setName 70 0.2% 15 0.0% 15 0.0% 91 0.1% 91 0.1% 1,896 0.0% 1,896 0.0% 768 0.0% 768 0.0%
is_subclass_of 66 0.2% 66 0.1% 66 0.1% 118 0.1% 118 0.1% 1,616 0.0% 1,616 0.0% 1,744 0.0% 1,744 0.0%
class_exists 65 0.2% 2,221 1.8% 150 0.1% 2,267 2.0% 171 0.1% 804,208 6.9% -120 -0.0% 639,240 5.4% 8,896 0.1%
Drupal\Core\Config\Context\ConfigContext::notify 65 0.2% 2,901 2.3% 366 0.3% 2,953 2.6% 307 0.3% 63,704 0.5% 2,512 0.0% 48,728 0.4% 3,560 0.0%
Drupal\Core\Config\ConfigEvent::__construct 65 0.2% 66 0.1% 66 0.1% 125 0.1% 125 0.1% 880 0.0% 880 0.0% 904 0.0% 904 0.0%
Symfony\Component\Routing\Route::getOption 65 0.2% 53 0.0% 53 0.0% 97 0.1% 97 0.1% 4,784 0.0% 4,784 0.0% 2,400 0.0% 2,400 0.0%
Drupal\Core\Config\Config::notify 64 0.2% 2,981 2.4% 153 0.1% 3,034 2.6% 155 0.1% 41,792 0.4% 2,768 0.0% 28,544 0.2% 1,056 0.0%
func_get_args 64 0.2% 88 0.1% 88 0.1% 123 0.1% 123 0.1% 130,320 1.1% 130,320 1.1% 16,736 0.1% 16,736 0.1%
Drupal\Core\Plugin\Discovery\CacheDecorator::getDefinition 63 0.2% 1,250 1.0% 68 0.1% 1,094 0.9% 111 0.1% 325,352 2.8% 1,224 0.0% 386,848 3.3% 80 0.0%
Drupal\Component\Plugin\PluginManagerBase::getDefinition 63 0.2% 1,402 1.1% 152 0.1% 1,287 1.1% 193 0.2% 330,760 2.8% 5,408 0.0% 389,504 3.3% 2,656 0.0%
Drupal\Core\Database\Connection::escapeTable 62 0.2% 306 0.2% 158 0.1% 347 0.3% 130 0.1% 10,816 0.1% 3,320 0.0% 11,480 0.1% 7,112 0.1%
Drupal\Core\Extension\ModuleHandler::invokeAll 61 0.2% 5,711 4.6% 405 0.3% 5,168 4.5% 304 0.3% 515,432 4.4% -51,640 -0.4% 496,312 4.2% 4,728 0.0%
Symfony\Component\Routing\Route::getPath 61 0.2% 1 0.0% 1 0.0% 70 0.1% 70 0.1% 3,312 0.0% 3,312 0.0% 2,128 0.0% 2,128 0.0%
Symfony\Component\HttpFoundation\Request::isSecure 60 0.2% 629 0.5% 382 0.3% 672 0.6% 259 0.2% 7,824 0.1% -3,416 -0.0% 6,232 0.1% 3,736 0.0%
Symfony\Component\Routing\CompiledRoute::getRegex 60 0.2% 0 0.0% 0 0.0% 66 0.1% 66 0.1% 2,592 0.0% 2,592 0.0% 2,392 0.0% 2,392 0.0%
Drupal\Component\Utility\NestedArray::mergeDeep 59 0.2% 2,435 2.0% 234 0.2% 2,478 2.1% 209 0.2% 97,872 0.8% -120,312 -1.0% 60,768 0.5% 880 0.0%
[ display all ]