Run Report
Run #550de0b43acdf: XHProf Run (Namespace=drupal-perf-davidhernandez)
Tip
Click a function name below to drill down.

Overall Summary
Total Incl. Wall Time (microsec):214,055 microsecs
Total Incl. MemUse (bytes):21,885,328 bytes
Total Incl. PeakMemUse (bytes):22,055,712 bytes
Number of Function Calls:49,543


[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.
MemUse
(bytes)
IMemUse%Excl.
MemUse
(bytes)
EMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%Excl.
PeakMemUse
(bytes)
EPeakMemUse%
is_array 1,834 3.7% 0 0.0% 0 0.0% 33,200 0.2% 33,200 0.2% 15,272 0.1% 15,272 0.1%
preg_replace 1,013 2.0% 1,277 0.6% 1,277 0.6% 120,752 0.6% 120,752 0.6% 11,008 0.0% 11,008 0.0%
array_key_exists 980 2.0% 19 0.0% 19 0.0% 21,424 0.1% 21,424 0.1% 10,816 0.0% 10,816 0.0%
array_merge 951 1.9% 455 0.2% 455 0.2% 597,512 2.7% 597,512 2.7% 47,672 0.2% 47,672 0.2%
func_get_args 907 1.8% 212 0.1% 212 0.1% 631,208 2.9% 631,208 2.9% 32,360 0.1% 32,360 0.1%
Symfony\Component\DependencyInjection\Container::get 876 1.8% 34,232 16.0% 3,667 1.7% 5,663,584 25.9% 63,584 0.3% 5,851,232 26.5% 134,072 0.6%
apc_fetch 781 1.6% 11,282 5.3% 10,557 4.9% 2,707,528 12.4% 2,447,752 11.2% 2,452,344 11.1% 2,192,352 9.9%
Drupal\Component\Utility\SafeMarkup::set 756 1.5% 1,221 0.6% 1,221 0.6% 368,224 1.7% 368,224 1.7% 51,784 0.2% 51,784 0.2%
Symfony\Component\ClassLoader\ApcClassLoader::findFile 747 1.5% 4,128 1.9% 1,675 0.8% 121,608 0.6% 40,824 0.2% 168,152 0.8% 89,240 0.4%
Drupal::getContainer 746 1.5% 32 0.0% 32 0.0% 16,064 0.1% 16,064 0.1% 7,784 0.0% 7,784 0.0%
array_keys 599 1.2% 823 0.4% 823 0.4% 609,232 2.8% 609,232 2.8% 149,840 0.7% 149,840 0.7%
is_string 541 1.1% 0 0.0% 0 0.0% 14,960 0.1% 14,960 0.1% 7,952 0.0% 7,952 0.0%
implode 528 1.1% 155 0.1% 155 0.1% 112,448 0.5% 112,448 0.5% 21,152 0.1% 21,152 0.1%
in_array 501 1.0% 104 0.0% 104 0.0% 15,736 0.1% 15,736 0.1% 7,248 0.0% 7,248 0.0%
function_exists 488 1.0% 126 0.1% 126 0.1% 11,936 0.1% 11,936 0.1% 6,712 0.0% 6,712 0.0%
strtolower 465 0.9% 2 0.0% 2 0.0% 35,472 0.2% 35,472 0.2% 12,784 0.1% 12,784 0.1%
array_unique 451 0.9% 189 0.1% 189 0.1% 108,968 0.5% 108,968 0.5% 3,384 0.0% 3,384 0.0%
Drupal\Core\Cache\Cache::validateTags 447 0.9% 454 0.2% 454 0.2% 3,024 0.0% 2,376 0.0% 5,400 0.0% 4,752 0.0%
is_integer 425 0.9% 0 0.0% 0 0.0% 1,328 0.0% 1,328 0.0% 1,328 0.0% 1,328 0.0%
sort 414 0.8% 92 0.0% 92 0.0% 3,240 0.0% 3,240 0.0% 2,168 0.0% 2,168 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass 393 0.8% 33,574 15.7% 3,705 1.7% 10,020,440 45.8% 405,040 1.9% 8,038,176 36.4% 373,464 1.7%
substr 385 0.8% 3 0.0% 3 0.0% 32,368 0.1% 32,368 0.1% 10,696 0.0% 10,696 0.0%
strpos 371 0.7% 17 0.0% 17 0.0% 27,128 0.1% 27,128 0.1% 11,008 0.0% 11,008 0.0%
Drupal\Core\Cache\Cache::Drupal\Core\Cache\{closure} 370 0.7% 43 0.0% 43 0.0% 24,352 0.1% 24,352 0.1% 832 0.0% 832 0.0%
Drupal\Component\Utility\NestedArray::mergeDeep 342 0.7% 3,122 1.5% 1,095 0.5% 103,696 0.5% -252,024 -1.2% 105,952 0.5% 4,008 0.0%
Drupal\Component\Utility\NestedArray::mergeDeepArray 342 0.7% 1,929 0.9% 1,598 0.7% 97,608 0.4% 82,608 0.4% 80,160 0.4% 49,224 0.2%
Drupal\Core\Database\Connection::escapeField 307 0.6% 685 0.3% 350 0.2% 29,560 0.1% -6,616 -0.0% 4,360 0.0% 2,328 0.0%
htmlspecialchars 282 0.6% 174 0.1% 174 0.1% 45,512 0.2% 45,512 0.2% 3,512 0.0% 3,512 0.0%
Drupal\Component\Utility\String::checkPlain 282 0.6% 1,483 0.7% 906 0.4% 104,776 0.5% -36,112 -0.2% 24,104 0.1% 5,808 0.0%
Drupal\Core\Database\Connection::escapeTable 282 0.6% 683 0.3% 343 0.2% 29,984 0.1% 3,704 0.0% 8,920 0.0% 5,440 0.0%
Drupal::service 267 0.5% 7,956 3.7% 869 0.4% 883,320 4.0% 28,712 0.1% 1,425,056 6.5% 10,736 0.0%
strtr 264 0.5% 4,166 1.9% 4,166 1.9% 30,760 0.1% 30,760 0.1% 2,755,296 12.5% 2,755,296 12.5%
explode 251 0.5% 159 0.1% 159 0.1% 143,952 0.7% 143,952 0.7% 23,048 0.1% 23,048 0.1%
is_object 249 0.5% 2 0.0% 2 0.0% 12,912 0.1% 12,912 0.1% 3,800 0.0% 3,800 0.0%
array_filter 248 0.5% 725 0.3% 681 0.3% 54,840 0.3% 29,688 0.1% 9,392 0.0% 7,808 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass@1 233 0.5% 13,840 6.5% 2,161 1.0% 4,285,200 19.6% 258,152 1.2% 3,628,120 16.4% 282,272 1.3%
Drupal\Core\Database\Query\Select::addField 224 0.5% 449 0.2% 449 0.2% 137,368 0.6% 137,368 0.6% 27,720 0.1% 27,720 0.1%
Drupal\Core\Database\Connection::escapeAlias 223 0.5% 468 0.2% 240 0.1% 21,616 0.1% -5,424 -0.0% 2,712 0.0% 1,616 0.0%
count 222 0.4% 144 0.1% 88 0.0% 22,656 0.1% 17,640 0.1% 11,776 0.1% 10,480 0.0%
str_replace 220 0.4% 303 0.1% 303 0.1% 136,456 0.6% 136,456 0.6% 29,768 0.1% 29,768 0.1%
dirname 209 0.4% 5 0.0% 5 0.0% 20,408 0.1% 20,408 0.1% 9,248 0.0% 9,248 0.0%
array_diff 208 0.4% 769 0.4% 769 0.4% 45,064 0.2% 45,064 0.2% 13,472 0.1% 13,472 0.1%
SplDoublyLinkedList::push 208 0.4% 5 0.0% 5 0.0% 15,960 0.1% 15,960 0.1% 2,552 0.0% 2,552 0.0%
Drupal\Core\Cache\Cache::mergeTags 207 0.4% 3,088 1.4% 2,295 1.1% 71,336 0.3% -412,856 -1.9% 26,824 0.1% 6,632 0.0%
Drupal\Core\Theme\ThemeManager::getActiveTheme 205 0.4% 1,882 0.9% 101 0.0% 187,560 0.9% 11,920 0.1% 182,960 0.8% 4,640 0.0%
Symfony\Component\DependencyInjection\Container::get@1 204 0.4% 20,745 9.7% 1,162 0.5% 3,921,272 17.9% 60,440 0.3% 3,814,560 17.3% 187,056 0.8%
SplDoublyLinkedList::pop 204 0.4% 4 0.0% 4 0.0% -17,576 -0.1% -17,576 -0.1% 1,048 0.0% 1,048 0.0%
strlen 194 0.4% 0 0.0% 0 0.0% 10,584 0.0% 10,584 0.0% 6,608 0.0% 6,608 0.0%
Drupal\Core\Cache\Cache::mergeMaxAges 188 0.4% 1,732 0.8% 1,064 0.5% 15,856 0.1% -95,800 -0.4% 6,984 0.0% 2,840 0.0%
Drupal\Core\StringTranslation\TranslationManager::getStringTranslation 182 0.4% 802 0.4% 583 0.3% 16,360 0.1% 1,376 0.0% 4,864 0.0% 3,664 0.0%
Drupal\Core\StringTranslation\TranslationManager::translate 182 0.4% 2,204 1.0% 941 0.4% 85,400 0.4% -2,328 -0.0% 119,744 0.5% 12,200 0.1%
Drupal\Core\StringTranslation\Translator\StaticTranslation::getStringTranslation 182 0.4% 208 0.1% 201 0.1% 11,960 0.1% 10,048 0.0% 1,200 0.0% 1,200 0.0%
Drupal\Core\Asset\AssetResolver::sort 181 0.4% 190 0.1% 190 0.1% 9,328 0.0% 9,328 0.0% 384 0.0% 384 0.0%
Drupal\Core\Extension\Extension::getPath 180 0.4% 235 0.1% 232 0.1% 23,176 0.1% 12,384 0.1% 12,152 0.1% 8,336 0.0%
unserialize@2 172 0.3% 2,016 0.9% 2,016 0.9% 799,216 3.7% 799,216 3.7% 564,016 2.6% 564,016 2.6%
Drupal\Core\Config\ConfigFactory::getCacheKeys 168 0.3% 214 0.1% 214 0.1% 61,296 0.3% 61,296 0.3% 14,920 0.1% 14,920 0.1%
is_bool 164 0.3% 10 0.0% 10 0.0% 1,944 0.0% 1,944 0.0% 696 0.0% 696 0.0%
Symfony\Component\HttpFoundation\RequestStack::getCurrentRequest 162 0.3% 304 0.1% 303 0.1% 20,864 0.1% 20,200 0.1% 8,280 0.0% 7,696 0.0%
end 162 0.3% 1 0.0% 1 0.0% 664 0.0% 664 0.0% 584 0.0% 584 0.0%
Drupal\Core\Extension\ModuleHandler::alter 160 0.3% 2,482 1.2% 1,068 0.5% 106,440 0.5% -19,760 -0.1% 96,424 0.4% 16,752 0.1%
Drupal\Core\Extension\ModuleHandler::getImplementations 159 0.3% 2,507 1.2% 556 0.3% 275,928 1.3% 14,520 0.1% 251,248 1.1% 4,880 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementationInfo 159 0.3% 1,925 0.9% 525 0.2% 228,448 1.0% 10,928 0.0% 241,248 1.1% 14,128 0.1%
Drupal\views\Plugin\views\display\DisplayPluginBase::isDefaulted 156 0.3% 431 0.2% 431 0.2% 11,880 0.1% 2,928 0.0% 7,632 0.0% 5,208 0.0%
Drupal\Core\Entity\EntityType::isStaticallyCacheable 156 0.3% 2 0.0% 2 0.0% 3,608 0.0% 3,608 0.0% 2,520 0.0% 2,520 0.0%
Drupal\Core\Entity\Entity::id 153 0.3% 13 0.0% 13 0.0% 9,704 0.0% 9,704 0.0% 5,608 0.0% 5,608 0.0%
Drupal\Core\Access\AccessResult::setCacheable 148 0.3% 11 0.0% 11 0.0% 648 0.0% 648 0.0% 2,056 0.0% 2,056 0.0%
Drupal\Core\Render\Renderer::mergeAttachments 142 0.3% 1,211 0.6% 286 0.1% 30,712 0.1% 1,696 0.0% 3,648 0.0% 808 0.0%
Drupal\Core\Cache\Cache::mergeContexts 142 0.3% 1,449 0.7% 1,252 0.6% 40,944 0.2% -252,760 -1.2% 7,368 0.0% 2,768 0.0%
Drupal\Core\Render\BubbleableMetadata::merge 140 0.3% 8,050 3.8% 1,480 0.7% 168,712 0.8% 25,800 0.1% 19,072 0.1% 2,680 0.0%
call_user_func_array 136 0.3% 27,632 12.9% 602 0.3% 4,083,400 18.7% 66,272 0.3% 3,612,752 16.4% 22,536 0.1%
Drupal\Core\Theme\ActiveTheme::getName 136 0.3% 9 0.0% 9 0.0% 6,760 0.0% 6,760 0.0% 2,704 0.0% 2,704 0.0%
array_shift 132 0.3% 4 0.0% 4 0.0% -6,552 -0.0% -6,552 -0.0% 192 0.0% 192 0.0%
class_exists 130 0.3% 11,292 5.3% 346 0.2% 4,217,680 19.3% -12,760 -0.1% 3,345,736 15.2% 7,784 0.0%
Drupal\Core\Template\Attribute::offsetSet 128 0.3% 1,218 0.6% 295 0.1% 85,304 0.4% 29,152 0.1% 8,528 0.0% 3,072 0.0%
Drupal\Core\Template\AttributeValueBase::__construct 128 0.3% 72 0.0% 72 0.0% 752 0.0% 752 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 128 0.3% 923 0.4% 730 0.3% 56,152 0.3% 32,976 0.2% 5,456 0.0% 5,456 0.0%
Drupal\Core\Access\AccessResult::setCacheMaxAge 126 0.3% 2 0.0% 2 0.0% -728 -0.0% -728 -0.0% 1,312 0.0% 1,312 0.0%
Drupal\Core\Template\AttributeValueBase::render 126 0.3% 2,424 1.1% 606 0.3% 79,152 0.4% -7,576 -0.0% 22,704 0.1% 1,552 0.0%
PDOStatement::setFetchMode 126 0.3% 56 0.0% 20 0.0% 9,864 0.0% 3,280 0.0% 6,864 0.0% 2,312 0.0%
Drupal\Core\Config\ConfigFactory::getConfigCacheKey 121 0.2% 625 0.3% 462 0.2% 16,272 0.1% -39,336 -0.2% 12,888 0.1% 2,880 0.0%
is_subclass_of 117 0.2% 447 0.2% 174 0.1% 72,632 0.3% 2,896 0.0% 72,496 0.3% 3,016 0.0%
array_flip 115 0.2% 265 0.1% 265 0.1% 161,352 0.7% 161,352 0.7% 46,376 0.2% 46,376 0.2%
unserialize 114 0.2% 6,081 2.8% 1,420 0.7% 1,168,752 5.3% 332,544 1.5% 1,176,160 5.3% 343,320 1.6%
is_scalar 110 0.2% 0 0.0% 0 0.0% 3,800 0.0% 3,800 0.0% 320 0.0% 320 0.0%
array_intersect_key 106 0.2% 89 0.0% 89 0.0% 48,088 0.2% 48,088 0.2% 14,720 0.1% 14,720 0.1%
Drupal\Core\Session\AccountProxy::getAccount 102 0.2% 65 0.0% 19 0.0% 4,768 0.0% 4,072 0.0% 3,920 0.0% 2,744 0.0%
Drupal\Core\Plugin\DefaultPluginManager::getDefinition 98 0.2% 6,015 2.8% 284 0.1% 1,237,672 5.7% 6,056 0.0% 1,070,824 4.9% 4,480 0.0%
Drupal\Core\Plugin\DefaultPluginManager::doGetDefinition 98 0.2% 90 0.0% 90 0.0% 992 0.0% 992 0.0% 0 0.0% 0 0.0%
Symfony\Component\DependencyInjection\Container::get@2 97 0.2% 13,542 6.3% 713 0.3% 2,460,536 11.2% 33,424 0.2% 2,415,464 11.0% 43,560 0.2%
Drupal\Core\Utility\ThemeRegistry::has 96 0.2% 165 0.1% 164 0.1% 8,304 0.0% 7,648 0.0% 1,320 0.0% 1,320 0.0%
Drupal\Core\Template\AttributeString::__toString 95 0.2% 734 0.3% 198 0.1% 42,472 0.2% 2,432 0.0% 10,328 0.0% 696 0.0%
Drupal\Core\Config\Config::get 95 0.2% 516 0.2% 330 0.2% 32,336 0.1% 376 0.0% 18,744 0.1% 4,384 0.0%
Drupal\user\Entity\Role::isAdmin 94 0.2% 3 0.0% 3 0.0% 5,888 0.0% 5,888 0.0% 888 0.0% 888 0.0%
array_values 94 0.2% 33 0.0% 33 0.0% 46,936 0.2% 46,936 0.2% 19,488 0.1% 19,488 0.1%
rtrim 93 0.2% 1 0.0% 1 0.0% 7,928 0.0% 7,928 0.0% 4,264 0.0% 4,264 0.0%
Drupal\Core\Access\AccessResult::getCacheMaxAge 92 0.2% 0 0.0% 0 0.0% 792 0.0% 792 0.0% 608 0.0% 608 0.0%
Drupal\views\Plugin\views\display\DisplayPluginBase::isDefaultDisplay 90 0.2% 2 0.0% 2 0.0% 6,592 0.0% 6,592 0.0% 2,968 0.0% 2,968 0.0%
Drupal\Component\Utility\SafeMarkup::isSafe 89 0.2% 119 0.1% 119 0.1% 9,064 0.0% 9,064 0.0% 880 0.0% 880 0.0%
unserialize@1 88 0.2% 4,172 1.9% 1,326 0.6% 881,600 4.0% 563,200 2.6% 789,896 3.6% 185,640 0.8%
Symfony\Component\HttpFoundation\ParameterBag::get 87 0.2% 228 0.1% 227 0.1% 17,672 0.1% 17,008 0.1% 12,536 0.1% 12,032 0.1%
[ display all ]