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

Overall Summary
Total Incl. Wall Time (microsec):577,197 microsecs
Total Incl. CPU (microsecs):561,581 microsecs
Total Incl. MemUse (bytes):47,049,216 bytes
Total Incl. PeakMemUse (bytes):47,128,624 bytes
Number of Function Calls:89,445


[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%
strpos 7,424 8.3% 7,489 1.3% 7,489 1.3% 11,510 2.0% 11,510 2.0% 57,888 0.1% 57,888 0.1% 15,392 0.0% 15,392 0.0%
is_array 3,228 3.6% 3,239 0.6% 3,239 0.6% 5,171 0.9% 5,171 0.9% 64,120 0.1% 64,120 0.1% 37,432 0.1% 37,432 0.1%
is_object 2,894 3.2% 3,050 0.5% 3,050 0.5% 5,225 0.9% 5,225 0.9% 19,112 0.0% 19,112 0.0% 9,264 0.0% 9,264 0.0%
Drupal\Core\DependencyInjection\Container::get 2,165 2.4% 127,089 22.0% 12,812 2.2% 128,437 22.9% 11,207 2.0% 12,232,464 26.0% -11,712 -0.0% 12,485,752 26.5% 294,280 0.6%
Symfony\Component\DependencyInjection\Container::get 2,165 2.4% 112,029 19.4% 6,878 1.2% 113,363 20.2% 8,328 1.5% 12,243,376 26.0% 19,432 0.0% 12,190,752 25.9% 448,496 1.0%
array_key_exists 1,375 1.5% 1,493 0.3% 1,493 0.3% 2,982 0.5% 2,982 0.5% 62,216 0.1% 62,216 0.1% 77,272 0.2% 77,272 0.2%
substr 1,359 1.5% 1,369 0.2% 1,369 0.2% 2,423 0.4% 2,423 0.4% 94,376 0.2% 94,376 0.2% 21,304 0.0% 21,304 0.0%
strtr 1,227 1.4% 3,973 0.7% 3,973 0.7% 5,107 0.9% 5,107 0.9% 97,808 0.2% 97,808 0.2% 2,217,000 4.7% 2,217,000 4.7%
is_integer 1,215 1.4% 1,217 0.2% 1,217 0.2% 1,798 0.3% 1,798 0.3% 2,448 0.0% 2,448 0.0% 808 0.0% 808 0.0%
array_keys 1,190 1.3% 2,417 0.4% 2,417 0.4% 3,501 0.6% 3,501 0.6% 1,729,504 3.7% 1,729,504 3.7% 171,648 0.4% 171,648 0.4%
Drupal\Component\Utility\SafeMarkup::set 1,047 1.2% 2,632 0.5% 2,632 0.5% 3,442 0.6% 3,442 0.6% 694,232 1.5% 694,232 1.5% 56,624 0.1% 56,624 0.1%
file_exists 930 1.0% 5,351 0.9% 5,351 0.9% 6,073 1.1% 6,073 1.1% 5,616 0.0% 5,616 0.0% 2,440 0.0% 2,440 0.0%
Composer\Autoload\ClassLoader::findFileWithExtension 839 0.9% 31,275 5.4% 18,410 3.2% 31,986 5.7% 13,817 2.5% 133,168 0.3% 27,512 0.1% 120,176 0.3% 107,112 0.2%
Composer\Autoload\ClassLoader::findFile 839 0.9% 35,897 6.2% 4,620 0.8% 36,621 6.5% 4,632 0.8% 139,728 0.3% 5,768 0.0% 143,888 0.3% 23,712 0.1%
implode 668 0.7% 1,874 0.3% 822 0.1% 2,494 0.4% 1,436 0.3% 205,616 0.4% 183,984 0.4% 44,712 0.1% 33,816 0.1%
Drupal\Component\Utility\NestedArray::mergeDeepArray 632 0.7% 5,375 0.9% 3,686 0.6% 5,851 1.0% 3,547 0.6% 233,912 0.5% 213,536 0.5% 97,936 0.2% 78,968 0.2%
preg_replace 574 0.6% 1,993 0.3% 1,993 0.3% 2,480 0.4% 2,480 0.4% 274,696 0.6% 274,696 0.6% 43,400 0.1% 43,400 0.1%
function_exists 569 0.6% 639 0.1% 639 0.1% 1,167 0.2% 1,167 0.2% 17,344 0.0% 17,344 0.0% 8,616 0.0% 8,616 0.0%
func_get_args 557 0.6% 628 0.1% 628 0.1% 1,049 0.2% 1,049 0.2% 389,552 0.8% 389,552 0.8% 31,896 0.1% 31,896 0.1%
Drupal\Component\Utility\NestedArray::mergeDeep 535 0.6% 6,160 1.1% 2,588 0.4% 6,561 1.2% 2,199 0.4% 144,816 0.3% -349,552 -0.7% 117,848 0.3% 8,736 0.0%
Drupal\Core\Plugin\DefaultPluginManager::doGetDefinition 506 0.6% 952 0.2% 952 0.2% 1,366 0.2% 1,366 0.2% 1,296 0.0% 1,296 0.0% 0 0.0% 0 0.0%
Drupal\Core\Plugin\DefaultPluginManager::getDefinition 506 0.6% 10,634 1.8% 1,840 0.3% 9,767 1.7% 1,860 0.3% 1,670,504 3.6% 15,368 0.0% 2,162,088 4.6% 21,152 0.0%
Drupal\Core\Entity\EntityType::isStaticallyCacheable 479 0.5% 530 0.1% 530 0.1% 999 0.2% 999 0.2% 4,328 0.0% 4,328 0.0% 3,016 0.0% 3,016 0.0%
strlen 476 0.5% 481 0.1% 481 0.1% 818 0.1% 818 0.1% 15,320 0.0% 15,320 0.0% 7,968 0.0% 7,968 0.0%
count 474 0.5% 534 0.1% 497 0.1% 842 0.1% 799 0.1% 26,568 0.1% 22,368 0.0% 11,576 0.0% 10,400 0.0%
htmlspecialchars 468 0.5% 659 0.1% 659 0.1% 1,043 0.2% 1,043 0.2% 80,280 0.2% 80,280 0.2% 6,440 0.0% 6,440 0.0%
Drupal\Component\Utility\String::checkPlain 468 0.5% 3,990 0.7% 2,302 0.4% 4,339 0.8% 1,925 0.3% 168,568 0.4% -63,264 -0.1% 43,584 0.1% 11,136 0.0%
Composer\Autoload\ClassLoader::loadClass 467 0.5% 182,811 31.7% 2,713 0.5% 183,349 32.6% 2,484 0.4% 25,945,272 55.1% 134,688 0.3% 25,055,760 53.2% 13,472 0.0%
Composer\Autoload\includeFile 466 0.5% 158,926 27.5% 7,807 1.4% 159,327 28.4% 6,827 1.2% 25,732,416 54.7% -668,664 -1.4% 24,935,776 52.9% 22,496 0.0%
is_string 460 0.5% 474 0.1% 474 0.1% 856 0.2% 856 0.2% 21,896 0.0% 21,896 0.0% 7,512 0.0% 7,512 0.0%
Drupal::service 408 0.5% 24,435 4.2% 1,383 0.2% 24,795 4.4% 1,417 0.3% 2,250,016 4.8% 58,336 0.1% 2,148,440 4.6% 15,648 0.0%
array_intersect_key 398 0.4% 538 0.1% 538 0.1% 935 0.2% 935 0.2% 130,296 0.3% 130,296 0.3% 19,728 0.0% 19,728 0.0%
in_array 392 0.4% 445 0.1% 445 0.1% 788 0.1% 788 0.1% 17,584 0.0% 17,584 0.0% 9,160 0.0% 9,160 0.0%
strtolower 386 0.4% 407 0.1% 407 0.1% 785 0.1% 785 0.1% 38,472 0.1% 38,472 0.1% 12,104 0.0% 12,104 0.0%
Drupal\Core\Access\AccessResult::setCacheable 376 0.4% 480 0.1% 480 0.1% 857 0.2% 857 0.2% -1,088 -0.0% -1,088 -0.0% 1,920 0.0% 1,920 0.0%
Drupal\Core\Access\AccessResult::setCacheMaxAge 368 0.4% 381 0.1% 381 0.1% 705 0.1% 705 0.1% -1,536 -0.0% -1,536 -0.0% 1,656 0.0% 1,656 0.0%
Drupal::theme 363 0.4% 4,308 0.7% 1,120 0.2% 4,619 0.8% 1,197 0.2% 36,720 0.1% 53,344 0.1% 257,152 0.5% 10,968 0.0%
array_flip 361 0.4% 545 0.1% 545 0.1% 918 0.2% 918 0.2% 236,864 0.5% 236,864 0.5% 76,880 0.2% 76,880 0.2%
array_diff 352 0.4% 1,797 0.3% 1,797 0.3% 2,085 0.4% 2,085 0.4% 69,712 0.1% 69,712 0.1% 24,424 0.1% 24,424 0.1%
array_merge 316 0.4% 441 0.1% 441 0.1% 734 0.1% 734 0.1% 210,568 0.4% 210,568 0.4% 42,096 0.1% 42,096 0.1%
Drupal::typedDataManager 308 0.3% 4,179 0.7% 1,049 0.2% 4,438 0.8% 1,074 0.2% 10,992 0.0% 24,960 0.1% 74,160 0.2% 11,048 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementationInfo 303 0.3% 2,310 0.4% 1,152 0.2% 2,412 0.4% 1,358 0.2% 86,608 0.2% 12,360 0.0% 105,384 0.2% 14,312 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementations 303 0.3% 4,271 0.7% 1,641 0.3% 4,325 0.8% 1,335 0.2% 160,760 0.3% 22,688 0.0% 120,256 0.3% 7,112 0.0%
class_exists 302 0.3% 50,376 8.7% 940 0.2% 50,652 9.0% 1,129 0.2% 7,687,480 16.3% 3,576 0.0% 7,149,240 15.2% 14,624 0.0%
explode 300 0.3% 455 0.1% 455 0.1% 743 0.1% 743 0.1% 164,144 0.3% 164,144 0.3% 22,944 0.0% 22,944 0.0%
end 300 0.3% 323 0.1% 323 0.1% 561 0.1% 561 0.1% 1,656 0.0% 1,656 0.0% 1,448 0.0% 1,448 0.0%
Symfony\Component\HttpFoundation\RequestStack::getCurrentRequest 299 0.3% 1,355 0.2% 1,033 0.2% 1,629 0.3% 1,070 0.2% 26,576 0.1% 25,768 0.1% 7,800 0.0% 7,080 0.0%
Drupal\Core\Theme\ThemeManager::getActiveTheme 292 0.3% 3,480 0.6% 434 0.1% 3,406 0.6% 692 0.1% 271,352 0.6% 19,752 0.0% 260,696 0.6% 9,016 0.0%
is_subclass_of 286 0.3% 612 0.1% 612 0.1% 831 0.1% 831 0.1% 5,696 0.0% 5,696 0.0% 4,624 0.0% 4,624 0.0%
reset 282 0.3% 296 0.1% 296 0.1% 540 0.1% 540 0.1% 16,840 0.0% 16,840 0.0% 4,720 0.0% 4,720 0.0%
ksort 268 0.3% 275 0.0% 275 0.0% 459 0.1% 459 0.1% 9,832 0.0% 9,832 0.0% 4,856 0.0% 4,856 0.0%
is_numeric 265 0.3% 267 0.0% 267 0.0% 471 0.1% 471 0.1% 8,800 0.0% 8,800 0.0% 4,872 0.0% 4,872 0.0%
Drupal\Core\Access\AccessResult::getCacheMaxAge 264 0.3% 265 0.0% 265 0.0% 463 0.1% 463 0.1% 936 0.0% 936 0.0% 872 0.0% 872 0.0%
array_unique 260 0.3% 305 0.1% 305 0.1% 501 0.1% 501 0.1% 57,776 0.1% 57,776 0.1% 4,136 0.0% 4,136 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKeys 258 0.3% 584 0.1% 584 0.1% 845 0.2% 845 0.2% 103,784 0.2% 103,784 0.2% 19,592 0.0% 19,592 0.0%
Drupal::entityManager 252 0.3% 3,480 0.6% 878 0.2% 3,707 0.7% 908 0.2% 13,288 0.0% 24,600 0.1% 29,792 0.1% 6,696 0.0%
PDOStatement::setFetchMode 250 0.3% 356 0.1% 356 0.1% 578 0.1% 578 0.1% 3,256 0.0% 3,256 0.0% 2,168 0.0% 2,168 0.0%
Drupal\Component\Plugin\PluginBag::get 249 0.3% 16,928 2.9% 384 0.1% 16,678 3.0% 595 0.1% 1,411,160 3.0% 4,936 0.0% 1,286,416 2.7% 2,344 0.0%
Composer\Autoload\includeFile@1 237 0.3% 54,399 9.4% 3,754 0.7% 54,607 9.7% 3,252 0.6% 8,841,968 18.8% -257,056 -0.5% 7,992,504 17.0% 11,584 0.0%
Composer\Autoload\ClassLoader::loadClass@1 237 0.3% 65,568 11.4% 1,548 0.3% 65,858 11.7% 1,428 0.3% 8,996,968 19.1% 117,856 0.3% 8,026,904 17.0% 13,192 0.0%
Drupal\Core\Access\AccessResult::__construct 236 0.3% 3,472 0.6% 2,340 0.4% 3,641 0.6% 1,662 0.3% 94,368 0.2% 26,408 0.1% 13,656 0.0% 7,808 0.0%
Drupal\Core\Access\AccessResult::resetCacheContexts 236 0.3% 296 0.1% 296 0.1% 514 0.1% 514 0.1% 33,032 0.1% 33,032 0.1% 2,152 0.0% 2,152 0.0%
Drupal\Core\Access\AccessResult::resetCacheTags 236 0.3% 249 0.0% 249 0.0% 450 0.1% 450 0.1% 33,048 0.1% 33,048 0.1% 2,480 0.0% 2,480 0.0%
key 234 0.3% 234 0.0% 234 0.0% 372 0.1% 372 0.1% 8,448 0.0% 8,448 0.0% 1,944 0.0% 1,944 0.0%
array_filter 234 0.3% 1,060 0.2% 605 0.1% 1,280 0.2% 770 0.1% 103,848 0.2% 73,144 0.2% 33,344 0.1% 20,992 0.0%
array_diff_key 232 0.3% 238 0.0% 238 0.0% 438 0.1% 438 0.1% 25,248 0.1% 25,248 0.1% 1,168 0.0% 1,168 0.0%
SplDoublyLinkedList::push 232 0.3% 263 0.0% 263 0.0% 487 0.1% 487 0.1% 29,160 0.1% 29,160 0.1% 8,528 0.0% 8,528 0.0%
Drupal\Core\TypedData\DataDefinition::getDataType 230 0.3% 346 0.1% 346 0.1% 570 0.1% 570 0.1% 5,200 0.0% 5,200 0.0% 3,896 0.0% 3,896 0.0%
drupal_merge_attached 229 0.3% 2,593 0.4% 663 0.1% 2,735 0.5% 655 0.1% 42,144 0.1% 8,896 0.0% 5,296 0.0% 832 0.0%
SplDoublyLinkedList::pop 229 0.3% 235 0.0% 235 0.0% 433 0.1% 433 0.1% -13,368 -0.0% -13,368 -0.0% 592 0.0% 592 0.0%
drupal_merge_cache_tags 229 0.3% 770 0.1% 650 0.1% 959 0.2% 778 0.1% 70,656 0.2% 69,880 0.1% 680 0.0% 680 0.0%
Drupal\Core\Entity\EntityType::getClass 227 0.3% 256 0.0% 256 0.0% 463 0.1% 463 0.1% 4,248 0.0% 4,248 0.0% 2,144 0.0% 2,144 0.0%
Drupal\Core\Config\ConfigBase::validateKeys@2 222 0.2% 2,192 0.4% 1,347 0.2% 2,373 0.4% 1,078 0.2% 17,792 0.0% -14,144 -0.0% 18,128 0.0% 792 0.0%
array_shift 222 0.2% 230 0.0% 230 0.0% 421 0.1% 421 0.1% -11,968 -0.0% -11,968 -0.0% 2,760 0.0% 2,760 0.0%
str_replace 219 0.2% 544 0.1% 544 0.1% 721 0.1% 721 0.1% 207,152 0.4% 207,152 0.4% 44,008 0.1% 44,008 0.1%
Drupal\Core\TypedData\TypedData::setContext 216 0.2% 485 0.1% 485 0.1% 685 0.1% 685 0.1% 5,328 0.0% 5,328 0.0% 4,568 0.0% 4,568 0.0%
{closure} 212 0.2% 8,602 1.5% 3,434 0.6% 8,766 1.6% 2,719 0.5% 83,440 0.2% -28,440 -0.1% 13,816 0.0% 4,464 0.0%
Drupal\Core\Entity\ContentEntityBase::getEntityKey 208 0.2% 1,230 0.2% 868 0.2% 1,396 0.2% 836 0.1% 17,488 0.0% 7,544 0.0% 14,488 0.0% 5,912 0.0%
Drupal\Core\Utility\ThemeRegistry::has 207 0.2% 796 0.1% 584 0.1% 979 0.2% 616 0.1% 19,768 0.0% 18,968 0.0% 3,472 0.0% 3,472 0.0%
Drupal\Core\Entity\EntityManager::getHandler 206 0.2% 24,136 4.2% 823 0.1% 24,025 4.3% 876 0.2% 3,810,632 8.1% 9,800 0.0% 3,661,536 7.8% 7,824 0.0%
dirname 204 0.2% 241 0.0% 241 0.0% 391 0.1% 391 0.1% 21,960 0.0% 21,960 0.0% 4,816 0.0% 4,816 0.0%
Drupal\Core\Session\AccountProxy::getAccount 201 0.2% 1,878 0.3% 300 0.1% 1,973 0.4% 492 0.1% 124,976 0.3% 5,160 0.0% 152,896 0.3% 3,168 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 200 0.2% 2,616 0.5% 1,445 0.3% 2,779 0.5% 1,161 0.2% 90,496 0.2% 52,160 0.1% 51,776 0.1% 5,992 0.0%
Drupal\Core\Template\Attribute::offsetSet 200 0.2% 3,360 0.6% 744 0.1% 3,524 0.6% 745 0.1% 141,888 0.3% 51,392 0.1% 56,976 0.1% 5,200 0.0%
Drupal\Core\Template\AttributeValueBase::__construct 200 0.2% 346 0.1% 346 0.1% 496 0.1% 496 0.1% 896 0.0% 896 0.0% 864 0.0% 864 0.0%
Drupal\Core\Entity\Entity::id 199 0.2% 259 0.0% 259 0.0% 459 0.1% 459 0.1% 5,952 0.0% 5,952 0.0% 2,384 0.0% 2,384 0.0%
unserialize 198 0.2% 16,257 2.8% 6,993 1.2% 16,432 2.9% 7,074 1.3% 5,306,440 11.3% 3,478,328 7.4% 5,286,432 11.2% 3,478,384 7.4%
Drupal\Core\Template\AttributeValueBase::render 196 0.2% 5,917 1.0% 1,237 0.2% 6,071 1.1% 1,097 0.2% 102,400 0.2% -12,688 -0.0% 36,184 0.1% 2,896 0.0%
Drupal\Core\Session\UserSession::id 183 0.2% 210 0.0% 210 0.0% 383 0.1% 383 0.1% 1,672 0.0% 1,672 0.0% 1,584 0.0% 1,584 0.0%
is_bool 182 0.2% 183 0.0% 183 0.0% 302 0.1% 302 0.1% 3,176 0.0% 3,176 0.0% 1,480 0.0% 1,480 0.0%
Drupal\Core\Access\AccessResult::isCacheable 175 0.2% 178 0.0% 178 0.0% 343 0.1% 343 0.1% 2,584 0.0% 2,584 0.0% 1,592 0.0% 1,592 0.0%
Drupal\Core\Extension\Extension::getPath 170 0.2% 692 0.1% 490 0.1% 824 0.1% 498 0.1% 23,128 0.0% 12,616 0.0% 7,224 0.0% 4,448 0.0%
Drupal\Core\Access\AccessResult::addCacheContexts 168 0.2% 1,224 0.2% 853 0.1% 1,368 0.2% 722 0.1% 15,512 0.0% -97,920 -0.2% 7,288 0.0% 2,104 0.0%
Drupal\Core\Entity\EntityManager::getStorage 167 0.2% 20,443 3.5% 551 0.1% 20,306 3.6% 557 0.1% 3,317,520 7.1% 13,632 0.0% 3,212,352 6.8% 7,000 0.0%
Drupal\Core\Config\ConfigBase::validateKeys@1 165 0.2% 5,484 1.0% 2,163 0.4% 5,596 1.0% 1,581 0.3% 21,080 0.0% -4,640 -0.0% 20,424 0.0% 928 0.0%
preg_match 164 0.2% 313 0.1% 313 0.1% 441 0.1% 441 0.1% 20,744 0.0% 20,744 0.0% 9,784 0.0% 9,784 0.0%
ReflectionClass::isInstance 163 0.2% 193 0.0% 193 0.0% 314 0.1% 314 0.1% 1,680 0.0% 1,680 0.0% 1,648 0.0% 1,648 0.0%
Drupal\Core\Access\AccessResult::addCacheTags 160 0.2% 1,291 0.2% 973 0.2% 1,418 0.3% 899 0.2% 42,008 0.1% 40,416 0.1% 9,728 0.0% 8,600 0.0%
drupal_static 159 0.2% 590 0.1% 573 0.1% 709 0.1% 680 0.1% 18,544 0.0% 17,768 0.0% 10,112 0.0% 9,504 0.0%
Drupal\Core\Database\Connection::escapeTable 159 0.2% 1,047 0.2% 572 0.1% 1,200 0.2% 591 0.1% 19,888 0.0% 1,392 0.0% 18,280 0.0% 10,592 0.0%
[ display all ]