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

Overall Summary
Total Incl. Wall Time (microsec):352,540 microsecs
Total Incl. CPU (microsecs):334,875 microsecs
Total Incl. MemUse (bytes):36,059,512 bytes
Total Incl. PeakMemUse (bytes):36,139,944 bytes
Number of Function Calls:61,978


[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%
is_object 2,175 3.5% 236 0.1% 236 0.1% 2,257 0.7% 2,257 0.7% 16,680 0.0% 16,680 0.0% 9,696 0.0% 9,696 0.0%
preg_replace 1,889 3.0% 2,382 0.7% 2,382 0.7% 3,297 1.0% 3,297 1.0% 291,392 0.8% 291,392 0.8% 25,336 0.1% 25,336 0.1%
is_array 1,794 2.9% 9 0.0% 9 0.0% 1,613 0.5% 1,613 0.5% 44,880 0.1% 44,880 0.1% 17,216 0.0% 17,216 0.0%
Symfony\Component\DependencyInjection\Container::get 1,487 2.4% 65,976 18.7% 2,820 0.8% 66,458 19.8% 3,761 1.1% 9,793,128 27.2% 16,544 0.0% 8,950,648 24.8% 105,752 0.3%
Drupal\Core\DependencyInjection\Container::get 1,487 2.4% 72,964 20.7% 6,883 2.0% 73,500 21.9% 5,531 1.7% 9,757,360 27.1% -36,568 -0.1% 9,002,488 24.9% 51,272 0.1%
array_key_exists 1,382 2.2% 185 0.1% 185 0.1% 1,517 0.5% 1,517 0.5% 27,376 0.1% 27,376 0.1% 8,256 0.0% 8,256 0.0%
is_integer 1,194 1.9% 1 0.0% 1 0.0% 1,033 0.3% 1,033 0.3% 1,624 0.0% 1,624 0.0% 768 0.0% 768 0.0%
array_keys 1,179 1.9% 1,461 0.4% 1,461 0.4% 2,505 0.7% 2,505 0.7% 2,239,656 6.2% 2,239,656 6.2% 147,672 0.4% 147,672 0.4%
Drupal\menu_link\Entity\MenuLink::offsetGet 1,140 1.8% 317 0.1% 317 0.1% 1,333 0.4% 1,333 0.4% 43,928 0.1% 43,928 0.1% 856 0.0% 856 0.0%
strpos 920 1.5% 53 0.0% 53 0.0% 997 0.3% 997 0.3% 30,576 0.1% 30,576 0.1% 14,072 0.0% 14,072 0.0%
Drupal\Component\Utility\String::checkPlain 714 1.2% 1,694 0.5% 1,359 0.4% 2,291 0.7% 1,352 0.4% 155,928 0.4% 43,816 0.1% 13,160 0.0% 10,232 0.0%
htmlspecialchars 714 1.2% 335 0.1% 335 0.1% 939 0.3% 939 0.3% 112,112 0.3% 112,112 0.3% 2,928 0.0% 2,928 0.0%
count 666 1.1% 327 0.1% 168 0.0% 956 0.3% 759 0.2% 27,992 0.1% 21,120 0.1% 13,408 0.0% 11,680 0.0%
Symfony\Component\HttpFoundation\ParameterBag::get 625 1.0% 1,416 0.4% 1,387 0.4% 1,851 0.6% 1,225 0.4% 37,584 0.1% 36,776 0.1% 21,848 0.1% 21,200 0.1%
Drupal\Core\Database\Connection::escapeTable 583 0.9% 1,641 0.5% 878 0.2% 2,208 0.7% 1,155 0.3% 56,224 0.2% -11,688 -0.0% 18,088 0.1% 9,328 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::findFile 538 0.9% 2,773 0.8% 1,592 0.5% 3,266 1.0% 1,616 0.5% 90,936 0.3% 31,328 0.1% 50,248 0.1% 23,696 0.1%
apc_fetch 538 0.9% 1,141 0.3% 1,141 0.3% 1,604 0.5% 1,604 0.5% 57,648 0.2% 57,648 0.2% 26,136 0.1% 26,136 0.1%
function_exists 514 0.8% 383 0.1% 383 0.1% 730 0.2% 730 0.2% 17,400 0.0% 17,400 0.0% 7,448 0.0% 7,448 0.0%
str_replace 513 0.8% 510 0.1% 510 0.1% 939 0.3% 939 0.3% 311,800 0.9% 311,800 0.9% 41,088 0.1% 41,088 0.1%
implode 460 0.7% 254 0.1% 254 0.1% 646 0.2% 646 0.2% 138,360 0.4% 138,360 0.4% 15,888 0.0% 15,888 0.0%
Drupal\Core\Database\Connection::escapeField 445 0.7% 1,173 0.3% 680 0.2% 1,510 0.5% 819 0.2% 41,152 0.1% -12,656 -0.0% 3,848 0.0% 1,648 0.0%
explode 404 0.7% 248 0.1% 248 0.1% 598 0.2% 598 0.2% 212,552 0.6% 212,552 0.6% 18,816 0.1% 18,816 0.1%
Drupal::moduleHandler 400 0.6% 5,576 1.6% 892 0.3% 5,867 1.8% 888 0.3% 439,472 1.2% 57,432 0.2% 453,408 1.3% 6,648 0.0%
PDOStatement::setFetchMode 395 0.6% 136 0.0% 136 0.0% 506 0.2% 506 0.2% 9,168 0.0% 9,168 0.0% 2,336 0.0% 2,336 0.0%
drupal_static 387 0.6% 707 0.2% 700 0.2% 935 0.3% 885 0.3% 31,808 0.1% 31,032 0.1% 22,376 0.1% 21,808 0.1%
Drupal\Core\Database\Query\Select::addField 386 0.6% 457 0.1% 457 0.1% 724 0.2% 724 0.2% 244,408 0.7% 244,408 0.7% 43,560 0.1% 43,560 0.1%
Drupal\Core\Database\Connection::escapeAlias 386 0.6% 936 0.3% 550 0.2% 1,247 0.4% 706 0.2% 34,576 0.1% -11,304 -0.0% 2,360 0.0% 1,072 0.0%
Drupal\Core\Entity\EntityType::getClass 384 0.6% 47 0.0% 47 0.0% 476 0.1% 476 0.1% 5,152 0.0% 5,152 0.0% 1,472 0.0% 1,472 0.0%
Drupal\Core\Render\Element::children 365 0.6% 2,279 0.6% 2,020 0.6% 2,502 0.7% 1,667 0.5% 119,616 0.3% 29,336 0.1% 17,472 0.0% 6,632 0.0%
is_string 360 0.6% 22 0.0% 22 0.0% 354 0.1% 354 0.1% 13,440 0.0% 13,440 0.0% 4,176 0.0% 4,176 0.0%
strtolower 322 0.5% 101 0.0% 101 0.0% 399 0.1% 399 0.1% 34,736 0.1% 34,736 0.1% 9,752 0.0% 9,752 0.0%
substr 318 0.5% 20 0.0% 20 0.0% 347 0.1% 347 0.1% 28,088 0.1% 28,088 0.1% 4,424 0.0% 4,424 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementations 314 0.5% 2,716 0.8% 1,292 0.4% 2,813 0.8% 959 0.3% 160,768 0.4% 24,872 0.1% 96,776 0.3% 6,304 0.0%
Drupal\Core\Extension\CachedModuleHandler::getImplementationInfo 314 0.5% 1,360 0.4% 752 0.2% 1,483 0.4% 909 0.3% 69,520 0.2% 1,680 0.0% 88,416 0.2% 1,520 0.0%
Drupal\menu_link\Entity\MenuLink::offsetSet 313 0.5% 335 0.1% 335 0.1% 523 0.2% 523 0.2% 141,896 0.4% 141,896 0.4% 176 0.0% 176 0.0%
drupal_sort_css_js 311 0.5% 301 0.1% 301 0.1% 400 0.1% 400 0.1% 15,696 0.0% 15,696 0.0% 0 0.0% 0 0.0%
is_bool 304 0.5% 0 0.0% 0 0.0% 267 0.1% 267 0.1% 3,176 0.0% 3,176 0.0% 2,152 0.0% 2,152 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 298 0.5% 2,490 0.7% 2,024 0.6% 2,705 0.8% 1,289 0.4% 90,200 0.3% 41,584 0.1% 44,152 0.1% 5,336 0.0%
unserialize 298 0.5% 7,671 2.2% 3,779 1.1% 7,932 2.4% 3,935 1.2% 2,929,520 8.1% 1,908,984 5.3% 3,038,520 8.4% 2,111,056 5.8%
Drupal\Core\Template\Attribute::offsetSet 298 0.5% 3,137 0.9% 647 0.2% 3,372 1.0% 667 0.2% 152,672 0.4% 62,472 0.2% 49,920 0.1% 5,768 0.0%
Drupal\Core\Template\AttributeValueBase::__construct 297 0.5% 64 0.0% 64 0.0% 348 0.1% 348 0.1% 896 0.0% 896 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\AttributeValueBase::printed 295 0.5% 10 0.0% 10 0.0% 299 0.1% 299 0.1% 928 0.0% 928 0.0% 184 0.0% 184 0.0%
Drupal\Core\Template\AttributeValueBase::render 294 0.5% 3,372 1.0% 1,266 0.4% 3,603 1.1% 1,004 0.3% 51,936 0.1% -86,728 -0.2% 13,880 0.0% 1,888 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass 293 0.5% 90,741 25.7% 5,064 1.4% 91,126 27.2% 4,357 1.3% 16,733,784 46.4% -126,144 -0.3% 15,483,440 42.8% 42,728 0.1%
in_array 286 0.5% 250 0.1% 250 0.1% 547 0.2% 547 0.2% 19,064 0.1% 19,064 0.1% 9,744 0.0% 9,744 0.0%
array_diff 279 0.5% 2,198 0.6% 2,198 0.6% 2,396 0.7% 2,396 0.7% 59,384 0.2% 59,384 0.2% 19,664 0.1% 19,664 0.1%
array_flip 276 0.4% 543 0.2% 543 0.2% 768 0.2% 768 0.2% 805,896 2.2% 805,896 2.2% 58,760 0.2% 58,760 0.2%
Drupal\Core\Extension\ModuleHandler::alter 258 0.4% 4,445 1.3% 1,807 0.5% 4,244 1.3% 1,432 0.4% 127,264 0.4% 6,760 0.0% 88,264 0.2% 17,168 0.0%
dirname 256 0.4% 12 0.0% 12 0.0% 246 0.1% 246 0.1% 28,960 0.1% 28,960 0.1% 6,720 0.0% 6,720 0.0%
Drupal\Core\Config\ConfigFactory::canOverride 252 0.4% 684 0.2% 661 0.2% 900 0.3% 619 0.2% 15,720 0.0% 14,928 0.0% 4,784 0.0% 4,136 0.0%
class_exists 250 0.4% 20,081 5.7% 386 0.1% 20,207 6.0% 484 0.1% 4,139,152 11.5% -1,176 -0.0% 3,887,960 10.8% 9,136 0.0%
Drupal::service 248 0.4% 23,132 6.6% 563 0.2% 23,037 6.9% 614 0.2% 3,059,760 8.5% 22,912 0.1% 2,551,272 7.1% 6,272 0.0%
Drupal\Core\Config\Config::get 243 0.4% 3,725 1.1% 1,020 0.3% 3,912 1.2% 848 0.3% 115,928 0.3% -31,648 -0.1% 65,376 0.2% 4,136 0.0%
strtr 241 0.4% 2,680 0.8% 2,680 0.8% 2,876 0.9% 2,876 0.9% 31,376 0.1% 31,376 0.1% 2,978,728 8.2% 2,978,728 8.2%
Drupal\Core\Template\AttributeString::__toString 237 0.4% 1,050 0.3% 504 0.1% 1,238 0.4% 517 0.2% 61,136 0.2% 12,576 0.0% 4,752 0.0% 1,248 0.0%
trim 222 0.4% 28 0.0% 28 0.0% 257 0.1% 257 0.1% 21,856 0.1% 21,856 0.1% 5,096 0.0% 5,096 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKey 215 0.3% 1,205 0.3% 597 0.2% 1,363 0.4% 570 0.2% 24,312 0.1% 12,024 0.0% 5,864 0.0% 1,960 0.0%
call_user_func@1 200 0.3% 54,828 15.6% 533 0.2% 51,044 15.2% 497 0.1% 4,027,072 11.2% 58,432 0.2% 3,723,208 10.3% 2,872 0.0%
array_replace 198 0.3% 350 0.1% 350 0.1% 509 0.2% 509 0.2% 519,312 1.4% 519,312 1.4% 7,512 0.0% 7,512 0.0%
element_children 197 0.3% 1,645 0.5% 354 0.1% 1,786 0.5% 398 0.1% 103,328 0.3% 15,344 0.0% 41,424 0.1% 384 0.0%
array_filter 195 0.3% 368 0.1% 366 0.1% 501 0.1% 495 0.1% 50,152 0.1% 48,984 0.1% 15,096 0.0% 14,352 0.0%
array_intersect_key 193 0.3% 292 0.1% 292 0.1% 434 0.1% 434 0.1% 95,944 0.3% 95,944 0.3% 18,168 0.1% 18,168 0.1%
Drupal\Core\Template\Attribute::__construct 179 0.3% 3,701 1.0% 637 0.2% 3,843 1.1% 552 0.2% 183,800 0.5% 36,760 0.1% 53,840 0.1% 4,848 0.0%
Drupal\Core\Template\Attribute::__toString 179 0.3% 4,842 1.4% 1,449 0.4% 4,951 1.5% 1,038 0.3% 58,808 0.2% 2,488 0.0% 20,448 0.1% 4,856 0.0%
rawurlencode 178 0.3% 46 0.0% 46 0.0% 218 0.1% 218 0.1% 22,992 0.1% 22,992 0.1% 3,736 0.0% 3,736 0.0%
Drupal\menu_link\Entity\MenuLink::offsetExists 167 0.3% 69 0.0% 69 0.0% 214 0.1% 214 0.1% 12,920 0.0% 12,920 0.0% 288 0.0% 288 0.0%
Symfony\Component\Routing\Route::getOption 165 0.3% 129 0.0% 129 0.0% 261 0.1% 261 0.1% 7,136 0.0% 7,136 0.0% 2,440 0.0% 2,440 0.0%
Drupal\Core\Config\ConfigFactory::loadMultiple 163 0.3% 13,358 3.8% 1,886 0.5% 10,483 3.1% 1,522 0.5% 527,152 1.5% 18,200 0.1% 703,224 1.9% 16,624 0.0%
Drupal\Core\Database\Connection::prefixTables 161 0.3% 711 0.2% 401 0.1% 850 0.3% 427 0.1% 43,672 0.1% -184,976 -0.5% 34,952 0.1% 760 0.0%
Drupal\Core\Database\Connection::defaultOptions 161 0.3% 204 0.1% 204 0.1% 347 0.1% 347 0.1% 134,840 0.4% 134,840 0.4% 30,160 0.1% 30,160 0.1%
Drupal\Core\Database\Statement::__construct 161 0.3% 613 0.2% 541 0.2% 713 0.2% 500 0.1% 9,696 0.0% 8,880 0.0% 1,808 0.0% 1,160 0.0%
PDO::prepare 161 0.3% 1,191 0.3% 578 0.2% 1,311 0.4% 598 0.2% 167,320 0.5% 157,624 0.4% 9,016 0.0% 7,208 0.0%
Drupal\Core\Database\Statement::execute 161 0.3% 25,625 7.3% 1,711 0.5% 8,275 2.5% 1,183 0.4% 898,632 2.5% 2,160 0.0% 326,416 0.9% 2,208 0.0%
PDOStatement::execute 161 0.3% 23,871 6.8% 23,871 6.8% 6,561 2.0% 6,561 2.0% 894,016 2.5% 894,016 2.5% 322,080 0.9% 322,080 0.9%
Drupal\Core\Database\Connection::getLogger 161 0.3% 43 0.0% 43 0.0% 208 0.1% 208 0.1% 856 0.0% 856 0.0% 776 0.0% 776 0.0%
Drupal\Core\Database\Connection::prepareQuery 161 0.3% 2,583 0.7% 681 0.2% 2,723 0.8% 562 0.2% 178,488 0.5% -32,504 -0.1% 45,704 0.1% 1,736 0.0%
Drupal\Core\Database\Connection::query 161 0.3% 32,535 9.2% 1,784 0.5% 15,231 4.5% 1,395 0.4% 1,093,936 3.0% -138,000 -0.4% 534,400 1.5% 31,800 0.1%
Drupal\Core\Database\Connection::expandArguments 161 0.3% 2,339 0.7% 1,585 0.4% 2,491 0.7% 1,386 0.4% 19,976 0.1% -121,888 -0.3% 100,320 0.3% 66,928 0.2%
Drupal\Core\StringTranslation\TranslationManager::getStringTranslation 160 0.3% 663 0.2% 462 0.1% 790 0.2% 461 0.1% 16,328 0.0% 1,520 0.0% 9,888 0.0% 3,048 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass@1 160 0.3% 32,883 9.3% 2,920 0.8% 33,082 9.9% 2,231 0.7% 6,141,920 17.0% -65,216 -0.2% 5,557,024 15.4% 32,704 0.1%
Drupal\Core\Entity\EntityControllerBase::moduleHandler 160 0.3% 118 0.0% 118 0.0% 238 0.1% 238 0.1% 3,104 0.0% 3,104 0.0% 1,664 0.0% 1,664 0.0%
Drupal\Core\StringTranslation\TranslationManager::translate 160 0.3% 1,903 0.5% 615 0.2% 2,017 0.6% 589 0.2% 40,816 0.1% -2,072 -0.0% 536,440 1.5% 8,952 0.0%
Drupal\Core\StringTranslation\Translator\StaticTranslation::getStringTranslation 160 0.3% 189 0.1% 184 0.1% 316 0.1% 309 0.1% 11,352 0.0% 9,144 0.0% 3,120 0.0% 1,464 0.0%
Drupal\Component\Utility\NestedArray::mergeDeepArray 156 0.3% 2,558 0.7% 2,537 0.7% 2,680 0.8% 1,627 0.5% 166,952 0.5% 162,336 0.5% 52,080 0.1% 49,016 0.1%
Symfony\Component\HttpFoundation\Request::get 156 0.3% 1,799 0.5% 817 0.2% 1,917 0.6% 635 0.2% 7,408 0.0% 6,568 0.0% 1,784 0.0% 984 0.0%
Drupal\Core\Entity\EntityManager::getDefinition 155 0.3% 10,976 3.1% 982 0.3% 10,876 3.2% 762 0.2% 2,222,472 6.2% 5,952 0.0% 2,045,696 5.7% 4,056 0.0%
Drupal\Component\Plugin\PluginManagerBase::getDefinition 155 0.3% 2,531 0.7% 374 0.1% 2,410 0.7% 395 0.1% 510,048 1.4% 1,184 0.0% 568,536 1.6% 400 0.0%
Drupal\Core\Plugin\Discovery\CacheDecorator::getDefinition 155 0.3% 2,157 0.6% 168 0.0% 2,015 0.6% 264 0.1% 508,864 1.4% 1,248 0.0% 568,136 1.6% 168 0.0%
Symfony\Component\HttpFoundation\ParameterBag::add 153 0.2% 626 0.2% 330 0.1% 754 0.2% 341 0.1% 209,048 0.6% -244,432 -0.7% 3,464 0.0% 696 0.0%
reset 152 0.2% 28 0.0% 28 0.0% 174 0.1% 174 0.1% 10,360 0.0% 10,360 0.0% 3,328 0.0% 3,328 0.0%
Drupal\Core\Entity\EntityType::getKeys 151 0.2% 194 0.1% 194 0.1% 291 0.1% 291 0.1% 120,904 0.3% 120,904 0.3% 18,840 0.1% 18,840 0.1%
strlen 150 0.2% 3 0.0% 3 0.0% 164 0.0% 164 0.0% 10,504 0.0% 10,504 0.0% 4,744 0.0% 4,744 0.0%
Drupal::translation 149 0.2% 2,612 0.7% 314 0.1% 2,722 0.8% 305 0.1% 232,128 0.6% 14,208 0.0% 238,016 0.7% 2,656 0.0%
t 149 0.2% 4,884 1.4% 604 0.2% 5,020 1.5% 525 0.2% 293,504 0.8% 25,496 0.1% 653,816 1.8% 8,040 0.0%
Drupal\Core\Entity\EntityType::getKey 147 0.2% 601 0.2% 352 0.1% 717 0.2% 365 0.1% 16,160 0.0% -105,648 -0.3% 24,240 0.1% 2,672 0.0%
Symfony\Component\DependencyInjection\Container::get@1 141 0.2% 42,370 12.0% 687 0.2% 41,951 12.5% 673 0.2% 6,426,256 17.8% 9,856 0.0% 6,094,136 16.9% 20,784 0.1%
Drupal\Core\DependencyInjection\Container::get@1 141 0.2% 43,168 12.2% 745 0.2% 42,742 12.8% 615 0.2% 6,482,104 18.0% 55,048 0.2% 6,116,560 16.9% 21,856 0.1%
array_merge 140 0.2% 154 0.0% 154 0.0% 248 0.1% 248 0.1% 91,368 0.3% 91,368 0.3% 26,736 0.1% 26,736 0.1%
Drupal\Core\Language\LanguageManager::getDefaultLanguage 140 0.2% 401 0.1% 366 0.1% 532 0.2% 330 0.1% 3,776 0.0% 2,904 0.0% 1,896 0.0% 1,056 0.0%
Drupal\Core\Config\Config::isNew 140 0.2% 41 0.0% 41 0.0% 161 0.0% 161 0.0% 856 0.0% 856 0.0% 0 0.0% 0 0.0%
[ display all ]