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

Overall Summary
Total Incl. Wall Time (microsec):160,218 microsecs
Total Incl. CPU (microsecs):149,595 microsecs
Total Incl. MemUse (bytes):14,283,168 bytes
Total Incl. PeakMemUse (bytes):14,361,208 bytes
Number of Function Calls:44,239


[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 4,809 10.9% 48 0.0% 48 0.0% 4,339 2.9% 4,339 2.9% 26,616 0.2% 26,616 0.2% 16,920 0.1% 16,920 0.1%
array_key_exists 1,975 4.5% 341 0.2% 341 0.2% 2,276 1.5% 2,276 1.5% 27,304 0.2% 27,304 0.2% 16,176 0.1% 16,176 0.1%
strtolower 1,442 3.3% 277 0.2% 277 0.2% 1,704 1.1% 1,704 1.1% 73,944 0.5% 73,944 0.5% 16,768 0.1% 16,768 0.1%
is_object 1,370 3.1% 58 0.0% 58 0.0% 1,414 0.9% 1,414 0.9% 15,144 0.1% 15,144 0.1% 11,840 0.1% 11,840 0.1%
strtr 1,194 2.7% 1,123 0.7% 1,123 0.7% 2,134 1.4% 2,134 1.4% 64,120 0.4% 64,120 0.4% 1,440,184 10.0% 1,440,184 10.0%
substr 1,151 2.6% 29 0.0% 29 0.0% 1,194 0.8% 1,194 0.8% 65,096 0.5% 65,096 0.5% 15,960 0.1% 15,960 0.1%
is_integer 1,110 2.5% 0 0.0% 0 0.0% 988 0.7% 988 0.7% 1,616 0.0% 1,616 0.0% 648 0.0% 648 0.0%
is_array 961 2.2% 5 0.0% 5 0.0% 959 0.6% 959 0.6% 40,128 0.3% 40,128 0.3% 18,856 0.1% 18,856 0.1%
Symfony\Component\DependencyInjection\Container::get 902 2.0% 27,802 17.4% 4,437 2.8% 28,043 18.7% 3,271 2.2% 3,496,184 24.5% -13,352 -0.1% 3,326,512 23.2% 40,352 0.3%
Drupal\Core\DependencyInjection\Container::get 902 2.0% 32,019 20.0% 4,180 2.6% 32,255 21.6% 3,294 2.2% 3,520,416 24.6% 23,432 0.2% 3,384,264 23.6% 57,184 0.4%
array_keys 695 1.6% 468 0.3% 468 0.3% 1,016 0.7% 1,016 0.7% 329,064 2.3% 329,064 2.3% 72,016 0.5% 72,016 0.5%
file_exists 521 1.2% 1,885 1.2% 1,885 1.2% 2,238 1.5% 2,238 1.5% 5,520 0.0% 5,520 0.0% 3,792 0.0% 3,792 0.0%
strrpos 501 1.1% 40 0.0% 40 0.0% 565 0.4% 565 0.4% 3,112 0.0% 3,112 0.0% 1,840 0.0% 1,840 0.0%
Composer\Autoload\ClassLoader::findFile 488 1.1% 16,644 10.4% 14,579 9.1% 17,036 11.4% 8,583 5.7% 85,256 0.6% 2,728 0.0% 308,784 2.2% 279,144 1.9%
in_array 482 1.1% 127 0.1% 127 0.1% 575 0.4% 575 0.4% 19,160 0.1% 19,160 0.1% 11,168 0.1% 11,168 0.1%
count 404 0.9% 219 0.1% 116 0.1% 647 0.4% 513 0.3% 27,920 0.2% 22,016 0.2% 13,408 0.1% 11,768 0.1%
Symfony\Component\HttpFoundation\ParameterBag::get 397 0.9% 953 0.6% 912 0.6% 1,333 0.9% 911 0.6% 37,032 0.3% 36,224 0.3% 22,392 0.2% 21,584 0.2%
preg_replace 391 0.9% 740 0.5% 740 0.5% 1,039 0.7% 1,039 0.7% 68,040 0.5% 68,040 0.5% 19,712 0.1% 19,712 0.1%
function_exists 390 0.9% 317 0.2% 317 0.2% 570 0.4% 570 0.4% 13,408 0.1% 13,408 0.1% 5,072 0.0% 5,072 0.0%
htmlspecialchars 321 0.7% 188 0.1% 188 0.1% 439 0.3% 439 0.3% 51,048 0.4% 51,048 0.4% 2,168 0.0% 2,168 0.0%
Drupal\Component\Utility\String::checkPlain 321 0.7% 778 0.5% 590 0.4% 1,073 0.7% 634 0.4% 73,256 0.5% 22,208 0.2% 10,672 0.1% 8,504 0.1%
explode 293 0.7% 194 0.1% 194 0.1% 420 0.3% 420 0.3% 142,640 1.0% 142,640 1.0% 18,872 0.1% 18,872 0.1%
Drupal::moduleHandler 275 0.6% 3,902 2.4% 631 0.4% 4,127 2.8% 680 0.5% 174,496 1.2% 30,712 0.2% 168,584 1.2% 6,904 0.0%
Composer\Autoload\ClassLoader::loadClass 266 0.6% 29,929 18.7% 2,302 1.4% 30,260 20.2% 1,583 1.1% 5,811,312 40.7% 277,024 1.9% 4,930,552 34.3% 285,464 2.0%
implode 245 0.6% 196 0.1% 196 0.1% 357 0.2% 357 0.2% 86,728 0.6% 86,728 0.6% 14,016 0.1% 14,016 0.1%
PDOStatement::setFetchMode 230 0.5% 47 0.0% 47 0.0% 313 0.2% 313 0.2% 7,360 0.1% 7,360 0.1% 10,128 0.1% 10,128 0.1%
drupal_static 224 0.5% 538 0.3% 528 0.3% 850 0.6% 798 0.5% 44,184 0.3% 43,408 0.3% 61,064 0.4% 60,376 0.4%
Drupal\Core\Extension\CachedModuleHandler::getImplementationInfo 221 0.5% 1,024 0.6% 541 0.3% 1,097 0.7% 654 0.4% 68,592 0.5% 1,672 0.0% 85,408 0.6% 2,088 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementations 221 0.5% 2,016 1.3% 944 0.6% 2,089 1.4% 740 0.5% 139,344 1.0% 19,576 0.1% 100,656 0.7% 7,512 0.1%
is_string 212 0.5% 2 0.0% 2 0.0% 211 0.1% 211 0.1% 11,768 0.1% 11,768 0.1% 4,728 0.0% 4,728 0.0%
str_replace 207 0.5% 293 0.2% 293 0.2% 463 0.3% 463 0.3% 157,192 1.1% 157,192 1.1% 29,528 0.2% 29,528 0.2%
Drupal\menu_link\Entity\MenuLink::offsetGet 201 0.5% 65 0.0% 65 0.0% 264 0.2% 264 0.2% 6,760 0.0% 6,760 0.0% 560 0.0% 560 0.0%
Drupal\Core\Config\ConfigFactory::canOverride 182 0.4% 479 0.3% 470 0.3% 636 0.4% 439 0.3% 12,360 0.1% 11,568 0.1% 7,848 0.1% 7,056 0.0%
dirname 178 0.4% 11 0.0% 11 0.0% 196 0.1% 196 0.1% 22,072 0.2% 22,072 0.2% 9,264 0.1% 9,264 0.1%
Drupal\Core\Config\Config::get 169 0.4% 3,375 2.1% 647 0.4% 3,458 2.3% 568 0.4% 87,736 0.6% -9,416 -0.1% 36,360 0.3% 3,232 0.0%
array_diff 166 0.4% 235 0.1% 235 0.1% 359 0.2% 359 0.2% 27,704 0.2% 27,704 0.2% 9,568 0.1% 9,568 0.1%
Drupal::service 157 0.4% 8,164 5.1% 376 0.2% 8,221 5.5% 408 0.3% 848,632 5.9% 19,888 0.1% 774,440 5.4% 9,680 0.1%
is_scalar 155 0.4% 0 0.0% 0 0.0% 135 0.1% 135 0.1% 3,112 0.0% 3,112 0.0% 1,768 0.0% 1,768 0.0%
Drupal\Core\Template\Attribute::offsetSet 153 0.3% 1,597 1.0% 373 0.2% 1,709 1.1% 351 0.2% 81,256 0.6% 33,872 0.2% 6,080 0.0% 3,680 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 153 0.3% 1,224 0.8% 1,035 0.6% 1,358 0.9% 663 0.4% 47,384 0.3% 22,280 0.2% 2,400 0.0% 2,400 0.0%
Drupal\Core\Template\AttributeValueBase::__construct 152 0.3% 49 0.0% 49 0.0% 182 0.1% 182 0.1% 896 0.0% 896 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\AttributeValueBase::printed 149 0.3% 5 0.0% 5 0.0% 164 0.1% 164 0.1% 896 0.0% 896 0.0% 648 0.0% 648 0.0%
Drupal\Core\Template\AttributeValueBase::render 149 0.3% 1,798 1.1% 674 0.4% 1,895 1.3% 511 0.3% 29,432 0.2% -43,912 -0.3% 15,552 0.1% 2,664 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKey 145 0.3% 794 0.5% 391 0.2% 905 0.6% 383 0.3% 17,992 0.1% 9,064 0.1% 9,640 0.1% 3,440 0.0%
Drupal\Component\Utility\NestedArray::mergeDeepArray 139 0.3% 2,473 1.5% 2,461 1.5% 2,586 1.7% 1,586 1.1% 153,384 1.1% 149,064 1.0% 53,784 0.4% 50,424 0.4%
Composer\Autoload\ClassLoader::loadClass@1 137 0.3% 12,516 7.8% 1,169 0.7% 12,692 8.5% 828 0.6% 2,504,976 17.5% 164,416 1.2% 2,307,936 16.1% 178,368 1.2%
array_filter 135 0.3% 318 0.2% 302 0.2% 425 0.3% 386 0.3% 35,016 0.2% 32,600 0.2% 17,184 0.1% 16,456 0.1%
Drupal\Core\Entity\EntityType::getClass 134 0.3% 16 0.0% 16 0.0% 169 0.1% 169 0.1% 4,232 0.0% 4,232 0.0% 3,816 0.0% 3,816 0.0%
is_bool 130 0.3% 0 0.0% 0 0.0% 128 0.1% 128 0.1% 2,400 0.0% 2,400 0.0% 848 0.0% 848 0.0%
Drupal\Core\Render\Element::children 124 0.3% 1,060 0.7% 812 0.5% 1,147 0.8% 697 0.5% 59,152 0.4% 16,920 0.1% 11,056 0.1% 8,656 0.1%
Drupal\Core\Database\Connection::escapeTable 121 0.3% 508 0.3% 277 0.2% 623 0.4% 296 0.2% 15,864 0.1% 2,928 0.0% 14,824 0.1% 8,904 0.1%
Drupal\Core\Template\AttributeString::__toString 114 0.3% 516 0.3% 259 0.2% 608 0.4% 245 0.2% 30,312 0.2% 6,672 0.0% 3,856 0.0% 1,344 0.0%
array_merge 114 0.3% 128 0.1% 128 0.1% 207 0.1% 207 0.1% 101,768 0.7% 101,768 0.7% 41,464 0.3% 41,464 0.3%
Drupal\Core\DependencyInjection\Container::get@1 112 0.3% 16,741 10.4% 549 0.3% 16,705 11.2% 778 0.5% 2,457,560 17.2% 83,632 0.6% 2,433,072 16.9% 103,152 0.7%
preg_match 112 0.3% 249 0.2% 249 0.2% 342 0.2% 342 0.2% 26,080 0.2% 26,080 0.2% 7,920 0.1% 7,920 0.1%
Symfony\Component\DependencyInjection\Container::get@1 112 0.3% 16,179 10.1% 652 0.4% 15,804 10.6% 496 0.3% 2,373,128 16.6% 5,472 0.0% 2,329,200 16.2% 16,960 0.1%
unserialize 108 0.2% 4,391 2.7% 2,483 1.5% 4,491 3.0% 2,543 1.7% 1,709,448 12.0% 1,242,904 8.7% 2,104,704 14.7% 1,696,376 11.8%
Drupal\Core\Database\Connection::getLogger 103 0.2% 43 0.0% 43 0.0% 126 0.1% 126 0.1% 856 0.0% 856 0.0% 0 0.0% 0 0.0%
Drupal\Core\Database\Connection::prepareQuery 103 0.2% 1,705 1.1% 442 0.3% 1,786 1.2% 362 0.2% 104,864 0.7% -14,416 -0.1% 41,664 0.3% 2,432 0.0%
PDOStatement::execute 103 0.2% 14,214 8.9% 14,214 8.9% 3,858 2.6% 3,858 2.6% 535,464 3.7% 535,464 3.7% 275,152 1.9% 275,152 1.9%
Drupal\Core\Database\Statement::execute 103 0.2% 15,374 9.6% 1,117 0.7% 4,991 3.3% 782 0.5% 544,176 3.8% 2,160 0.0% 285,736 2.0% 1,536 0.0%
Drupal\Core\Database\Connection::query 103 0.2% 20,074 12.5% 1,144 0.7% 9,733 6.5% 928 0.6% 663,360 4.6% -75,992 -0.5% 477,704 3.3% 35,256 0.2%
PDO::prepare 103 0.2% 783 0.5% 371 0.2% 846 0.6% 376 0.3% 96,480 0.7% 89,568 0.6% 14,400 0.1% 12,424 0.1%
Drupal\Core\Database\Connection::prefixTables 103 0.2% 480 0.3% 274 0.2% 578 0.4% 291 0.2% 22,800 0.2% -105,360 -0.7% 24,832 0.2% 760 0.0%
Drupal\Core\Database\Connection::defaultOptions 103 0.2% 116 0.1% 116 0.1% 222 0.1% 222 0.1% 79,184 0.6% 79,184 0.6% 32,624 0.2% 32,624 0.2%
Drupal\Core\Database\Statement::__construct 103 0.2% 412 0.3% 371 0.2% 470 0.3% 327 0.2% 6,912 0.0% 6,096 0.0% 1,976 0.0% 1,328 0.0%
Drupal\Core\Database\Connection::expandArguments 103 0.2% 1,735 1.1% 1,130 0.7% 1,806 1.2% 965 0.6% 11,128 0.1% -89,952 -0.6% 82,424 0.6% 51,120 0.4%
trim 103 0.2% 28 0.0% 28 0.0% 132 0.1% 132 0.1% 9,736 0.1% 9,736 0.1% 4,216 0.0% 4,216 0.0%
Drupal\Core\StringTranslation\TranslationManager::getStringTranslation 102 0.2% 413 0.3% 286 0.2% 502 0.3% 306 0.2% 13,536 0.1% 1,520 0.0% 8,568 0.1% 2,064 0.0%
Drupal\Core\StringTranslation\TranslationManager::translate 102 0.2% 1,011 0.6% 328 0.2% 1,092 0.7% 313 0.2% 15,024 0.1% -2,616 -0.0% 304,544 2.1% 7,640 0.1%
Drupal\Core\StringTranslation\Translator\StaticTranslation::getStringTranslation 102 0.2% 118 0.1% 114 0.1% 185 0.1% 179 0.1% 8,560 0.1% 6,352 0.0% 2,816 0.0% 1,160 0.0%
strlen 100 0.2% 2 0.0% 2 0.0% 172 0.1% 172 0.1% 18,600 0.1% 18,600 0.1% 22,792 0.2% 22,792 0.2%
is_numeric 98 0.2% 1 0.0% 1 0.0% 107 0.1% 107 0.1% 7,960 0.1% 7,960 0.1% 4,808 0.0% 4,808 0.0%
filemtime 98 0.2% 322 0.2% 322 0.2% 389 0.3% 389 0.3% 4,464 0.0% 4,464 0.0% 1,936 0.0% 1,936 0.0%
t 97 0.2% 2,764 1.7% 408 0.3% 2,837 1.9% 338 0.2% 102,776 0.7% 18,720 0.1% 354,384 2.5% 11,000 0.1%
Drupal::translation 97 0.2% 1,426 0.9% 213 0.1% 1,493 1.0% 200 0.1% 71,120 0.5% 5,752 0.0% 61,712 0.4% 1,896 0.0%
Drupal\Core\Utility\ThemeRegistry::has 93 0.2% 207 0.1% 184 0.1% 289 0.2% 190 0.1% 9,544 0.1% 8,744 0.1% 1,584 0.0% 1,584 0.0%
Drupal\Core\Extension\ModuleHandler::alter 87 0.2% 2,920 1.8% 787 0.5% 2,895 1.9% 614 0.4% 92,488 0.6% -1,112 -0.0% 77,704 0.5% 14,592 0.1%
Drupal\Core\Template\TwigTemplate::getContextReference 83 0.2% 455 0.3% 310 0.2% 534 0.4% 332 0.2% 68,480 0.5% 41,976 0.3% 38,832 0.3% 15,248 0.1%
Drupal\Core\Config\ConfigFactory::loadMultiple 81 0.2% 10,389 6.5% 1,348 0.8% 7,915 5.3% 1,015 0.7% 353,936 2.5% 440 0.0% 518,416 3.6% 25,584 0.2%
Drupal\Core\Config\Entity\ConfigEntityBase::get 80 0.2% 42 0.0% 42 0.0% 109 0.1% 109 0.1% 5,880 0.0% 5,880 0.0% 4,672 0.0% 4,672 0.0%
Drupal\Component\Plugin\PluginManagerBase::getDefinition 79 0.2% 1,506 0.9% 204 0.1% 1,403 0.9% 239 0.2% 338,920 2.4% 5,408 0.0% 400,608 2.8% 4,352 0.0%
Drupal\Core\Entity\Entity::entityType 79 0.2% 8 0.0% 8 0.0% 84 0.1% 84 0.1% 4,256 0.0% 4,256 0.0% 3,200 0.0% 3,200 0.0%
Drupal\Core\Plugin\Discovery\CacheDecorator::getDefinition 79 0.2% 1,302 0.8% 85 0.1% 1,164 0.8% 141 0.1% 333,512 2.3% 1,224 0.0% 396,256 2.8% 168 0.0%
Drupal\Core\Cache\DatabaseBackend::checksumTags 77 0.2% 3,217 2.0% 863 0.5% 2,478 1.7% 695 0.5% 59,168 0.4% -110,904 -0.8% 95,128 0.7% 15,432 0.1%
Drupal\Core\Cache\DatabaseBackend::prepareItem 77 0.2% 7,854 4.9% 760 0.5% 7,122 4.8% 677 0.5% 1,459,728 10.2% -213,696 -1.5% 1,985,232 13.8% 7,536 0.1%
array_intersect_key 74 0.2% 66 0.0% 66 0.0% 123 0.1% 123 0.1% 39,424 0.3% 39,424 0.3% 16,528 0.1% 16,528 0.1%
Drupal\Core\Entity\ContentEntityBase::getPropertyDefinition 73 0.2% 1,265 0.8% 61 0.0% 1,163 0.8% 118 0.1% 212,920 1.5% 5,624 0.0% 172,416 1.2% 1,640 0.0%
Symfony\Component\Routing\Route::getOption 71 0.2% 60 0.0% 60 0.0% 122 0.1% 122 0.1% 4,880 0.0% 4,880 0.0% 2,400 0.0% 2,400 0.0%
Drupal\Core\Config\Config::isNew 70 0.2% 38 0.0% 38 0.0% 105 0.1% 105 0.1% 888 0.0% 888 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\Attribute::__toString 70 0.2% 2,518 1.6% 715 0.4% 2,579 1.7% 520 0.3% 37,624 0.3% 7,296 0.1% 19,320 0.1% 3,120 0.0%
Drupal\Core\Template\Attribute::__construct 70 0.2% 1,856 1.2% 331 0.2% 1,912 1.3% 280 0.2% 101,392 0.7% 25,720 0.2% 9,400 0.1% 4,520 0.0%
array_reverse 69 0.2% 36 0.0% 36 0.0% 93 0.1% 93 0.1% 20,480 0.1% 20,480 0.1% 3,784 0.0% 3,784 0.0%
Drupal\Core\Extension\ModuleHandler::invokeAll 67 0.2% 6,117 3.8% 451 0.3% 5,649 3.8% 338 0.2% 537,064 3.8% -52,872 -0.4% 517,440 3.6% 5,408 0.0%
Drupal\Core\Cache\DatabaseBackend::getMultiple 67 0.2% 23,013 14.4% 1,623 1.0% 15,781 10.5% 1,403 0.9% 1,871,568 13.1% -121,040 -0.8% 2,519,464 17.5% 193,560 1.3%
uasort 65 0.1% 352 0.2% 148 0.1% 395 0.3% 164 0.1% 17,344 0.1% 2,936 0.0% 2,720 0.0% 2,128 0.0%
Symfony\Component\HttpFoundation\Request::isSecure 65 0.1% 702 0.4% 428 0.3% 758 0.5% 319 0.2% 8,064 0.1% -3,976 -0.0% 6,192 0.0% 3,736 0.0%
Symfony\Component\Routing\CompiledRoute::getRegex 65 0.1% 1 0.0% 1 0.0% 63 0.0% 63 0.0% 2,592 0.0% 2,592 0.0% 2,392 0.0% 2,392 0.0%
call_user_func@1 64 0.1% 4,143 2.6% 195 0.1% 4,106 2.7% 190 0.1% 233,256 1.6% 32,720 0.2% 97,912 0.7% 14,760 0.1%
Symfony\Component\Routing\Route::getPath 64 0.1% 1 0.0% 1 0.0% 71 0.0% 71 0.0% 2,512 0.0% 2,512 0.0% 1,456 0.0% 1,456 0.0%
[ display all ]