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

Overall Summary
Total Incl. Wall Time (microsec):988,128 microsecs
Total Incl. CPU (microsecs):967,578 microsecs
Total Incl. MemUse (bytes):54,414,272 bytes
Total Incl. PeakMemUse (bytes):54,504,440 bytes
Number of Function Calls:188,122


[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 10,949 5.8% 11,133 1.1% 11,133 1.1% 17,116 1.8% 17,116 1.8% 74,568 0.1% 74,568 0.1% 14,784 0.0% 14,784 0.0%
is_array 7,516 4.0% 7,547 0.8% 7,547 0.8% 11,734 1.2% 11,734 1.2% 67,568 0.1% 67,568 0.1% 39,104 0.1% 39,104 0.1%
is_object 7,148 3.8% 7,279 0.7% 7,279 0.7% 12,175 1.3% 12,175 1.3% 23,824 0.0% 23,824 0.0% 14,968 0.0% 14,968 0.0%
Symfony\Component\DependencyInjection\Container::get 5,680 3.0% 122,302 12.4% 15,560 1.6% 126,396 13.1% 19,797 2.0% 12,208,992 22.4% 22,048 0.0% 12,612,600 23.1% 331,896 0.6%
Drupal\Core\DependencyInjection\Container::get 5,680 3.0% 160,284 16.2% 32,248 3.3% 164,345 17.0% 28,230 2.9% 12,047,752 22.1% -162,040 -0.3% 12,683,392 23.3% 70,072 0.1%
Drupal\Component\Utility\SafeMarkup::set 2,747 1.5% 8,486 0.9% 8,486 0.9% 10,461 1.1% 10,461 1.1% 2,792,152 5.1% 2,792,152 5.1% 577,304 1.1% 577,304 1.1%
array_key_exists 2,720 1.4% 2,858 0.3% 2,858 0.3% 5,112 0.5% 5,112 0.5% 37,536 0.1% 37,536 0.1% 15,984 0.0% 15,984 0.0%
array_keys 2,364 1.3% 3,948 0.4% 3,948 0.4% 6,111 0.6% 6,111 0.6% 2,291,560 4.2% 2,291,560 4.2% 161,168 0.3% 161,168 0.3%
strtr 1,839 1.0% 6,213 0.6% 6,213 0.6% 8,526 0.9% 8,526 0.9% 210,576 0.4% 210,576 0.4% 3,210,008 5.9% 3,210,008 5.9%
is_integer 1,711 0.9% 1,718 0.2% 1,718 0.2% 2,547 0.3% 2,547 0.3% 1,640 0.0% 1,640 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\NestedArray::mergeDeepArray 1,673 0.9% 9,058 0.9% 6,815 0.7% 10,226 1.1% 7,152 0.7% 437,136 0.8% 414,728 0.8% 76,624 0.1% 64,576 0.1%
substr 1,638 0.9% 1,655 0.2% 1,655 0.2% 2,862 0.3% 2,862 0.3% 100,248 0.2% 100,248 0.2% 15,920 0.0% 15,920 0.0%
func_get_args 1,623 0.9% 1,751 0.2% 1,751 0.2% 3,004 0.3% 3,004 0.3% 1,082,144 2.0% 1,082,144 2.0% 20,576 0.0% 20,576 0.0%
Drupal\Core\Plugin\DefaultPluginManager::getDefinition 1,615 0.9% 20,265 2.1% 5,539 0.6% 18,851 1.9% 5,659 0.6% 1,540,776 2.8% 15,064 0.0% 1,659,216 3.0% 23,664 0.0%
Drupal\Core\Plugin\DefaultPluginManager::doGetDefinition 1,615 0.9% 3,002 0.3% 3,002 0.3% 4,135 0.4% 4,135 0.4% 1,296 0.0% 1,296 0.0% 0 0.0% 0 0.0%
implode 1,539 0.8% 2,438 0.2% 1,764 0.2% 3,852 0.4% 3,172 0.3% 684,400 1.3% 668,744 1.2% 28,424 0.1% 28,424 0.1%
Drupal\Component\Utility\NestedArray::mergeDeep 1,527 0.8% 15,315 1.5% 7,702 0.8% 16,495 1.7% 6,681 0.7% 305,776 0.6% -1,011,224 -1.9% 79,200 0.1% 5,760 0.0%
Drupal\Component\Utility\String::checkPlain 1,277 0.7% 10,470 1.1% 6,031 0.6% 11,474 1.2% 5,174 0.5% 267,288 0.5% -185,624 -0.3% 29,976 0.1% 10,104 0.0%
htmlspecialchars 1,277 0.7% 1,752 0.2% 1,752 0.2% 2,770 0.3% 2,770 0.3% 200,216 0.4% 200,216 0.4% 2,824 0.0% 2,824 0.0%
is_numeric 1,220 0.6% 1,227 0.1% 1,227 0.1% 1,986 0.2% 1,986 0.2% 11,152 0.0% 11,152 0.0% 7,328 0.0% 7,328 0.0%
function_exists 1,197 0.6% 1,354 0.1% 1,354 0.1% 2,406 0.2% 2,406 0.2% 13,512 0.0% 13,512 0.0% 6,352 0.0% 6,352 0.0%
strlen 1,184 0.6% 1,191 0.1% 1,191 0.1% 2,048 0.2% 2,048 0.2% 14,608 0.0% 14,608 0.0% 6,320 0.0% 6,320 0.0%
class_exists 1,121 0.6% 74,690 7.6% 2,015 0.2% 75,760 7.8% 2,967 0.3% 11,769,624 21.6% 2,952 0.0% 10,633,360 19.5% 16,856 0.0%
is_string 1,120 0.6% 1,144 0.1% 1,144 0.1% 1,946 0.2% 1,946 0.2% 18,904 0.0% 18,904 0.0% 9,032 0.0% 9,032 0.0%
Drupal::typedDataManager 1,082 0.6% 13,064 1.3% 3,324 0.3% 13,924 1.4% 3,436 0.4% 10,992 0.0% 62,112 0.1% 70,080 0.1% 10,816 0.0%
Drupal::entityManager 1,078 0.6% 13,591 1.4% 3,534 0.4% 14,458 1.5% 3,521 0.4% 15,712 0.0% 66,648 0.1% 37,848 0.1% 9,104 0.0%
count 1,077 0.6% 1,166 0.1% 1,114 0.1% 1,920 0.2% 1,859 0.2% 29,736 0.1% 25,360 0.0% 16,416 0.0% 12,864 0.0%
Drupal\Core\TypedData\TypedData::setContext 1,058 0.6% 2,229 0.2% 2,229 0.2% 3,020 0.3% 3,020 0.3% 5,424 0.0% 5,424 0.0% 4,832 0.0% 4,832 0.0%
Drupal::service 1,018 0.5% 36,164 3.7% 3,340 0.3% 36,916 3.8% 3,412 0.4% 2,384,600 4.4% 45,256 0.1% 2,921,416 5.4% 13,256 0.0%
Drupal\Core\Entity\EntityType::getClass 993 0.5% 1,071 0.1% 1,071 0.1% 1,976 0.2% 1,976 0.2% 4,248 0.0% 4,248 0.0% 2,968 0.0% 2,968 0.0%
file_exists 979 0.5% 5,646 0.6% 5,646 0.6% 6,411 0.7% 6,411 0.7% 5,616 0.0% 5,616 0.0% 2,440 0.0% 2,440 0.0%
Composer\Autoload\ClassLoader::findFile 901 0.5% 42,684 4.3% 5,004 0.5% 43,541 4.5% 5,108 0.5% 145,760 0.3% 5,896 0.0% 142,216 0.3% 23,072 0.0%
Composer\Autoload\ClassLoader::findFileWithExtension 879 0.5% 37,676 3.8% 22,191 2.2% 38,427 4.0% 16,463 1.7% 139,072 0.3% 28,688 0.1% 119,144 0.2% 106,056 0.2%
reset 823 0.4% 838 0.1% 838 0.1% 1,409 0.1% 1,409 0.1% 32,376 0.1% 32,376 0.1% 5,176 0.0% 5,176 0.0%
Drupal\Core\Entity\ContentEntityBase::get 810 0.4% 66,013 6.7% 2,313 0.2% 65,966 6.8% 2,724 0.3% 4,019,040 7.4% 15,384 0.0% 3,548,040 6.5% 5,824 0.0%
Drupal\Core\Entity\Entity::getEntityTypeId 800 0.4% 863 0.1% 863 0.1% 1,673 0.2% 1,673 0.2% 10,048 0.0% 10,048 0.0% 5,376 0.0% 5,376 0.0%
Drupal\Core\Entity\EntityDisplayBase::fieldHasDisplayOptions 780 0.4% 3,994 0.4% 2,786 0.3% 4,450 0.5% 2,649 0.3% 68,168 0.1% 1,440 0.0% 2,560 0.0% 0 0.0%
Drupal\Core\Entity\ContentEntityBase::getEntityKey 779 0.4% 5,309 0.5% 3,100 0.3% 5,955 0.6% 3,021 0.3% 19,192 0.0% 8,384 0.0% 10,192 0.0% 4,312 0.0%
Drupal\Core\Entity\EntityType::isStaticallyCacheable 769 0.4% 895 0.1% 895 0.1% 1,678 0.2% 1,678 0.2% 4,328 0.0% 4,328 0.0% 3,200 0.0% 3,200 0.0%
end 763 0.4% 801 0.1% 801 0.1% 1,512 0.2% 1,512 0.2% 1,656 0.0% 1,656 0.0% 1,448 0.0% 1,448 0.0%
Symfony\Component\HttpFoundation\RequestStack::getCurrentRequest 762 0.4% 3,416 0.3% 2,616 0.3% 4,033 0.4% 2,523 0.3% 47,928 0.1% 47,120 0.1% 6,992 0.0% 6,272 0.0%
is_bool 743 0.4% 757 0.1% 757 0.1% 1,252 0.1% 1,252 0.1% 3,176 0.0% 3,176 0.0% 2,936 0.0% 2,936 0.0%
Drupal\Core\Field\BaseFieldDefinition::getDisplayOptions 740 0.4% 1,152 0.1% 1,152 0.1% 1,721 0.2% 1,721 0.2% 31,512 0.1% 31,512 0.1% 704 0.0% 704 0.0%
in_array 734 0.4% 847 0.1% 847 0.1% 1,507 0.2% 1,507 0.2% 17,560 0.0% 17,560 0.0% 10,384 0.0% 10,384 0.0%
Drupal\Core\Entity\EntityManager::getDefinition 718 0.4% 26,320 2.7% 5,594 0.6% 26,659 2.8% 4,328 0.4% 3,030,984 5.6% 13,608 0.0% 2,717,968 5.0% 7,512 0.0%
Drupal::theme 706 0.4% 8,135 0.8% 2,149 0.2% 8,768 0.9% 2,242 0.2% 21,288 0.0% 54,376 0.1% 147,104 0.3% 5,792 0.0%
array_intersect_key 705 0.4% 959 0.1% 959 0.1% 1,640 0.2% 1,640 0.2% 264,216 0.5% 264,216 0.5% 18,928 0.0% 18,928 0.0%
SplDoublyLinkedList::push 700 0.4% 801 0.1% 801 0.1% 1,378 0.1% 1,378 0.1% 40,648 0.1% 40,648 0.1% 4,360 0.0% 4,360 0.0%
drupal_merge_attached 697 0.4% 8,092 0.8% 2,034 0.2% 8,549 0.9% 1,978 0.2% 100,864 0.2% 3,424 0.0% 21,600 0.0% 832 0.0%
drupal_merge_cache_tags 697 0.4% 1,973 0.2% 1,718 0.2% 2,490 0.3% 2,101 0.2% 129,048 0.2% 128,272 0.2% 1,912 0.0% 1,912 0.0%
SplDoublyLinkedList::pop 697 0.4% 717 0.1% 717 0.1% 1,267 0.1% 1,267 0.1% -63,784 -0.1% -63,784 -0.1% 592 0.0% 592 0.0%
preg_replace 696 0.4% 1,928 0.2% 1,928 0.2% 2,524 0.3% 2,524 0.3% 119,808 0.2% 119,808 0.2% 22,632 0.0% 22,632 0.0%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getEntityTypeId 686 0.4% 1,277 0.1% 1,277 0.1% 1,701 0.2% 1,701 0.2% 3,552 0.0% 3,552 0.0% 3,416 0.0% 3,416 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementationInfo 678 0.4% 3,670 0.4% 2,045 0.2% 4,133 0.4% 2,549 0.3% 135,072 0.2% 15,632 0.0% 152,536 0.3% 8,680 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementations 678 0.4% 7,867 0.8% 3,501 0.4% 8,274 0.9% 2,879 0.3% 273,952 0.5% 40,680 0.1% 169,688 0.3% 7,896 0.0%
{closure} 674 0.4% 27,669 2.8% 10,686 1.1% 28,155 2.9% 8,358 0.9% 116,576 0.2% -167,752 -0.3% 37,464 0.1% 9,352 0.0%
Drupal\Core\TypedData\DataDefinition::isComputed 665 0.4% 911 0.1% 911 0.1% 1,477 0.2% 1,477 0.2% 37,040 0.1% 37,040 0.1% 5,576 0.0% 5,576 0.0%
explode 660 0.4% 842 0.1% 842 0.1% 1,487 0.2% 1,487 0.2% 293,216 0.5% 293,216 0.5% 23,792 0.0% 23,792 0.0%
Drupal\Core\Entity\ContentEntityBase::getDataDefinition 655 0.3% 2,150 0.2% 1,010 0.1% 2,821 0.3% 1,603 0.2% 118,736 0.2% 10,104 0.0% 96,120 0.2% 4,672 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 631 0.3% 7,141 0.7% 4,408 0.4% 7,647 0.8% 3,631 0.4% 225,688 0.4% 189,120 0.3% 42,824 0.1% 9,968 0.0%
Drupal\Core\Template\Attribute::offsetSet 631 0.3% 9,638 1.0% 2,497 0.3% 10,131 1.0% 2,484 0.3% 360,064 0.7% 134,376 0.2% 50,408 0.1% 7,584 0.0%
Drupal\Core\TypedData\DataDefinition::getSettings 630 0.3% 700 0.1% 700 0.1% 1,356 0.1% 1,356 0.1% 88,360 0.2% 88,360 0.2% 3,288 0.0% 3,288 0.0%
Drupal\Core\Template\AttributeValueBase::__construct 630 0.3% 1,039 0.1% 1,039 0.1% 1,536 0.2% 1,536 0.2% 896 0.0% 896 0.0% 2,160 0.0% 2,160 0.0%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getBundles 626 0.3% 2,579 0.3% 1,952 0.2% 3,112 0.3% 2,090 0.2% 2,912 0.0% 2,096 0.0% 2,232 0.0% 1,680 0.0%
Drupal\Core\Entity\ContentEntityBase::getPropertyPath 624 0.3% 633 0.1% 633 0.1% 1,225 0.1% 1,225 0.1% 32,504 0.1% 32,504 0.1% 2,696 0.0% 2,696 0.0%
Drupal\Core\Entity\ContentEntityBase::getRoot 624 0.3% 638 0.1% 638 0.1% 1,234 0.1% 1,234 0.1% 2,512 0.0% 2,512 0.0% 1,912 0.0% 1,912 0.0%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getDataType 624 0.3% 10,991 1.1% 6,005 0.6% 11,514 1.2% 4,838 0.5% 63,296 0.1% 38,712 0.1% 14,888 0.0% 9,480 0.0%
array_shift 592 0.3% 606 0.1% 606 0.1% 1,103 0.1% 1,103 0.1% -38,560 -0.1% -38,560 -0.1% 2,584 0.0% 2,584 0.0%
array_filter 583 0.3% 8,055 0.8% 2,471 0.3% 8,543 0.9% 2,433 0.3% 222,544 0.4% 122,168 0.2% 40,296 0.1% 23,128 0.0%
Drupal\Core\TypedData\TypedDataManager::getPropertyInstance 582 0.3% 77,861 7.9% 11,595 1.2% 77,615 8.0% 8,090 0.8% 4,354,184 8.0% 71,608 0.1% 3,770,432 6.9% 72,976 0.1%
Drupal\Core\Theme\ThemeManager::getActiveTheme 572 0.3% 4,818 0.5% 769 0.1% 4,901 0.5% 1,342 0.1% 303,072 0.6% 14,960 0.0% 280,536 0.5% 5,320 0.0%
Drupal\Core\Template\AttributeValueBase::render 569 0.3% 16,487 1.7% 3,510 0.4% 16,932 1.7% 3,095 0.3% 200,400 0.4% -39,304 -0.1% 59,952 0.1% 2,120 0.0%
Drupal\Core\Entity\EntityHandlerBase::moduleHandler 569 0.3% 860 0.1% 860 0.1% 1,351 0.1% 1,351 0.1% 9,352 0.0% 9,352 0.0% 4,704 0.0% 4,704 0.0%
Drupal\Core\Entity\ContentEntityBase::getFieldDefinition 552 0.3% 7,540 0.8% 1,113 0.1% 7,491 0.8% 1,518 0.2% 888,808 1.6% 9,032 0.0% 882,568 1.6% 1,296 0.0%
array_flip 549 0.3% 782 0.1% 782 0.1% 1,338 0.1% 1,338 0.1% 313,232 0.6% 313,232 0.6% 72,960 0.1% 72,960 0.1%
is_subclass_of 538 0.3% 1,177 0.1% 1,177 0.1% 1,586 0.2% 1,586 0.2% 5,696 0.0% 5,696 0.0% 4,896 0.0% 4,896 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKeys 531 0.3% 1,230 0.1% 1,230 0.1% 1,715 0.2% 1,715 0.2% 210,792 0.4% 210,792 0.4% 29,904 0.1% 29,904 0.1%
strtolower 507 0.3% 528 0.1% 528 0.1% 1,018 0.1% 1,018 0.1% 42,504 0.1% 42,504 0.1% 11,392 0.0% 11,392 0.0%
Drupal\Core\TypedData\DataDefinition::getDataType 506 0.3% 817 0.1% 817 0.1% 1,198 0.1% 1,198 0.1% 5,200 0.0% 5,200 0.0% 3,896 0.0% 3,896 0.0%
array_merge 503 0.3% 855 0.1% 855 0.1% 1,324 0.1% 1,324 0.1% 508,472 0.9% 508,472 0.9% 36,968 0.1% 36,968 0.1%
Drupal\Core\Config\Config::get 503 0.3% 6,994 0.7% 2,292 0.2% 7,432 0.8% 2,174 0.2% 135,680 0.2% -70,992 -0.1% 68,432 0.1% 3,384 0.0%
Composer\Autoload\ClassLoader::loadClass 502 0.3% 209,809 21.2% 2,960 0.3% 210,411 21.7% 2,679 0.3% 30,401,640 55.9% 134,432 0.2% 28,749,048 52.7% 14,360 0.0%
is_scalar 495 0.3% 503 0.1% 503 0.1% 871 0.1% 871 0.1% 4,728 0.0% 4,728 0.0% 3,920 0.0% 3,920 0.0%
Composer\Autoload\includeFile 478 0.3% 182,403 18.5% 8,183 0.8% 182,828 18.9% 7,154 0.7% 30,187,176 55.5% -679,984 -1.2% 28,631,072 52.5% 31,544 0.1%
Drupal\Core\Entity\ContentEntityBase::id 477 0.3% 3,694 0.4% 1,499 0.2% 4,146 0.4% 1,538 0.2% 16,744 0.0% 14,336 0.0% 5,776 0.0% 5,064 0.0%
Drupal\Core\Entity\Entity::entityManager 475 0.3% 7,335 0.7% 1,410 0.1% 7,759 0.8% 1,494 0.2% 5,440 0.0% 4,632 0.0% 14,776 0.0% 2,296 0.0%
Drupal\Core\Entity\EntityManager::getHandler 442 0.2% 23,389 2.4% 1,414 0.1% 23,444 2.4% 1,647 0.2% 3,420,192 6.3% 10,424 0.0% 3,214,216 5.9% 8,888 0.0%
Drupal::request 426 0.2% 8,176 0.8% 2,221 0.2% 8,499 0.9% 1,875 0.2% 34,512 0.1% 32,880 0.1% 9,440 0.0% 4,240 0.0%
Drupal\Core\Render\Element::children 410 0.2% 6,688 0.7% 3,919 0.4% 7,060 0.7% 3,610 0.4% 184,496 0.3% 41,240 0.1% 20,792 0.0% 14,152 0.0%
array_diff 409 0.2% 2,096 0.2% 2,096 0.2% 2,469 0.3% 2,469 0.3% 75,432 0.1% 75,432 0.1% 17,232 0.0% 17,232 0.0%
Drupal\Core\Entity\Entity::getEntityType 401 0.2% 15,278 1.5% 2,797 0.3% 15,624 1.6% 2,029 0.2% 8,504 0.0% 5,960 0.0% 8,768 0.0% 1,480 0.0%
Drupal\Core\Config\ConfigFactory::getConfigCacheKey 398 0.2% 3,526 0.4% 2,214 0.2% 3,867 0.4% 1,872 0.2% 48,144 0.1% -147,816 -0.3% 28,648 0.1% 2,944 0.0%
str_replace 385 0.2% 1,451 0.1% 1,451 0.1% 1,786 0.2% 1,786 0.2% 1,329,128 2.4% 1,329,128 2.4% 199,848 0.4% 199,848 0.4%
Drupal\Core\Extension\ModuleHandler::alter 383 0.2% 58,387 5.9% 3,634 0.4% 57,769 6.0% 2,993 0.3% 1,487,784 2.7% -60,536 -0.1% 1,402,440 2.6% 22,064 0.0%
Symfony\Component\HttpFoundation\Request::getMethod 382 0.2% 708 0.1% 702 0.1% 1,014 0.1% 1,004 0.1% 5,096 0.0% 3,408 0.0% 1,520 0.0% 1,520 0.0%
Symfony\Component\HttpFoundation\Request::isMethodSafe 377 0.2% 3,149 0.3% 2,072 0.2% 3,444 0.4% 1,706 0.2% 22,880 0.0% 21,224 0.0% 3,464 0.0% 2,056 0.0%
drupal_render_cid_create 376 0.2% 21,993 2.2% 855 0.1% 22,296 2.3% 1,018 0.1% 139,072 0.3% -22,552 -0.0% 100,408 0.2% 1,536 0.0%
Drupal\Core\Field\FieldItemBase::__get 373 0.2% 5,023 0.5% 884 0.1% 5,170 0.5% 1,098 0.1% 29,864 0.1% 8,688 0.0% 35,840 0.1% 6,328 0.0%
Drupal\Core\Entity\EntityManager::getStorage 351 0.2% 19,597 2.0% 1,139 0.1% 19,596 2.0% 1,166 0.1% 2,899,288 5.3% 15,256 0.0% 2,719,000 5.0% 7,552 0.0%
Drupal\Core\Utility\ThemeRegistry::has 351 0.2% 1,380 0.1% 1,021 0.1% 1,651 0.2% 995 0.1% 21,976 0.0% 21,152 0.0% 2,856 0.0% 2,856 0.0%
[ display all ]