Run Report
Run #553ba8c2c449d: XHProf Run (Namespace=drupal-perf-lauriii)
Tip
Click a function name below to drill down.

Overall Summary
Total Incl. Wall Time (microsec):6,619,118 microsecs
Total Incl. MemUse (bytes):38,856,944 bytes
Total Incl. PeakMemUse (bytes):39,402,536 bytes
Number of Function Calls:3,950,650


[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 902,089 22.8% 1,455 0.0% 1,455 0.0% 25,984 0.1% 25,984 0.1% 75,776 0.2% 75,776 0.2%
str_replace 884,874 22.4% 3,395 0.1% 3,395 0.1% 112,749,472 290.2% 112,749,472 290.2% 182,488 0.5% 182,488 0.5%
in_array 879,978 22.3% 1,799 0.0% 1,799 0.0% 32,088 0.1% 32,088 0.1% 9,144 0.0% 9,144 0.0%
strlen 89,756 2.3% 100 0.0% 100 0.0% 21,672 0.1% 21,672 0.1% 9,464 0.0% 9,464 0.0%
ltrim 62,448 1.6% 172 0.0% 172 0.0% 2,406,624 6.2% 2,406,624 6.2% 12,176 0.0% 12,176 0.0%
strpos 62,191 1.6% 148 0.0% 148 0.0% 49,208 0.1% 49,208 0.1% 15,768 0.0% 15,768 0.0%
trim 55,662 1.4% 136 0.0% 136 0.0% 2,646,600 6.8% 2,646,600 6.8% 10,488 0.0% 10,488 0.0%
preg_match 51,896 1.3% 59,195 0.9% 59,195 0.9% 6,382,368 16.4% 6,382,368 16.4% 106,984 0.3% 106,984 0.3%
substr 41,977 1.1% 90 0.0% 90 0.0% 1,452,656 3.7% 1,452,656 3.7% 31,272 0.1% 31,272 0.1%
count 38,256 1.0% 3,627 0.1% 2,552 0.0% 49,112 0.1% -50,904 -0.1% 17,832 0.0% 16,200 0.0%
strtr 36,150 0.9% 8,264 0.1% 8,264 0.1% 1,470,872 3.8% 1,470,872 3.8% 1,838,416 4.7% 1,838,416 4.7%
preg_grep 34,560 0.9% 1,456,997 22.0% 1,456,997 22.0% 3,157,376 8.1% 3,157,376 8.1% 5,848 0.0% 5,848 0.0%
Symfony\Component\Yaml\Parser::moveToNextLine 33,932 0.9% 6,339 0.1% 6,301 0.1% 1,511,056 3.9% 1,510,360 3.9% 1,280 0.0% 1,280 0.0%
Symfony\Component\Yaml\Parser::getCurrentLineIndentation 30,076 0.8% 33,911 0.5% 33,814 0.5% 1,455,424 3.7% 320,008 0.8% 33,840 0.1% 23,864 0.1%
Symfony\Component\Yaml\Parser::isCurrentLineBlank 29,958 0.8% 24,232 0.4% 24,155 0.4% 1,447,416 3.7% 296,064 0.8% 480 0.0% 144 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineComment 27,554 0.7% 13,259 0.2% 13,145 0.2% 1,330,824 3.4% 256,608 0.7% 0 0.0% 0 0.0%
is_array 21,942 0.6% 70 0.0% 70 0.0% 44,616 0.1% 44,616 0.1% 12,960 0.0% 12,960 0.0%
array_unique 19,686 0.5% 1,640 0.0% 1,640 0.0% 8,088,936 20.8% 8,088,936 20.8% 5,016 0.0% 5,016 0.0%
preg_replace 19,008 0.5% 6,125 0.1% 6,125 0.1% 6,454,200 16.6% 6,454,200 16.6% 283,768 0.7% 283,768 0.7%
array_merge 18,665 0.5% 18,634 0.3% 18,634 0.3% 51,140,600 131.6% 51,140,600 131.6% 88,504 0.2% 88,504 0.2%
readdir 17,424 0.4% 6,918 0.1% 6,918 0.1% 596,640 1.5% 596,640 1.5% 0 0.0% 0 0.0%
dirname 16,650 0.4% 40 0.0% 40 0.0% 1,222,456 3.1% 1,222,456 3.1% 3,512 0.0% 3,512 0.0%
Doctrine\Common\Annotations\TokenParser::next 14,594 0.4% 5,218 0.1% 5,218 0.1% -33,792 -0.1% -33,792 -0.1% 7,584 0.0% 7,584 0.0%
is_dir 14,256 0.4% 13,796 0.2% 13,796 0.2% 720 0.0% 720 0.0% 0 0.0% 0 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineEmpty 13,382 0.3% 40,059 0.6% 15,641 0.2% 658,896 1.7% -597,160 -1.5% 17,688 0.0% 17,208 0.0%
array_key_exists 12,318 0.3% 28 0.0% 28 0.0% 28,176 0.1% 28,176 0.1% 12,296 0.0% 12,296 0.0%
Symfony\Component\Yaml\Inline::parseScalar 11,397 0.3% 88,576 1.3% 42,495 0.6% 987,912 2.5% -451,248 -1.2% 129,720 0.3% 23,440 0.1%
Symfony\Component\Yaml\Inline::parse 11,377 0.3% 76,665 1.2% 40,695 0.6% 438,816 1.1% -1,385,360 -3.6% 112,920 0.3% 9,016 0.0%
strtolower 11,201 0.3% 68 0.0% 68 0.0% 412,568 1.1% 412,568 1.1% 17,600 0.0% 17,600 0.0%
is_numeric 9,537 0.2% 40 0.0% 40 0.0% 7,224 0.0% 7,224 0.0% 2,336 0.0% 2,336 0.0%
Symfony\Component\Yaml\Inline::evaluateScalar 9,496 0.2% 32,452 0.5% 32,339 0.5% 793,056 2.0% 129,424 0.3% 25,544 0.1% 19,912 0.1%
ArrayIterator::__construct 8,616 0.2% 171 0.0% 171 0.0% 1,086,144 2.8% 1,086,144 2.8% 135,656 0.3% 135,656 0.3%
Twig_Node::getIterator 8,575 0.2% 6,004 0.1% 5,836 0.1% 4,419,168 11.4% 3,343,568 8.6% 224,384 0.6% 90,392 0.2%
Twig_Node::setNode 8,338 0.2% 32 0.0% 32 0.0% 13,712 0.0% 13,712 0.0% 4,064 0.0% 4,064 0.0%
implode 7,969 0.2% 423 0.0% 423 0.0% 1,224,344 3.2% 1,224,344 3.2% 49,600 0.1% 49,600 0.1%
ini_get 7,549 0.2% 71 0.0% 71 0.0% 253,560 0.7% 253,560 0.7% 2,344 0.0% 2,344 0.0%
pathinfo 6,768 0.2% 4,387 0.1% 4,387 0.1% 266,112 0.7% 266,112 0.7% 0 0.0% 0 0.0%
Symfony\Component\DependencyInjection\Container::get 6,141 0.2% 32,309 0.5% 6,247 0.1% 5,003,320 12.9% 123,656 0.3% 4,413,912 11.2% 248,624 0.6%
array_intersect_key 5,691 0.1% 142 0.0% 142 0.0% 1,531,536 3.9% 1,531,536 3.9% 5,608 0.0% 5,608 0.0%
is_integer 5,686 0.1% 0 0.0% 0 0.0% 1,328 0.0% 1,328 0.0% 664 0.0% 664 0.0%
Twig_Node::getAttribute 5,613 0.1% 1,559 0.0% 1,559 0.0% 34,736 0.1% 34,096 0.1% 19,600 0.0% 18,960 0.0%
Doctrine\Common\Lexer\AbstractLexer::isNextToken 5,413 0.1% 18 0.0% 18 0.0% 266,080 0.7% 266,080 0.7% 5,712 0.0% 5,712 0.0%
Symfony\Component\Yaml\Parser::isStringUnIndentedCollectionItem 5,400 0.1% 472 0.0% 472 0.0% 264,088 0.7% 263,416 0.7% 0 0.0% 0 0.0%
array_keys 5,137 0.1% 10,415 0.2% 10,415 0.2% 23,615,448 60.8% 23,615,448 60.8% 273,856 0.7% 273,856 0.7%
Drupal\Core\Cache\CacheCollector::persist 4,828 0.1% 224 0.0% 224 0.0% 857,624 2.2% 857,624 2.2% 376 0.0% 376 0.0%
Drupal::getContainer 4,623 0.1% 209 0.0% 209 0.0% 18,648 0.0% 18,648 0.0% 5,960 0.0% 5,960 0.0%
Twig_Compiler::raw 4,540 0.1% 18 0.0% 18 0.0% 60,000 0.2% 60,000 0.2% 84,280 0.2% 84,280 0.2%
Symfony\Component\Yaml\Parser::parseValue 4,485 0.1% 78,291 1.2% 13,973 0.2% 456,720 1.2% -383,536 -1.0% 108,904 0.3% 1,560 0.0%
Symfony\Component\Yaml\Parser::moveToPreviousLine 4,237 0.1% 0 0.0% 0 0.0% 1,392 0.0% 1,392 0.0% 0 0.0% 0 0.0%
Twig_Node::getNode 3,913 0.1% 905 0.0% 886 0.0% 33,168 0.1% 32,536 0.1% 13,256 0.0% 12,856 0.0%
explode 3,691 0.1% 1,848 0.0% 1,848 0.0% 5,604,136 14.4% 5,604,136 14.4% 70,464 0.2% 70,464 0.2%
Doctrine\Common\Lexer\AbstractLexer::moveNext 3,620 0.1% 200 0.0% 200 0.0% 99,720 0.3% 99,720 0.3% 2,712 0.0% 2,712 0.0%
Doctrine\Common\Annotations\DocLexer::getType 3,319 0.1% 2,257 0.0% 2,247 0.0% 84,184 0.2% 48,816 0.1% 6,656 0.0% 5,400 0.0%
is_string 3,319 0.1% 47 0.0% 47 0.0% 20,304 0.1% 20,304 0.1% 7,992 0.0% 7,992 0.0%
Drupal::service 3,106 0.1% 13,577 0.2% 5,721 0.1% 984,664 2.5% 99,416 0.3% 1,169,616 3.0% 141,408 0.4%
Twig_Environment::isStrictVariables 3,067 0.1% 1 0.0% 1 0.0% 1,344 0.0% 1,344 0.0% 1,256 0.0% 1,256 0.0%
Twig_Node::__construct 3,012 0.1% 193 0.0% 193 0.0% 265,024 0.7% 265,024 0.7% 56,512 0.1% 56,512 0.1%
Twig_TokenStream::getCurrent 2,926 0.1% 10 0.0% 10 0.0% 2,680 0.0% 2,680 0.0% 1,328 0.0% 1,328 0.0%
Twig_Parser::getCurrentToken 2,912 0.1% 116 0.0% 106 0.0% 15,168 0.0% 14,512 0.0% 13,368 0.0% 12,712 0.0%
Twig_Environment::hasExtension 2,878 0.1% 6 0.0% 6 0.0% 142,448 0.4% 142,448 0.4% 1,384 0.0% 1,384 0.0%
Twig_NodeVisitor_Optimizer::leaveNode 2,831 0.1% 14,850 0.2% 13,780 0.2% 21,464 0.1% -123,472 -0.3% 13,160 0.0% 8,080 0.0%
Twig_NodeVisitor_Optimizer::optimizePrintNode 2,831 0.1% 482 0.0% 477 0.0% 2,616 0.0% 1,336 0.0% 1,136 0.0% 784 0.0%
Twig_NodeVisitor_Optimizer::enterNode 2,831 0.1% 3,423 0.1% 2,757 0.0% 21,440 0.1% 13,896 0.0% 11,928 0.0% 8,968 0.0%
Twig_NodeVisitor_Optimizer::optimizeRawFilter 2,831 0.1% 572 0.0% 534 0.0% 2,584 0.0% 1,256 0.0% 1,904 0.0% 1,072 0.0%
Twig_NodeVisitor_Optimizer::enterOptimizeFor 2,831 0.1% 666 0.0% 643 0.0% 7,544 0.0% 4,728 0.0% 2,960 0.0% 1,424 0.0%
Twig_NodeVisitor_Optimizer::leaveOptimizeFor 2,831 0.1% 15 0.0% 15 0.0% 208 0.0% 744 0.0% 832 0.0% 640 0.0%
Drupal\Core\Template\TwigNodeVisitor::leaveNode 2,830 0.1% 1,232 0.0% 1,100 0.0% 81,104 0.2% 32,344 0.1% 20,824 0.1% 8,672 0.0%
Drupal\Core\Template\TwigNodeVisitor::enterNode 2,830 0.1% 0 0.0% 0 0.0% 13,088 0.0% 13,088 0.0% 8,208 0.0% 8,208 0.0%
Symfony\Component\Yaml\Parser::cleanup 2,811 0.1% 16,444 0.2% 14,747 0.2% 1,373,488 3.5% -5,334,328 -13.7% 391,952 1.0% 816 0.0%
Symfony\Component\Yaml\Parser::__construct 2,811 0.1% 151 0.0% 151 0.0% 12,896 0.0% 12,896 0.0% 880 0.0% 880 0.0%
Twig_Token::test 2,811 0.1% 478 0.0% 449 0.0% 150,112 0.4% 148,240 0.4% 30,888 0.1% 29,376 0.1%
drupal_get_filename 2,791 0.1% 1,518 0.0% 1,509 0.0% 10,848 0.0% 8,184 0.0% 5,848 0.0% 4,816 0.0%
drupal_get_path 2,788 0.1% 4,871 0.1% 3,357 0.1% 303,048 0.8% 138,472 0.4% 7,224 0.0% 1,040 0.0%
func_get_args 2,726 0.1% 94 0.0% 94 0.0% 1,919,456 4.9% 1,919,456 4.9% 38,888 0.1% 38,888 0.1%
is_int 2,706 0.1% 19 0.0% 19 0.0% 3,856 0.0% 3,856 0.0% 2,064 0.0% 2,064 0.0%
Symfony\Component\Yaml\Parser::getRealCurrentLineNb 2,700 0.1% 9 0.0% 9 0.0% 136,592 0.4% 136,592 0.4% 848 0.0% 848 0.0%
Symfony\Component\Yaml\Parser::isNextLineIndented 2,700 0.1% 34,223 0.5% 16,962 0.3% 143,360 0.4% -382,344 -1.0% 3,872 0.0% 1,296 0.0%
Symfony\Component\Yaml\Parser::getNextEmbedBlock 2,700 0.1% 193,022 2.9% 136,993 2.1% 689,144 1.8% -4,608,072 -11.9% 121,592 0.3% 53,368 0.1%
PDOStatement::setFetchMode 2,671 0.1% 93 0.0% 34 0.0% 8,016 0.0% 3,640 0.0% 4,816 0.0% 2,336 0.0%
substr_count 2,595 0.1% 255 0.0% 255 0.0% 3,248 0.0% 3,248 0.0% 1,792 0.0% 1,792 0.0%
Twig_Token::getType 2,460 0.1% 0 0.0% 0 0.0% 8,504 0.0% 8,504 0.0% 5,600 0.0% 5,600 0.0%
Twig_Token::getValue 2,363 0.1% 0 0.0% 0 0.0% 23,096 0.1% 23,096 0.1% 8,760 0.0% 8,760 0.0%
Doctrine\Common\Annotations\DocParser::match 2,292 0.1% 3,842 0.1% 3,831 0.1% 7,416 0.0% -212,456 -0.5% 6,480 0.0% 5,248 0.0%
file_exists 2,282 0.1% 3,983 0.1% 3,983 0.1% 6,696 0.0% 6,696 0.0% 3,600 0.0% 3,600 0.0%
Drupal\Core\Database\Query\Query::uniqueIdentifier 2,249 0.1% 9 0.0% 9 0.0% 2,088 0.0% 2,088 0.0% 608 0.0% 608 0.0%
Twig_Lexer::moveCursor 2,148 0.1% 2,207 0.0% 2,203 0.0% 91,960 0.2% 90,704 0.2% 9,728 0.0% 9,728 0.0%
Twig_Node::getLine 2,128 0.1% 0 0.0% 0 0.0% 7,400 0.0% 7,400 0.0% 2,576 0.0% 2,576 0.0%
Twig_Lexer::pushToken 2,116 0.1% 2,248 0.0% 2,231 0.0% 655,088 1.7% 654,448 1.7% 117,824 0.3% 117,272 0.3%
Twig_Token::__construct 2,063 0.1% 17 0.0% 17 0.0% 640 0.0% 640 0.0% 552 0.0% 552 0.0%
Twig_TokenStream::next 2,043 0.1% 18 0.0% 18 0.0% 16,512 0.0% 16,512 0.0% 7,776 0.0% 7,776 0.0%
Twig_NodeVisitor_Escaper::enterNode 2,027 0.1% 325 0.0% 261 0.0% 20,352 0.1% 14,440 0.0% 10,664 0.0% 7,056 0.0%
Twig_NodeVisitor_Escaper::leaveNode 2,027 0.1% 12,390 0.2% 799 0.0% 1,363,352 3.5% 18,736 0.0% 407,072 1.0% 4,376 0.0%
is_object 1,957 0.0% 22 0.0% 22 0.0% 17,032 0.0% 17,032 0.0% 3,912 0.0% 3,912 0.0%
count@1 1,946 0.0% 1 0.0% 1 0.0% 1,928 0.0% 1,928 0.0% 504 0.0% 504 0.0%
Drupal\Core\Extension\ModuleHandler::getModuleList 1,883 0.0% 4 0.0% 4 0.0% 3,472 0.0% 3,472 0.0% 968 0.0% 968 0.0%
Drupal\Core\Theme\Registry::processExtension 1,872 0.0% 3,973,337 60.0% 747,989 11.3% 23,348,256 60.1% -58,864,760 -151.5% 5,523,512 14.0% 353,640 0.9%
Symfony\Component\Yaml\Inline::parseQuotedScalar 1,812 0.0% 13,306 0.2% 9,522 0.1% 169,768 0.4% -1,396,440 -3.6% 80,608 0.2% 14,176 0.0%
Symfony\Component\Yaml\Unescaper::unescapeSingleQuotedString 1,796 0.0% 1,859 0.0% 1,831 0.0% 157,056 0.4% -68,168 -0.2% 27,872 0.1% 12,880 0.0%
sprintf 1,795 0.0% 20 0.0% 20 0.0% 494,696 1.3% 494,696 1.3% 5,648 0.0% 5,648 0.0%
Drupal\Core\Database\Connection::escapeTable 1,758 0.0% 2,843 0.0% 1,776 0.0% 172,632 0.4% -40,480 -0.1% 9,288 0.0% 6,120 0.0%
[ display all ]