Run Report
Run #55b92b78d42b0: XHProf Run (Namespace=drupal-perf-cthos)
Tip
Click a function name below to drill down.

Overall Summary
Total Incl. Wall Time (microsec):3,862,719 microsecs
Total Incl. MemUse (bytes):40,638,184 bytes
Total Incl. PeakMemUse (bytes):41,403,992 bytes
Number of Function Calls:597,481


[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%
function_exists 19,715 3.3% 6,324 0.2% 6,324 0.2% 21,728 0.1% 21,728 0.1% 37,016 0.1% 37,016 0.1%
in_array 17,934 3.0% 5,534 0.1% 5,534 0.1% 35,416 0.1% 35,416 0.1% 11,176 0.0% 11,176 0.0%
str_replace 16,437 2.8% 9,721 0.3% 9,721 0.3% 3,253,368 8.0% 3,253,368 8.0% 101,440 0.2% 101,440 0.2%
array_key_exists 14,363 2.4% 9,137 0.2% 9,137 0.2% 31,288 0.1% 31,288 0.1% 10,376 0.0% 10,376 0.0%
strlen 14,308 2.4% 9,991 0.3% 9,991 0.3% 22,088 0.1% 22,088 0.1% 8,152 0.0% 8,152 0.0%
is_array 14,063 2.4% 4,938 0.1% 4,938 0.1% 53,024 0.1% 53,024 0.1% 17,384 0.0% 17,384 0.0%
preg_match 11,828 2.0% 63,666 1.6% 63,666 1.6% 1,680,472 4.1% 1,680,472 4.1% 78,736 0.2% 78,736 0.2%
ArrayIterator::__construct 10,246 1.7% 9,939 0.3% 9,939 0.3% 1,266,184 3.1% 1,266,184 3.1% 189,688 0.5% 189,688 0.5%
Twig_Node::getIterator 10,180 1.7% 34,459 0.9% 24,728 0.6% 5,183,544 12.8% 3,929,336 9.7% 309,888 0.7% 124,184 0.3%
Doctrine\Common\Annotations\TokenParser::next 10,177 1.7% 15,716 0.4% 15,716 0.4% 23,704 0.1% 23,704 0.1% 6,384 0.0% 6,384 0.0%
strpos 10,096 1.7% 3,682 0.1% 3,682 0.1% 38,720 0.1% 38,720 0.1% 13,784 0.0% 13,784 0.0%
Twig_Node::setNode 9,870 1.7% 6,313 0.2% 6,313 0.2% 13,736 0.0% 13,736 0.0% 7,568 0.0% 7,568 0.0%
substr 9,173 1.5% 4,443 0.1% 4,443 0.1% 398,064 1.0% 398,064 1.0% 17,000 0.0% 17,000 0.0%
count 8,777 1.5% 12,009 0.3% 7,675 0.2% 54,384 0.1% -10,528 -0.0% 25,376 0.1% 22,064 0.1%
ltrim 7,088 1.2% 4,034 0.1% 4,034 0.1% 319,648 0.8% 319,648 0.8% 56 0.0% 56 0.0%
Twig_Node::getAttribute 6,804 1.1% 23,962 0.6% 20,862 0.5% 35,880 0.1% 35,240 0.1% 21,704 0.1% 21,200 0.1%
trim 6,636 1.1% 5,779 0.1% 5,779 0.1% 398,416 1.0% 398,416 1.0% 2,720 0.0% 2,720 0.0%
Doctrine\Common\Lexer\AbstractLexer::isNextToken 6,065 1.0% 2,775 0.1% 2,775 0.1% 298,072 0.7% 298,072 0.7% 4,024 0.0% 4,024 0.0%
Twig_Compiler::raw 5,327 0.9% 3,698 0.1% 3,698 0.1% 63,680 0.2% 63,680 0.2% 105,456 0.3% 105,456 0.3%
implode 5,164 0.9% 4,777 0.1% 4,777 0.1% 656,136 1.6% 656,136 1.6% 42,184 0.1% 42,184 0.1%
Twig_Node::getNode 4,677 0.8% 10,122 0.3% 8,706 0.2% 99,200 0.2% 98,568 0.2% 144,776 0.3% 144,456 0.3%
is_integer 4,607 0.8% 690 0.0% 690 0.0% 2,656 0.0% 2,656 0.0% 0 0.0% 0 0.0%
preg_replace 4,432 0.7% 20,351 0.5% 20,351 0.5% 2,657,560 6.5% 2,657,560 6.5% 558,120 1.3% 558,120 1.3%
explode 3,902 0.7% 4,123 0.1% 4,123 0.1% 2,193,384 5.4% 2,193,384 5.4% 206,728 0.5% 206,728 0.5%
Symfony\Component\Yaml\Parser::moveToNextLine 3,764 0.6% 9,707 0.3% 8,087 0.2% 168,296 0.4% 167,648 0.4% 0 0.0% 0 0.0%
Doctrine\Common\Lexer\AbstractLexer::moveNext 3,687 0.6% 4,560 0.1% 4,560 0.1% 117,064 0.3% 117,064 0.3% 2,088 0.0% 2,088 0.0%
Twig_Environment::isStrictVariables 3,606 0.6% 721 0.0% 721 0.0% 2,008 0.0% 2,008 0.0% 1,256 0.0% 1,256 0.0%
Twig_Node::__construct 3,565 0.6% 5,786 0.1% 5,786 0.1% 308,304 0.8% 308,304 0.8% 195,136 0.5% 195,136 0.5%
Symfony\Component\DependencyInjection\Container::get 3,553 0.6% 97,417 2.5% 17,999 0.5% 4,264,328 10.5% 93,224 0.2% 3,468,752 8.4% 69,704 0.2%
Twig_Token::test 3,545 0.6% 5,771 0.1% 5,096 0.1% 183,336 0.5% 181,464 0.4% 66,360 0.2% 64,848 0.2%
Doctrine\Common\Annotations\DocLexer::getType 3,467 0.6% 9,461 0.2% 8,414 0.2% 83,536 0.2% 42,248 0.1% 22,744 0.1% 20,648 0.0%
Twig_TokenStream::getCurrent 3,443 0.6% 1,075 0.0% 1,075 0.0% 2,000 0.0% 2,000 0.0% 1,864 0.0% 1,864 0.0%
Twig_Parser::getCurrentToken 3,429 0.6% 5,778 0.1% 4,707 0.1% 14,928 0.0% 14,272 0.0% 23,016 0.1% 22,360 0.1%
Twig_Environment::hasExtension 3,401 0.6% 5,821 0.2% 5,821 0.2% 165,232 0.4% 165,232 0.4% 1,576 0.0% 1,576 0.0%
Twig_NodeVisitor_Optimizer::optimizeRawFilter 3,334 0.6% 2,272 0.1% 1,404 0.0% 2,584 0.0% 1,256 0.0% 1,904 0.0% 1,072 0.0%
Twig_NodeVisitor_Optimizer::enterOptimizeFor 3,334 0.6% 4,203 0.1% 2,699 0.1% 8,608 0.0% 5,720 0.0% 3,952 0.0% 1,712 0.0%
Twig_NodeVisitor_Optimizer::leaveNode 3,334 0.6% 40,396 1.0% 28,728 0.7% 20,208 0.0% -145,344 -0.4% 13,704 0.0% 8,624 0.0%
Twig_NodeVisitor_Optimizer::enterNode 3,334 0.6% 11,729 0.3% 7,526 0.2% 22,336 0.1% 13,728 0.0% 12,072 0.0% 8,120 0.0%
Twig_NodeVisitor_Optimizer::leaveOptimizeFor 3,334 0.6% 1,073 0.0% 1,061 0.0% -1,016 -0.0% 2,408 0.0% 832 0.0% 640 0.0%
Twig_NodeVisitor_Optimizer::optimizePrintNode 3,334 0.6% 2,260 0.1% 1,847 0.0% 2,616 0.0% 1,336 0.0% 1,136 0.0% 784 0.0%
Drupal\Core\Template\TwigNodeVisitor::enterNode 3,333 0.6% 1,494 0.0% 1,494 0.0% 13,080 0.0% 13,080 0.0% 7,416 0.0% 7,416 0.0%
Drupal\Core\Template\TwigNodeVisitor::leaveNode 3,333 0.6% 8,376 0.2% 5,974 0.2% 82,400 0.2% 33,144 0.1% 8,744 0.0% 7,144 0.0%
array_keys 3,291 0.6% 12,518 0.3% 12,518 0.3% 4,071,856 10.0% 4,071,856 10.0% 189,000 0.5% 189,000 0.5%
Symfony\Component\Yaml\Parser::getCurrentLineIndentation 3,280 0.5% 23,943 0.6% 14,750 0.4% 160,752 0.4% 18,208 0.0% 0 0.0% 0 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineBlank 3,264 0.5% 6,789 0.2% 5,579 0.1% 159,008 0.4% 14,672 0.0% 0 0.0% 0 0.0%
Drupal::getContainer 3,244 0.5% 2,728 0.1% 2,728 0.1% 17,464 0.0% 17,464 0.0% 5,776 0.0% 5,776 0.0%
is_int 3,232 0.5% 730 0.0% 730 0.0% 3,864 0.0% 3,864 0.0% 3,048 0.0% 3,048 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineComment 2,959 0.5% 8,291 0.2% 7,108 0.2% 144,368 0.4% 9,800 0.0% 0 0.0% 0 0.0%
Twig_Token::getValue 2,905 0.5% 436 0.0% 436 0.0% 23,584 0.1% 23,584 0.1% 15,792 0.0% 15,792 0.0%
substr_count 2,893 0.5% 1,077 0.0% 1,077 0.0% 3,296 0.0% 3,296 0.0% 1,840 0.0% 1,840 0.0%
Twig_Token::getType 2,857 0.5% 1,457 0.0% 1,457 0.0% 8,488 0.0% 8,488 0.0% 7,752 0.0% 7,752 0.0%
Twig_Lexer::pushToken 2,547 0.4% 11,746 0.3% 9,345 0.2% 622,504 1.5% 621,864 1.5% 172,688 0.4% 136,944 0.3%
Doctrine\Common\Annotations\DocParser::match 2,546 0.4% 13,114 0.3% 8,899 0.2% 7,944 0.0% -236,840 -0.6% 5,040 0.0% 4,192 0.0%
Twig_Lexer::moveCursor 2,528 0.4% 12,318 0.3% 11,102 0.3% 106,704 0.3% 105,448 0.3% 9,992 0.0% 8,944 0.0%
is_string 2,468 0.4% 1,437 0.0% 1,437 0.0% 18,296 0.0% 18,296 0.0% 6,984 0.0% 6,984 0.0%
Twig_Token::__construct 2,467 0.4% 2,401 0.1% 2,401 0.1% 640 0.0% 640 0.0% 35,744 0.1% 35,744 0.1%
Twig_TokenStream::next 2,443 0.4% 1,880 0.0% 1,880 0.0% 17,064 0.0% 17,064 0.0% 14,376 0.0% 14,376 0.0%
Twig_Node::getLine 2,439 0.4% 935 0.0% 935 0.0% 7,864 0.0% 7,864 0.0% 2,720 0.0% 2,720 0.0%
Twig_NodeVisitor_Escaper::enterNode 2,410 0.4% 4,648 0.1% 4,244 0.1% 20,064 0.0% 13,984 0.0% 13,720 0.0% 9,104 0.0%
Twig_NodeVisitor_Escaper::leaveNode 2,410 0.4% 46,863 1.2% 5,565 0.1% 1,616,080 4.0% 19,632 0.0% 598,672 1.4% 6,112 0.0%
func_get_args 2,316 0.4% 1,363 0.0% 1,363 0.0% 666,544 1.6% 666,544 1.6% 10,224 0.0% 10,224 0.0%
strtolower 2,240 0.4% 1,694 0.0% 1,694 0.0% 99,264 0.2% 99,264 0.2% 8,728 0.0% 8,728 0.0%
sprintf 2,093 0.4% 2,393 0.1% 2,393 0.1% 575,656 1.4% 575,656 1.4% 6,920 0.0% 6,920 0.0%
Twig_Node::setAttribute 2,000 0.3% 2,235 0.1% 2,235 0.1% 172,456 0.4% 172,456 0.4% 9,056 0.0% 9,056 0.0%
array_merge 1,909 0.3% 4,578 0.1% 4,578 0.1% 1,617,368 4.0% 1,617,368 4.0% 85,664 0.2% 85,664 0.2%
str_repeat 1,802 0.3% 754 0.0% 754 0.0% 55,928 0.1% 55,928 0.1% 600 0.0% 600 0.0%
Twig_Compiler::addIndentation 1,802 0.3% 4,672 0.1% 3,918 0.1% 20,544 0.1% -35,384 -0.1% 103,736 0.3% 103,136 0.2%
Symfony\Component\Yaml\Parser::isCurrentLineEmpty 1,769 0.3% 18,802 0.5% 8,632 0.2% 92,992 0.2% -75,312 -0.2% 0 0.0% 0 0.0%
PDOStatement::setFetchMode 1,674 0.3% 3,442 0.1% 2,991 0.1% 8,064 0.0% 3,648 0.0% 4,480 0.0% 1,944 0.0%
Twig_Compiler::write 1,654 0.3% 13,026 0.3% 7,508 0.2% 61,904 0.2% -390,968 -1.0% 138,688 0.3% 31,464 0.1%
Twig_Token::getLine 1,630 0.3% 313 0.0% 313 0.0% 23,560 0.1% 23,560 0.1% 15,000 0.0% 15,000 0.0%
Drupal\Core\Config\Config::get 1,609 0.3% 7,487 0.2% 4,014 0.1% 35,696 0.1% -272,704 -0.7% 10,584 0.0% 3,800 0.0%
Twig_Parser::getStream 1,596 0.3% 327 0.0% 327 0.0% 23,784 0.1% 23,784 0.1% 16,768 0.0% 16,768 0.0%
is_numeric 1,567 0.3% 394 0.0% 394 0.0% 11,856 0.0% 11,856 0.0% 6,480 0.0% 6,480 0.0%
Drupal\Core\Entity\Entity::id 1,504 0.3% 613 0.0% 613 0.0% 16,280 0.0% 16,280 0.0% 4,408 0.0% 4,408 0.0%
addcslashes 1,482 0.2% 744 0.0% 744 0.0% 64,360 0.2% 64,360 0.2% 3,408 0.0% 3,408 0.0%
Twig_Compiler::string 1,477 0.2% 6,159 0.2% 4,909 0.1% 26,144 0.1% -416,080 -1.0% 97,144 0.2% 93,192 0.2%
is_object 1,473 0.2% 2,152 0.1% 2,152 0.1% 15,032 0.0% 15,032 0.0% 4,216 0.0% 4,216 0.0%
Twig_NodeTraverser::traverseForVisitor@6 1,466 0.2% 169,043 4.4% 11,579 0.3% 1,235,728 3.0% -662,184 -1.6% 662,680 1.6% 4,824 0.0%
Drupal\Component\Utility\SafeMarkup::set 1,411 0.2% 4,742 0.1% 4,742 0.1% 531,680 1.3% 531,680 1.3% 1,968 0.0% 1,968 0.0%
dirname 1,403 0.2% 586 0.0% 586 0.0% 94,800 0.2% 94,800 0.2% 5,008 0.0% 5,008 0.0%
strtr 1,392 0.2% 10,906 0.3% 10,318 0.3% 108,232 0.3% 105,464 0.3% 4,349,040 10.5% 4,349,040 10.5%
Twig_Lexer::lexExpression 1,373 0.2% 37,337 1.0% 14,441 0.4% 573,224 1.4% -227,144 -0.6% 174,168 0.4% 25,856 0.1%
Drupal\Core\StringTranslation\TranslationManager::translate 1,370 0.2% 31,938 0.8% 7,759 0.2% 425,856 1.0% 10,416 0.0% 1,238,240 3.0% 20,728 0.1%
Drupal\Core\StringTranslation\TranslationManager::doTranslate 1,370 0.2% 15,399 0.4% 6,911 0.2% 8,536 0.0% -64,752 -0.2% 88,872 0.2% 73,784 0.2%
Drupal\Core\StringTranslation\TranslationManager::getStringTranslation 1,370 0.2% 8,488 0.2% 6,300 0.2% 73,288 0.2% 1,392 0.0% 15,088 0.0% 5,896 0.0%
Drupal\Core\StringTranslation\Translator\StaticTranslation::getStringTranslation 1,370 0.2% 2,180 0.1% 2,174 0.1% 68,936 0.2% 67,072 0.2% 6,232 0.0% 4,368 0.0%
array_diff 1,367 0.2% 6,564 0.2% 6,564 0.2% 230,096 0.6% 230,096 0.6% 14,792 0.0% 14,792 0.0%
Symfony\Component\Yaml\Inline::parseScalar 1,278 0.2% 28,558 0.7% 13,231 0.3% 139,720 0.3% -167,392 -0.4% 0 0.0% 0 0.0%
ini_get 1,266 0.2% 1,413 0.0% 1,413 0.0% 47,008 0.1% 47,008 0.1% 2,168 0.0% 2,168 0.0%
Symfony\Component\Yaml\Inline::parse 1,265 0.2% 27,196 0.7% 9,344 0.2% 107,848 0.3% -107,752 -0.3% 0 0.0% 0 0.0%
count@1 1,254 0.2% 751 0.0% 751 0.0% 1,928 0.0% 1,928 0.0% 1,008 0.0% 1,008 0.0%
apc_fetch 1,253 0.2% 23,040 0.6% 20,392 0.5% 8,471,648 20.8% 7,933,664 19.5% 5,989,512 14.5% 5,725,536 13.8%
Twig_Node::hasAttribute 1,229 0.2% 2,172 0.1% 1,854 0.0% 63,904 0.2% 63,264 0.2% 3,920 0.0% 3,280 0.0%
Symfony\Component\Yaml\Inline::evaluateScalar 1,170 0.2% 12,007 0.3% 10,595 0.3% 106,368 0.3% 11,384 0.0% 0 0.0% 0 0.0%
spl_object_hash 1,164 0.2% 805 0.0% 805 0.0% 66,496 0.2% 66,496 0.2% 3,288 0.0% 3,288 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::findFile 1,161 0.2% 13,847 0.4% 5,278 0.1% 169,296 0.4% 59,664 0.1% 186,240 0.4% 90,872 0.2%
Drupal\Core\Config\ConfigFactory::getCacheKeys 1,161 0.2% 1,271 0.0% 1,271 0.0% 410,792 1.0% 410,792 1.0% 17,056 0.0% 17,056 0.0%
Drupal\Core\Database\Query\Query::uniqueIdentifier 1,150 0.2% 1,916 0.0% 1,916 0.0% 2,088 0.0% 2,088 0.0% 1,640 0.0% 1,640 0.0%
Twig_NodeTraverser::traverseForVisitor@8 1,138 0.2% 107,877 2.8% 9,915 0.3% 832,872 2.0% -532,352 -1.3% 400,320 1.0% 3,928 0.0%
[ display all ]