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

Overall Summary
Total Incl. Wall Time (microsec):3,532,855 microsecs
Total Incl. MemUse (bytes):43,230,264 bytes
Total Incl. PeakMemUse (bytes):43,643,428 bytes
Number of Function Calls:638,273


[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 20,292 3.2% 4,546 0.1% 4,546 0.1% 13,476 0.0% 13,476 0.0% 30,908 0.1% 30,908 0.1%
in_array 18,762 2.9% 2,788 0.1% 2,788 0.1% 20,116 0.0% 20,116 0.0% 5,936 0.0% 5,936 0.0%
strpos 18,587 2.9% 1,097 0.0% 1,097 0.0% 22,116 0.1% 22,116 0.1% 7,560 0.0% 7,560 0.0%
strlen 18,463 2.9% 310 0.0% 310 0.0% 12,536 0.0% 12,536 0.0% 5,104 0.0% 5,104 0.0%
str_replace 16,617 2.6% 8,431 0.2% 8,431 0.2% 2,322,444 5.4% 2,322,444 5.4% 139,412 0.3% 139,412 0.3%
array_key_exists 14,366 2.3% 1,450 0.0% 1,450 0.0% 17,892 0.0% 17,892 0.0% 4,624 0.0% 4,624 0.0%
preg_match 14,263 2.2% 63,162 1.8% 63,162 1.8% 1,138,100 2.6% 1,138,100 2.6% 20,668 0.0% 20,668 0.0%
is_array 14,117 2.2% 587 0.0% 587 0.0% 30,176 0.1% 30,176 0.1% 11,464 0.0% 11,464 0.0%
substr 11,248 1.8% 1,770 0.1% 1,770 0.1% 321,984 0.7% 321,984 0.7% 6,884 0.0% 6,884 0.0%
count 10,414 1.6% 7,637 0.2% 4,675 0.1% 30,912 0.1% -7,072 -0.0% 12,424 0.0% 11,412 0.0%
Doctrine\Common\Annotations\TokenParser::next 10,279 1.6% 21,572 0.6% 21,572 0.6% 7,612 0.0% 7,612 0.0% 1,676 0.0% 1,676 0.0%
ArrayIterator::__construct 10,246 1.6% 6,816 0.2% 6,816 0.2% 689,960 1.6% 689,960 1.6% 99,840 0.2% 99,840 0.2%
Twig_Node::getIterator 10,180 1.6% 37,684 1.1% 30,968 0.9% 953,220 2.2% 269,740 0.6% 211,912 0.5% 114,440 0.3%
trim 10,040 1.6% 993 0.0% 993 0.0% 428,008 1.0% 428,008 1.0% 2,308 0.0% 2,308 0.0%
Twig_Node::setNode 9,870 1.5% 4,522 0.1% 4,522 0.1% -123,136 -0.3% -123,136 -0.3% 4,656 0.0% 4,656 0.0%
ltrim 9,810 1.5% 667 0.0% 667 0.0% 333,748 0.8% 333,748 0.8% 944 0.0% 944 0.0%
Twig_Node::getAttribute 6,804 1.1% 14,632 0.4% 14,062 0.4% -4,629,436 -10.7% -4,629,792 -10.7% 9,848 0.0% 9,580 0.0%
Doctrine\Common\Lexer\AbstractLexer::isNextToken 6,127 1.0% 3,145 0.1% 3,145 0.1% 175,704 0.4% 175,704 0.4% 1,768 0.0% 1,768 0.0%
Symfony\Component\Yaml\Parser::moveToNextLine 5,365 0.8% 11,660 0.3% 11,545 0.3% 129,536 0.3% 129,168 0.3% 920 0.0% 552 0.0%
Twig_Compiler::raw 5,327 0.8% 1,541 0.0% 1,541 0.0% -1,717,004 -4.0% -1,717,004 -4.0% 55,368 0.1% 55,368 0.1%
preg_replace 5,327 0.8% 18,413 0.5% 18,413 0.5% 2,806,452 6.5% 2,806,452 6.5% 534,052 1.2% 534,052 1.2%
implode 5,303 0.8% 3,141 0.1% 3,141 0.1% 644,568 1.5% 644,568 1.5% 42,860 0.1% 42,860 0.1%
Twig_Node::getNode 4,677 0.7% 9,369 0.3% 9,136 0.3% -504,756 -1.2% -505,108 -1.2% 9,016 0.0% 9,016 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineBlank 4,633 0.7% 10,106 0.3% 9,768 0.3% 131,080 0.3% -23,064 -0.1% 836 0.0% 568 0.0%
is_integer 4,613 0.7% 174 0.0% 174 0.0% 1,520 0.0% 1,520 0.0% 892 0.0% 892 0.0%
Symfony\Component\Yaml\Parser::getCurrentLineIndentation 4,459 0.7% 24,306 0.7% 23,976 0.7% 126,760 0.3% -18,584 -0.0% 0 0.0% 0 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineComment 4,124 0.6% 9,569 0.3% 9,330 0.3% 116,828 0.3% -29,168 -0.1% 836 0.0% 568 0.0%
explode 4,106 0.6% 5,014 0.1% 5,014 0.1% 1,350,452 3.1% 1,350,452 3.1% 105,888 0.2% 105,888 0.2%
Doctrine\Common\Lexer\AbstractLexer::moveNext 3,719 0.6% 5,938 0.2% 5,938 0.2% 69,008 0.2% 69,008 0.2% 1,260 0.0% 1,260 0.0%
Twig_Environment::isStrictVariables 3,606 0.6% 298 0.0% 298 0.0% -129,828 -0.3% -129,828 -0.3% 728 0.0% 728 0.0%
Twig_Node::__construct 3,565 0.6% 13,127 0.4% 13,127 0.4% -802,220 -1.9% -802,220 -1.9% 54,972 0.1% 54,972 0.1%
Twig_Token::test 3,545 0.6% 6,177 0.2% 6,018 0.2% -744,764 -1.7% -745,784 -1.7% 12,936 0.0% 12,132 0.0%
Symfony\Component\DependencyInjection\Container::get 3,534 0.6% 183,210 5.2% 10,998 0.3% 7,081,808 16.4% 52,784 0.1% 6,438,996 14.8% 45,044 0.1%
Doctrine\Common\Annotations\DocLexer::getType 3,497 0.5% 11,528 0.3% 10,938 0.3% 48,244 0.1% 22,352 0.1% 3,584 0.0% 2,688 0.0%
Twig_TokenStream::getCurrent 3,443 0.5% 578 0.0% 578 0.0% -64,344 -0.1% -64,344 -0.1% 268 0.0% 268 0.0%
Twig_Parser::getCurrentToken 3,429 0.5% 6,937 0.2% 6,360 0.2% -1,956,184 -4.5% -1,891,064 -4.4% 10,172 0.0% 9,904 0.0%
Twig_Environment::hasExtension 3,401 0.5% 565 0.0% 565 0.0% 96,372 0.2% 96,372 0.2% 992 0.0% 992 0.0%
Twig_NodeVisitor_Optimizer::enterOptimizeFor 3,334 0.5% 7,350 0.2% 6,561 0.2% -4,055,964 -9.4% -4,057,408 -9.4% 764 0.0% 428 0.0%
Twig_NodeVisitor_Optimizer::enterNode 3,334 0.5% 18,693 0.5% 11,343 0.3% -1,624,752 -3.8% 2,431,212 5.6% 11,732 0.0% 10,968 0.0%
Twig_NodeVisitor_Optimizer::leaveOptimizeFor 3,334 0.5% 3,883 0.1% 3,870 0.1% -589,824 -1.4% -589,204 -1.4% 228 0.0% 228 0.0%
Twig_NodeVisitor_Optimizer::optimizeRawFilter 3,334 0.5% 5,961 0.2% 4,873 0.1% -587,960 -1.4% -588,724 -1.4% 1,088 0.0% 648 0.0%
Twig_NodeVisitor_Optimizer::optimizePrintNode 3,334 0.5% 5,336 0.2% 4,721 0.1% -587,944 -1.4% -588,680 -1.4% 512 0.0% 400 0.0%
Twig_NodeVisitor_Optimizer::leaveNode 3,334 0.5% 57,320 1.6% 41,397 1.2% -2,476,928 -5.7% -805,324 -1.9% 7,700 0.0% 5,044 0.0%
Drupal\Core\Template\TwigNodeVisitor::enterNode 3,333 0.5% 3,909 0.1% 3,909 0.1% -516,260 -1.2% -516,260 -1.2% 4,032 0.0% 4,032 0.0%
Drupal\Core\Template\TwigNodeVisitor::leaveNode 3,333 0.5% 9,617 0.3% 7,591 0.2% -1,582,888 -3.7% -1,609,708 -3.7% 18,812 0.0% 5,600 0.0%
is_int 3,232 0.5% 73 0.0% 73 0.0% 2,172 0.0% 2,172 0.0% 1,148 0.0% 1,148 0.0%
Drupal::getContainer 3,230 0.5% 1,094 0.0% 1,094 0.0% 9,088 0.0% 9,088 0.0% 2,300 0.0% 2,300 0.0%
strtolower 3,044 0.5% 424 0.0% 424 0.0% 84,900 0.2% 84,900 0.2% 6,020 0.0% 6,020 0.0%
array_keys 2,979 0.5% 7,418 0.2% 7,418 0.2% 1,955,400 4.5% 1,955,400 4.5% 99,124 0.2% 99,124 0.2%
Twig_Token::getValue 2,905 0.5% 112 0.0% 112 0.0% -248,512 -0.6% -248,512 -0.6% 4,736 0.0% 4,736 0.0%
substr_count 2,893 0.5% 208 0.0% 208 0.0% 1,840 0.0% 1,840 0.0% 640 0.0% 640 0.0%
Twig_Token::getType 2,857 0.4% 114 0.0% 114 0.0% -322,624 -0.7% -322,624 -0.7% 2,448 0.0% 2,448 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineEmpty 2,654 0.4% 21,348 0.6% 9,717 0.3% 78,984 0.2% -66,144 -0.2% 2,552 0.0% 880 0.0%
Doctrine\Common\Annotations\DocParser::match 2,572 0.4% 17,305 0.5% 12,074 0.3% 4,676 0.0% -139,584 -0.3% 2,208 0.0% 1,584 0.0%
Twig_Lexer::pushToken 2,547 0.4% 9,285 0.3% 6,964 0.2% 336,488 0.8% 543,424 1.3% 33,200 0.1% 33,200 0.1%
Twig_Lexer::moveCursor 2,528 0.4% 8,949 0.3% 8,851 0.3% 62,112 0.1% 61,412 0.1% 8,292 0.0% 8,292 0.0%
is_string 2,493 0.4% 219 0.0% 219 0.0% 10,376 0.0% 10,376 0.0% 4,660 0.0% 4,660 0.0%
Twig_Token::__construct 2,467 0.4% 2,321 0.1% 2,321 0.1% -206,936 -0.5% -206,936 -0.5% 0 0.0% 0 0.0%
Twig_TokenStream::next 2,443 0.4% 1,714 0.0% 1,714 0.0% -1,365,608 -3.2% -1,365,608 -3.2% 5,828 0.0% 5,828 0.0%
Twig_Node::getLine 2,439 0.4% 377 0.0% 377 0.0% -257,492 -0.6% -257,492 -0.6% 1,704 0.0% 1,704 0.0%
Twig_NodeVisitor_Escaper::leaveNode 2,410 0.4% 50,210 1.4% 6,874 0.2% 245,048 0.6% -643,936 -1.5% 497,384 1.1% 3,700 0.0%
Twig_NodeVisitor_Escaper::enterNode 2,410 0.4% 5,995 0.2% 5,750 0.2% -643,640 -1.5% -647,136 -1.5% 7,760 0.0% 5,304 0.0%
is_numeric 2,354 0.4% 148 0.0% 148 0.0% 6,788 0.0% 6,788 0.0% 3,848 0.0% 3,848 0.0%
func_get_args 2,327 0.4% 1,709 0.0% 1,709 0.0% 850,976 2.0% 850,976 2.0% 18,200 0.0% 18,200 0.0%
Symfony\Component\Yaml\Inline::parseScalar 2,143 0.3% 44,612 1.3% 23,116 0.7% 145,928 0.3% -121,568 -0.3% 30,372 0.1% 520 0.0%
Symfony\Component\Yaml\Inline::parse 2,130 0.3% 42,801 1.2% 20,225 0.6% 96,164 0.2% -141,628 -0.3% 31,444 0.1% 952 0.0%
sprintf 2,093 0.3% 888 0.0% 888 0.0% 547,888 1.3% 547,888 1.3% 36,436 0.1% 36,436 0.1%
Twig_Node::setAttribute 2,000 0.3% 1,228 0.0% 1,228 0.0% 107,020 0.2% 107,020 0.2% 3,684 0.0% 3,684 0.0%
Symfony\Component\Yaml\Inline::evaluateScalar 1,960 0.3% 17,718 0.5% 17,281 0.5% 107,476 0.2% 3,864 0.0% 116 0.0% 116 0.0%
array_merge 1,938 0.3% 3,488 0.1% 3,488 0.1% 868,888 2.0% 868,888 2.0% 46,056 0.1% 46,056 0.1%
ini_get 1,814 0.3% 224 0.0% 224 0.0% 32,312 0.1% 32,312 0.1% 984 0.0% 984 0.0%
Twig_Compiler::addIndentation 1,802 0.3% 4,394 0.1% 4,215 0.1% 18,004 0.0% -20,188 -0.0% 70,972 0.2% 70,796 0.2%
str_repeat 1,802 0.3% 179 0.0% 179 0.0% 38,192 0.1% 38,192 0.1% 176 0.0% 176 0.0%
Twig_Compiler::write 1,654 0.3% 11,494 0.3% 6,861 0.2% -12,208 -0.0% -350,284 -0.8% 77,884 0.2% 4,240 0.0%
PDOStatement::setFetchMode 1,648 0.3% 1,359 0.0% 1,069 0.0% 6,504 0.0% 2,096 0.0% 6,752 0.0% 760 0.0%
strtr 1,643 0.3% 23,901 0.7% 23,530 0.7% 99,148 0.2% 97,080 0.2% 2,643,328 6.1% 2,642,820 6.1%
Twig_Token::getLine 1,630 0.3% 53 0.0% 53 0.0% -314,048 -0.7% -314,048 -0.7% 5,680 0.0% 5,680 0.0%
Drupal\Core\Config\Config::get 1,609 0.3% 5,661 0.2% 4,370 0.1% 40,760 0.1% -143,228 -0.3% 26,804 0.1% 2,008 0.0%
Twig_Parser::getStream 1,596 0.3% 100 0.0% 100 0.0% -117,352 -0.3% -117,352 -0.3% 6,576 0.0% 6,576 0.0%
Drupal\Core\Entity\Entity::id 1,505 0.2% 178 0.0% 178 0.0% 9,900 0.0% 9,900 0.0% 2,484 0.0% 2,484 0.0%
addcslashes 1,482 0.2% 475 0.0% 475 0.0% 38,808 0.1% 38,808 0.1% 2,976 0.0% 2,976 0.0%
is_object 1,482 0.2% 153 0.0% 153 0.0% 8,548 0.0% 8,548 0.0% 2,048 0.0% 2,048 0.0%
Twig_Compiler::string 1,477 0.2% 6,989 0.2% 6,152 0.2% -893,656 -2.1% -1,298,624 -3.0% 85,348 0.2% 59,376 0.1%
Twig_NodeTraverser::traverseForVisitor@6 1,466 0.2% 200,714 5.7% 15,846 0.4% 690,420 1.6% 1,337,668 3.1% 581,168 1.3% 24,616 0.1%
Drupal\Component\Utility\SafeMarkup::set 1,411 0.2% 3,277 0.1% 3,277 0.1% 363,872 0.8% 363,872 0.8% 14,240 0.0% 14,240 0.0%
dirname 1,403 0.2% 381 0.0% 381 0.0% 78,120 0.2% 78,120 0.2% 1,832 0.0% 1,832 0.0%
Twig_Lexer::lexExpression 1,373 0.2% 38,950 1.1% 19,370 0.5% 310,956 0.7% -114,068 -0.3% 37,216 0.1% 7,548 0.0%
Drupal\Core\StringTranslation\TranslationManager::translate 1,370 0.2% 37,441 1.1% 7,255 0.2% 325,472 0.8% 6,096 0.0% 928,992 2.1% 2,380 0.0%
Drupal\Core\StringTranslation\Translator\StaticTranslation::getStringTranslation 1,370 0.2% 1,997 0.1% 1,989 0.1% 40,204 0.1% 39,096 0.1% 3,800 0.0% 2,920 0.0%
Drupal\Core\StringTranslation\TranslationManager::doTranslate 1,370 0.2% 15,147 0.4% 7,271 0.2% 4,992 0.0% -37,720 -0.1% 51,980 0.1% 43,356 0.1%
Drupal\Core\StringTranslation\TranslationManager::getStringTranslation 1,370 0.2% 7,876 0.2% 5,866 0.2% 42,712 0.1% 812 0.0% 8,624 0.0% 4,824 0.0%
apc_fetch 1,274 0.2% 10,245 0.3% 10,245 0.3% 874,736 2.0% 874,736 2.0% 426,088 1.0% 426,088 1.0%
count@1 1,263 0.2% 320 0.0% 320 0.0% 1,088 0.0% 1,088 0.0% 228 0.0% 228 0.0%
Twig_Node::hasAttribute 1,229 0.2% 2,030 0.1% 1,913 0.1% -355,720 -0.8% -356,076 -0.8% 2,588 0.0% 2,368 0.0%
spl_object_hash 1,164 0.2% 634 0.0% 634 0.0% 51,960 0.1% 51,960 0.1% 4,724 0.0% 4,724 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKeys 1,161 0.2% 1,539 0.0% 1,539 0.0% 252,060 0.6% 252,060 0.6% 8,344 0.0% 8,344 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::findFile 1,161 0.2% 36,802 1.0% 6,018 0.2% 79,224 0.2% 28,768 0.1% 95,712 0.2% 50,336 0.1%
Drupal\Core\Database\Query\Query::uniqueIdentifier 1,159 0.2% 473 0.0% 473 0.0% 1,244 0.0% 1,244 0.0% 1,012 0.0% 1,012 0.0%
is_file 1,140 0.2% 13,010 0.4% 13,010 0.4% -408 -0.0% -408 -0.0% 2,508 0.0% 2,508 0.0%
Twig_NodeTraverser::traverseForVisitor@8 1,138 0.2% 131,067 3.7% 12,751 0.4% 465,196 1.1% 558,524 1.3% 394,524 0.9% 6,496 0.0%
[ display all ]