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

Overall Summary
Total Incl. Wall Time (microsec):3,627,956 microsecs
Total Incl. MemUse (bytes):42,561,904 bytes
Total Incl. PeakMemUse (bytes):45,511,816 bytes
Number of Function Calls:1,271,008


[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_object 39,081 3.1% 257 0.0% 257 0.0% 18,864 0.0% 18,864 0.0% 11,048 0.0% 11,048 0.0%
is_array 38,644 3.0% 141 0.0% 141 0.0% 44,304 0.1% 44,304 0.1% 20,320 0.0% 20,320 0.0%
Drupal\Core\DependencyInjection\Container::get 28,893 2.3% 220,438 6.1% 118,664 3.3% 3,808,360 8.9% -1,327,320 -3.1% 5,106,832 11.2% 75,384 0.2%
Symfony\Component\DependencyInjection\Container::get 28,893 2.3% 101,552 2.8% 61,721 1.7% 5,135,024 12.1% 21,776 0.1% 5,030,960 11.1% 232,584 0.5%
count 25,710 2.0% 111 0.0% 88 0.0% 27,552 0.1% 23,656 0.1% 14,696 0.0% 13,208 0.0%
Drupal\Component\Utility\SafeMarkup::set 22,056 1.7% 69,556 1.9% 69,556 1.9% 26,605,808 62.5% 26,605,808 62.5% 6,314,064 13.9% 6,314,064 13.9%
array_merge 21,119 1.7% 16,168 0.4% 16,168 0.4% 14,719,024 34.6% 14,719,024 34.6% 382,256 0.8% 382,256 0.8%
func_get_args 19,345 1.5% 7,197 0.2% 7,197 0.2% 14,094,272 33.1% 14,094,272 33.1% 298,080 0.7% 298,080 0.7%
array_key_exists 16,739 1.3% 522 0.0% 522 0.0% 29,848 0.1% 29,848 0.1% 16,176 0.0% 16,176 0.0%
is_string 15,667 1.2% 39 0.0% 39 0.0% 12,384 0.0% 12,384 0.0% 4,672 0.0% 4,672 0.0%
strpos 14,451 1.1% 1,508 0.0% 1,508 0.0% 66,312 0.2% 66,312 0.2% 12,736 0.0% 12,736 0.0%
strlen 13,682 1.1% 34 0.0% 34 0.0% 21,568 0.1% 21,568 0.1% 8,104 0.0% 8,104 0.0%
is_numeric 13,116 1.0% 63 0.0% 63 0.0% 7,216 0.0% 7,216 0.0% 4,312 0.0% 4,312 0.0%
Drupal\Core\Cache\Cache::validateTags 13,029 1.0% 13,403 0.4% 13,390 0.4% 3,024 0.0% 2,376 0.0% 3,952 0.0% 3,304 0.0%
Drupal\Core\Plugin\DefaultPluginManager::getDefinition 12,915 1.0% 44,177 1.2% 27,109 0.7% 1,502,264 3.5% 14,088 0.0% 1,342,856 3.0% 37,472 0.1%
Drupal\Core\Plugin\DefaultPluginManager::doGetDefinition 12,915 1.0% 10,760 0.3% 10,760 0.3% 1,112 0.0% 1,112 0.0% 0 0.0% 0 0.0%
function_exists 12,654 1.0% 2,837 0.1% 2,837 0.1% 14,488 0.0% 14,488 0.0% 5,536 0.0% 5,536 0.0%
array_unique 11,590 0.9% 6,014 0.2% 6,014 0.2% 3,005,056 7.1% 3,005,056 7.1% 9,272 0.0% 9,272 0.0%
preg_match 11,366 0.9% 13,922 0.4% 13,922 0.4% 547,768 1.3% 547,768 1.3% 4,040 0.0% 4,040 0.0%
htmlspecialchars 11,087 0.9% 14,090 0.4% 14,090 0.4% 2,410,896 5.7% 2,410,896 5.7% 503,048 1.1% 503,048 1.1%
Drupal\Component\Utility\String::checkPlain 11,087 0.9% 63,027 1.7% 34,225 0.9% 2,460,864 5.8% -2,398,072 -5.6% 1,097,264 2.4% 20,408 0.0%
is_integer 10,796 0.8% 18 0.0% 18 0.0% 1,328 0.0% 1,328 0.0% 1,328 0.0% 1,328 0.0%
array_keys 10,551 0.8% 7,860 0.2% 7,860 0.2% 6,646,448 15.6% 6,646,448 15.6% 318,360 0.7% 318,360 0.7%
Drupal\Component\Utility\NestedArray::mergeDeepArray 10,514 0.8% 46,115 1.3% 44,165 1.2% 2,516,856 5.9% 2,441,504 5.7% 506,824 1.1% 372,928 0.8%
Drupal\Component\Utility\NestedArray::mergeDeep 10,022 0.8% 94,620 2.6% 49,557 1.4% 938,032 2.2% -8,558,136 -20.1% 521,056 1.1% 3,872 0.0%
Drupal\Core\TypedData\TypedData::setContext 9,254 0.7% 11,350 0.3% 11,350 0.3% 4,656 0.0% 4,656 0.0% 3,176 0.0% 3,176 0.0%
implode 9,191 0.7% 6,096 0.2% 6,096 0.2% 8,927,376 21.0% 8,927,376 21.0% 596,440 1.3% 596,440 1.3%
preg_replace_callback 9,105 0.7% 29,925 0.8% 29,319 0.8% 14,812,240 34.8% 14,805,520 34.8% 956,472 2.1% 956,472 2.1%
Drupal::typedDataManager 8,482 0.7% 63,625 1.8% 14,454 0.4% 9,808 0.0% 421,744 1.0% 66,616 0.1% 8,232 0.0%
sort 8,146 0.6% 2,759 0.1% 2,759 0.1% 1,936 0.0% 1,936 0.0% 1,144 0.0% 1,144 0.0%
class_exists 7,935 0.6% 22,065 0.6% 4,969 0.1% 3,831,544 9.0% 4,488 0.0% 2,438,760 5.4% 12,584 0.0%
Drupal\Component\Plugin\LazyPluginCollection::get 7,840 0.6% 12,991 0.4% 4,798 0.1% 832,264 2.0% 23,680 0.1% 392,328 0.9% 544 0.0%
Drupal\filter\FilterPluginCollection::get 7,800 0.6% 16,507 0.5% 11,787 0.3% 23,032 0.1% 3,088 0.0% 4,000 0.0% 3,456 0.0%
Drupal\Core\Entity\ContentEntityBase::get 7,500 0.6% 265,465 7.3% 14,257 0.4% 7,078,192 16.6% 10,072 0.0% 2,339,336 5.1% 3,432 0.0%
preg_replace 7,486 0.6% 72,726 2.0% 72,726 2.0% 18,417,104 43.3% 18,417,104 43.3% 965,392 2.1% 965,392 2.1%
Drupal::entityManager 7,279 0.6% 58,096 1.6% 12,996 0.4% 11,664 0.0% 364,496 0.9% 98,112 0.2% 7,224 0.0%
Drupal\Core\Entity\Entity::getEntityTypeId 6,513 0.5% 120 0.0% 120 0.0% 7,056 0.0% 7,056 0.0% 2,344 0.0% 2,344 0.0%
Drupal\Core\Cache\Cache::mergeTags 6,496 0.5% 127,803 3.5% 99,996 2.8% 589,024 1.4% -13,733,176 -32.3% 252,232 0.6% 46,472 0.1%
Drupal\Core\Entity\EntityType::getClass 6,414 0.5% 66 0.0% 66 0.0% 3,528 0.0% 3,528 0.0% 1,880 0.0% 1,880 0.0%
in_array 6,200 0.5% 608 0.0% 608 0.0% 15,696 0.0% 15,696 0.0% 5,944 0.0% 5,944 0.0%
Drupal\Core\Entity\ContentEntityBase::getFieldDefinition 5,802 0.5% 13,151 0.4% 6,308 0.2% 633,984 1.5% 37,000 0.1% 550,008 1.2% 520 0.0%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getEntityTypeId 5,749 0.5% 5,917 0.2% 5,917 0.2% 2,976 0.0% 2,976 0.0% 2,144 0.0% 2,144 0.0%
substr 5,742 0.5% 83 0.0% 83 0.0% 236,464 0.6% 236,464 0.6% 22,032 0.0% 22,032 0.0%
trim 5,677 0.4% 206 0.0% 206 0.0% 638,744 1.5% 638,744 1.5% 3,832 0.0% 3,832 0.0%
ltrim 5,627 0.4% 76 0.0% 76 0.0% 246,432 0.6% 246,432 0.6% 1,576 0.0% 1,576 0.0%
reset 5,572 0.4% 96 0.0% 96 0.0% 181,992 0.4% 181,992 0.4% 3,424 0.0% 3,424 0.0%
is_scalar 5,466 0.4% 46 0.0% 46 0.0% 4,488 0.0% 4,488 0.0% 2,880 0.0% 2,880 0.0%
array_intersect_key 5,445 0.4% 4,631 0.1% 4,631 0.1% 3,218,000 7.6% 3,218,000 7.6% 37,408 0.1% 37,408 0.1%
Drupal\Core\Entity\ContentEntityBase::getEntityKey 5,405 0.4% 23,749 0.7% 15,180 0.4% 51,064 0.1% 33,128 0.1% 1,320 0.0% 1,320 0.0%
Drupal\Core\Template\AttributeValueBase::__construct 5,376 0.4% 4,092 0.1% 4,092 0.1% 752 0.0% 752 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 5,376 0.4% 31,395 0.9% 27,123 0.7% 2,166,472 5.1% 2,144,128 5.0% 239,512 0.5% 106,832 0.2%
Drupal\Core\Template\Attribute::offsetSet 5,376 0.4% 44,919 1.2% 13,524 0.4% 3,398,872 8.0% 1,232,400 2.9% 257,104 0.6% 17,592 0.0%
Drupal\Core\Entity\Plugin\DataType\EntityAdapter::getDataDefinition 5,175 0.4% 156 0.0% 156 0.0% 2,216 0.0% 2,216 0.0% 728 0.0% 728 0.0%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getBundles 5,149 0.4% 10,692 0.3% 10,669 0.3% 2,680 0.0% 2,000 0.0% 1,608 0.0% 1,560 0.0%
Drupal\Core\TypedData\DataDefinition::getSettings 5,147 0.4% 750 0.0% 750 0.0% 704,168 1.7% 704,168 1.7% 2,784 0.0% 2,784 0.0%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getDataType 5,147 0.4% 56,901 1.6% 40,838 1.1% 438,344 1.0% 266,520 0.6% 8,472 0.0% 4,976 0.0%
Drupal\Core\TypedData\TypedData::getPropertyPath 5,143 0.4% 15,105 0.4% 7,895 0.2% 320,712 0.8% 160,960 0.4% 5,320 0.0% 3,664 0.0%
Drupal\Core\TypedData\TypedData::getRoot 5,143 0.4% 7,278 0.2% 3,326 0.1% 4,808 0.0% 3,160 0.0% 1,456 0.0% 992 0.0%
Drupal\Core\TypedData\TypedDataManager::getPropertyInstance 5,102 0.4% 259,387 7.1% 93,819 2.6% 5,554,640 13.1% -565,224 -1.3% 1,912,840 4.2% 14,840 0.0%
Drupal\Core\Utility\ThemeRegistry::has 4,990 0.4% 7,494 0.2% 7,351 0.2% 244,224 0.6% 243,568 0.6% 1,368 0.0% 1,368 0.0%
Drupal\Core\Template\AttributeValueBase::render 4,975 0.4% 105,191 2.9% 25,303 0.7% 1,108,488 2.6% -353,280 -0.8% 131,856 0.3% 21,704 0.0%
Drupal\Core\Entity\EntityManager::getDefinition 4,931 0.4% 51,234 1.4% 28,711 0.8% 1,514,296 3.6% 10,024 0.0% 1,153,504 2.5% 5,896 0.0%
Drupal\Core\Theme\ThemeManager::getActiveTheme 4,919 0.4% 3,340 0.1% 1,670 0.0% 184,840 0.4% 13,320 0.0% 5,184 0.0% 5,184 0.0%
Twig_Template::getAttribute 4,872 0.4% 147,028 4.1% 54,810 1.5% 3,119,200 7.3% -1,132,232 -2.7% 1,030,624 2.3% 136,952 0.3%
is_bool 4,712 0.4% 19 0.0% 19 0.0% 2,600 0.0% 2,600 0.0% 2,360 0.0% 2,360 0.0%
strtolower 4,510 0.4% 104 0.0% 104 0.0% 174,256 0.4% 174,256 0.4% 15,664 0.0% 15,664 0.0%
Drupal\Core\Field\FieldItemBase::__get 4,501 0.4% 30,647 0.8% 3,651 0.1% 212,328 0.5% 7,736 0.0% 15,528 0.0% 5,680 0.0%
array_filter 4,416 0.3% 38,205 1.1% 10,894 0.3% 1,782,304 4.2% 1,114,944 2.6% 70,320 0.2% 30,304 0.1%
drupal_merge_attached 4,339 0.3% 31,894 0.9% 8,243 0.2% 608,048 1.4% 3,656 0.0% 56,016 0.1% 0 0.0%
SplDoublyLinkedList::push 4,336 0.3% 113 0.0% 113 0.0% 214,640 0.5% 214,640 0.5% 2,200 0.0% 2,200 0.0%
SplDoublyLinkedList::pop 4,332 0.3% 90 0.0% 90 0.0% -416,176 -1.0% -416,176 -1.0% 0 0.0% 0 0.0%
call_user_func_array 4,221 0.3% 225,221 6.2% 13,713 0.4% 8,526,704 20.0% 1,232,664 2.9% 3,404,776 7.5% 66,264 0.1%
Drupal\Core\Entity\EntityDisplayBase::fieldHasDisplayOptions 4,200 0.3% 14,103 0.4% 10,325 0.3% 489,240 1.1% 1,584 0.0% 23,728 0.1% 9,456 0.0%
Drupal\Core\Access\AccessResult::setCacheable 4,135 0.3% 228 0.0% 228 0.0% -38,080 -0.1% -38,080 -0.1% 1,160 0.0% 1,160 0.0%
array_shift 4,121 0.3% 244 0.0% 244 0.0% -325,408 -0.8% -325,408 -0.8% 2,160 0.0% 2,160 0.0%
Drupal\Core\Access\AccessResult::setCacheMaxAge 4,117 0.3% 85 0.0% 85 0.0% -38,368 -0.1% -38,368 -0.1% 1,312 0.0% 1,312 0.0%
is_subclass_of 4,109 0.3% 5,184 0.1% 5,184 0.1% 4,688 0.0% 4,688 0.0% 2,680 0.0% 2,680 0.0%
Drupal::service 3,998 0.3% 44,455 1.2% 7,637 0.2% 799,632 1.9% 31,728 0.1% 1,439,456 3.2% 5,176 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementations 3,974 0.3% 21,643 0.6% 14,230 0.4% 981,448 2.3% 201,048 0.5% 173,656 0.4% 5,792 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementationInfo 3,974 0.3% 6,971 0.2% 5,637 0.2% 160,680 0.4% 13,832 0.0% 165,832 0.4% 25,568 0.1%
Drupal\Core\Entity\EntityHandlerBase::moduleHandler 3,851 0.3% 1,645 0.0% 1,645 0.0% 7,864 0.0% 7,864 0.0% 3,456 0.0% 3,456 0.0%
key 3,811 0.3% 12 0.0% 12 0.0% 133,224 0.3% 133,224 0.3% 1,584 0.0% 1,584 0.0%
Drupal\Core\Field\BaseFieldDefinition::getDisplayOptions 3,800 0.3% 3,232 0.1% 3,232 0.1% 127,088 0.3% 127,088 0.3% 1,232 0.0% 1,232 0.0%
Drupal\Core\Entity\Entity::entityManager 3,720 0.3% 34,785 1.0% 5,040 0.1% 5,480 0.0% 4,704 0.0% 11,872 0.0% 1,840 0.0%
Drupal\Component\Utility\SafeMarkup::isSafe 3,544 0.3% 7,083 0.2% 7,083 0.2% 175,224 0.4% 175,224 0.4% 580,528 1.3% 580,528 1.3%
Drupal\Core\Entity\Plugin\DataType\EntityAdapter::getValue 3,500 0.3% 59 0.0% 59 0.0% 1,432 0.0% 1,432 0.0% 704 0.0% 704 0.0%
explode 3,468 0.3% 1,635 0.0% 1,635 0.0% 1,678,696 3.9% 1,678,696 3.9% 45,680 0.1% 45,680 0.1%
twig_drupal_escape_filter@3 3,404 0.3% 631,989 17.4% 27,686 0.8% -1,711,608 -4.0% -1,278,520 -3.0% 6,202,936 13.6% 11,336 0.0%
Drupal\Core\Entity\Entity::getTypedData 3,402 0.3% 16,894 0.5% 2,416 0.1% 962,960 2.3% -2,064 -0.0% 548,240 1.2% 624 0.0%
Drupal\Core\Entity\EntityType::getKeys 3,336 0.3% 48 0.0% 48 0.0% 3,456 0.0% 3,456 0.0% 2,096 0.0% 2,096 0.0%
Drupal\Core\Field\FieldItemList::setLangcode 3,302 0.3% 193 0.0% 193 0.0% -6,608 -0.0% -6,608 -0.0% 1,288 0.0% 1,288 0.0%
Drupal\Core\Entity\Entity::getEntityType 3,300 0.3% 77,208 2.1% 16,049 0.4% 7,968 0.0% 5,832 0.0% 7,768 0.0% 1,512 0.0%
Drupal\Core\TypedData\TypedData::getParent 3,300 0.3% 42 0.0% 42 0.0% 808 0.0% 808 0.0% 0 0.0% 0 0.0%
Drupal\Core\TypedData\Plugin\DataType\ItemList::get 3,300 0.3% 6,782 0.2% 6,757 0.2% 2,744 0.0% 2,080 0.0% 2,872 0.0% 2,208 0.0%
Drupal\Core\Field\FieldItemList::getEntity 3,300 0.3% 11,020 0.3% 10,933 0.3% 4,352 0.0% 2,816 0.0% 1,104 0.0% 1,104 0.0%
Drupal\Core\Access\AccessResult::getCacheMaxAge 3,284 0.3% 35 0.0% 35 0.0% 792 0.0% 792 0.0% 608 0.0% 608 0.0%
Symfony\Component\Yaml\Parser::moveToNextLine 3,269 0.3% 6,032 0.2% 6,027 0.2% 146,360 0.3% 145,712 0.3% 0 0.0% 0 0.0%
Drupal\Core\Template\AttributeArray::__toString 3,236 0.3% 44,637 1.2% 23,320 0.6% 264,176 0.6% -2,885,768 -6.8% 52,224 0.1% 4,720 0.0%
Drupal\Core\TypedData\Plugin\DataType\Map::__clone 3,234 0.3% 8,129 0.2% 6,726 0.2% 665,200 1.6% 664,504 1.6% 6,536 0.0% 5,928 0.0%
Drupal\Core\TypedData\Plugin\DataType\ItemList::__clone 3,202 0.3% 34,121 0.9% 21,991 0.6% 2,531,680 5.9% 1,874,048 4.4% 10,752 0.0% 6,272 0.0%
[ display all ]