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

Overall Summary
Total Incl. Wall Time (microsec):6,530,045 microsecs
Total Incl. MemUse (bytes):37,042,400 bytes
Total Incl. PeakMemUse (bytes):37,583,888 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% 835 0.0% 835 0.0% 25,960 0.1% 25,960 0.1% 78,464 0.2% 78,464 0.2%
str_replace 884,874 22.4% 2,953 0.0% 2,953 0.0% 112,521,016 303.8% 112,521,016 303.8% 179,296 0.5% 179,296 0.5%
in_array 879,978 22.3% 1,193 0.0% 1,193 0.0% 31,968 0.1% 31,968 0.1% 7,040 0.0% 7,040 0.0%
strlen 89,756 2.3% 106 0.0% 106 0.0% 21,664 0.1% 21,664 0.1% 6,912 0.0% 6,912 0.0%
ltrim 62,448 1.6% 96 0.0% 96 0.0% 2,404,256 6.5% 2,404,256 6.5% 12,176 0.0% 12,176 0.0%
strpos 62,191 1.6% 118 0.0% 118 0.0% 49,184 0.1% 49,184 0.1% 13,088 0.0% 13,088 0.0%
trim 55,662 1.4% 35 0.0% 35 0.0% 2,643,128 7.1% 2,643,128 7.1% 10,872 0.0% 10,872 0.0%
preg_match 51,896 1.3% 58,285 0.9% 58,285 0.9% 6,375,336 17.2% 6,375,336 17.2% 107,400 0.3% 107,400 0.3%
substr 41,977 1.1% 17 0.0% 17 0.0% 1,452,152 3.9% 1,452,152 3.9% 26,992 0.1% 26,992 0.1%
count 38,256 1.0% 3,697 0.1% 2,586 0.0% 49,072 0.1% -49,336 -0.1% 17,832 0.0% 16,200 0.0%
strtr 36,150 0.9% 8,091 0.1% 8,091 0.1% 1,468,568 4.0% 1,468,568 4.0% 1,673,448 4.5% 1,673,448 4.5%
preg_grep 34,560 0.9% 1,452,483 22.2% 1,452,483 22.2% 3,158,520 8.5% 3,158,520 8.5% 5,320 0.0% 5,320 0.0%
Symfony\Component\Yaml\Parser::moveToNextLine 33,932 0.9% 5,823 0.1% 5,798 0.1% 1,507,592 4.1% 1,506,944 4.1% 1,280 0.0% 1,280 0.0%
Symfony\Component\Yaml\Parser::getCurrentLineIndentation 30,076 0.8% 33,521 0.5% 33,429 0.5% 1,451,704 3.9% 317,136 0.9% 33,776 0.1% 23,800 0.1%
Symfony\Component\Yaml\Parser::isCurrentLineBlank 29,958 0.8% 25,314 0.4% 25,305 0.4% 1,444,040 3.9% 293,672 0.8% 480 0.0% 144 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineComment 27,554 0.7% 13,022 0.2% 12,960 0.2% 1,327,960 3.6% 254,816 0.7% 0 0.0% 0 0.0%
is_array 21,942 0.6% 33 0.0% 33 0.0% 44,480 0.1% 44,480 0.1% 10,752 0.0% 10,752 0.0%
array_unique 19,686 0.5% 1,516 0.0% 1,516 0.0% 8,068,800 21.8% 8,068,800 21.8% 5,016 0.0% 5,016 0.0%
preg_replace 19,008 0.5% 6,100 0.1% 6,100 0.1% 6,435,032 17.4% 6,435,032 17.4% 282,344 0.8% 282,344 0.8%
array_merge 18,665 0.5% 17,217 0.3% 17,217 0.3% 51,249,456 138.4% 51,249,456 138.4% 94,624 0.3% 94,624 0.3%
readdir 17,424 0.4% 6,475 0.1% 6,475 0.1% 595,928 1.6% 595,928 1.6% 0 0.0% 0 0.0%
dirname 16,650 0.4% 14 0.0% 14 0.0% 1,218,208 3.3% 1,218,208 3.3% 2,312 0.0% 2,312 0.0%
Doctrine\Common\Annotations\TokenParser::next 14,594 0.4% 4,603 0.1% 4,603 0.1% -33,776 -0.1% -33,776 -0.1% 7,632 0.0% 7,632 0.0%
is_dir 14,256 0.4% 13,597 0.2% 13,597 0.2% 720 0.0% 720 0.0% 0 0.0% 0 0.0%
Symfony\Component\Yaml\Parser::isCurrentLineEmpty 13,382 0.3% 39,868 0.6% 15,469 0.2% 656,552 1.8% -595,880 -1.6% 17,528 0.0% 17,048 0.0%
array_key_exists 12,318 0.3% 15 0.0% 15 0.0% 28,088 0.1% 28,088 0.1% 8,384 0.0% 8,384 0.0%
Symfony\Component\Yaml\Inline::parseScalar 11,397 0.3% 87,484 1.3% 42,484 0.7% 985,216 2.7% -449,760 -1.2% 130,936 0.3% 24,560 0.1%
Symfony\Component\Yaml\Inline::parse 11,377 0.3% 75,270 1.2% 39,855 0.6% 437,152 1.2% -1,382,712 -3.7% 112,920 0.3% 9,064 0.0%
strtolower 11,201 0.3% 41 0.0% 41 0.0% 412,568 1.1% 412,568 1.1% 13,384 0.0% 13,384 0.0%
is_numeric 9,537 0.2% 9 0.0% 9 0.0% 7,200 0.0% 7,200 0.0% 2,336 0.0% 2,336 0.0%
Symfony\Component\Yaml\Inline::evaluateScalar 9,496 0.2% 31,500 0.5% 31,458 0.5% 790,664 2.1% 127,408 0.3% 25,792 0.1% 20,096 0.1%
ArrayIterator::__construct 8,616 0.2% 115 0.0% 115 0.0% 1,078,392 2.9% 1,078,392 2.9% 130,728 0.3% 130,728 0.3%
Twig_Node::getIterator 8,575 0.2% 5,788 0.1% 5,681 0.1% 4,416,016 11.9% 3,348,168 9.0% 217,768 0.6% 88,704 0.2%
Twig_Node::setNode 8,338 0.2% 18 0.0% 18 0.0% 13,712 0.0% 13,712 0.0% 4,064 0.0% 4,064 0.0%
implode 7,969 0.2% 405 0.0% 405 0.0% 1,223,296 3.3% 1,223,296 3.3% 47,232 0.1% 47,232 0.1%
ini_get 7,549 0.2% 48 0.0% 48 0.0% 253,256 0.7% 253,256 0.7% 2,344 0.0% 2,344 0.0%
pathinfo 6,768 0.2% 4,211 0.1% 4,211 0.1% 264,952 0.7% 264,952 0.7% 0 0.0% 0 0.0%
Symfony\Component\DependencyInjection\Container::get 6,141 0.2% 31,755 0.5% 6,174 0.1% 4,883,936 13.2% 123,760 0.3% 3,514,728 9.4% 245,240 0.7%
array_intersect_key 5,691 0.1% 135 0.0% 135 0.0% 1,535,144 4.1% 1,535,144 4.1% 5,504 0.0% 5,504 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,710 0.0% 1,710 0.0% 34,712 0.1% 34,072 0.1% 18,384 0.0% 17,744 0.0%
Doctrine\Common\Lexer\AbstractLexer::isNextToken 5,413 0.1% 20 0.0% 20 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% 784 0.0% 784 0.0% 262,240 0.7% 261,568 0.7% 0 0.0% 0 0.0%
array_keys 5,137 0.1% 9,114 0.1% 9,114 0.1% 23,564,400 63.6% 23,564,400 63.6% 268,440 0.7% 268,440 0.7%
Drupal\Core\Cache\CacheCollector::persist 4,828 0.1% 195 0.0% 195 0.0% 840,424 2.3% 840,424 2.3% 376 0.0% 376 0.0%
Drupal::getContainer 4,623 0.1% 183 0.0% 183 0.0% 18,648 0.1% 18,648 0.1% 6,096 0.0% 6,096 0.0%
Twig_Compiler::raw 4,540 0.1% 14 0.0% 14 0.0% 59,704 0.2% 59,704 0.2% 118,752 0.3% 118,752 0.3%
Symfony\Component\Yaml\Parser::parseValue 4,485 0.1% 77,435 1.2% 13,679 0.2% 455,024 1.2% -383,440 -1.0% 108,848 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% 881 0.0% 881 0.0% 33,064 0.1% 32,432 0.1% 12,144 0.0% 11,744 0.0%
explode 3,691 0.1% 1,848 0.0% 1,848 0.0% 5,598,888 15.1% 5,598,888 15.1% 70,888 0.2% 70,888 0.2%
Doctrine\Common\Lexer\AbstractLexer::moveNext 3,620 0.1% 208 0.0% 208 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,275 0.0% 2,275 0.0% 84,104 0.2% 48,776 0.1% 6,576 0.0% 5,320 0.0%
is_string 3,319 0.1% 28 0.0% 28 0.0% 20,312 0.1% 20,312 0.1% 6,912 0.0% 6,912 0.0%
Drupal::service 3,106 0.1% 13,346 0.2% 5,535 0.1% 980,240 2.6% 99,352 0.3% 1,170,184 3.1% 141,240 0.4%
Twig_Environment::isStrictVariables 3,067 0.1% 3 0.0% 3 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% 140 0.0% 140 0.0% 262,616 0.7% 262,616 0.7% 56,960 0.2% 56,960 0.2%
Twig_TokenStream::getCurrent 2,926 0.1% 0 0.0% 0 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% 94 0.0% 94 0.0% 15,080 0.0% 14,424 0.0% 13,144 0.0% 12,488 0.0%
Twig_Environment::hasExtension 2,878 0.1% 15 0.0% 15 0.0% 141,928 0.4% 141,928 0.4% 1,384 0.0% 1,384 0.0%
Twig_NodeVisitor_Optimizer::leaveNode 2,831 0.1% 15,581 0.2% 14,449 0.2% 21,488 0.1% -122,960 -0.3% 13,288 0.0% 8,208 0.0%
Twig_NodeVisitor_Optimizer::optimizePrintNode 2,831 0.1% 511 0.0% 494 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,538 0.1% 2,901 0.0% 21,448 0.1% 13,872 0.0% 11,928 0.0% 8,968 0.0%
Twig_NodeVisitor_Optimizer::optimizeRawFilter 2,831 0.1% 585 0.0% 526 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% 637 0.0% 617 0.0% 7,576 0.0% 4,680 0.0% 2,960 0.0% 1,424 0.0%
Twig_NodeVisitor_Optimizer::leaveOptimizeFor 2,831 0.1% 24 0.0% 24 0.0% 232 0.0% 744 0.0% 832 0.0% 640 0.0%
Drupal\Core\Template\TwigNodeVisitor::leaveNode 2,830 0.1% 1,252 0.0% 1,097 0.0% 81,256 0.2% 32,488 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,315 0.2% 14,686 0.2% 1,371,760 3.7% -5,330,600 -14.4% 391,600 1.0% 816 0.0%
Symfony\Component\Yaml\Parser::__construct 2,811 0.1% 277 0.0% 277 0.0% 12,896 0.0% 12,896 0.0% 880 0.0% 880 0.0%
Twig_Token::test 2,811 0.1% 426 0.0% 424 0.0% 148,376 0.4% 146,504 0.4% 31,224 0.1% 29,712 0.1%
drupal_get_filename 2,791 0.1% 1,121 0.0% 1,111 0.0% 10,840 0.0% 8,176 0.0% 5,624 0.0% 4,688 0.0%
drupal_get_path 2,788 0.1% 4,465 0.1% 3,347 0.1% 302,360 0.8% 137,792 0.4% 7,000 0.0% 1,040 0.0%
func_get_args 2,726 0.1% 67 0.0% 67 0.0% 1,917,424 5.2% 1,917,424 5.2% 35,384 0.1% 35,384 0.1%
is_int 2,706 0.1% 0 0.0% 0 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% 0 0.0% 0 0.0% 136,616 0.4% 136,616 0.4% 848 0.0% 848 0.0%
Symfony\Component\Yaml\Parser::isNextLineIndented 2,700 0.1% 33,961 0.5% 17,028 0.3% 142,920 0.4% -381,624 -1.0% 3,872 0.0% 1,296 0.0%
Symfony\Component\Yaml\Parser::getNextEmbedBlock 2,700 0.1% 191,940 2.9% 135,295 2.1% 687,936 1.9% -4,597,680 -12.4% 121,456 0.3% 53,376 0.1%
PDOStatement::setFetchMode 2,671 0.1% 136 0.0% 83 0.0% 8,016 0.0% 3,640 0.0% 3,616 0.0% 1,136 0.0%
substr_count 2,595 0.1% 236 0.0% 236 0.0% 3,248 0.0% 3,248 0.0% 2,296 0.0% 2,296 0.0%
Twig_Token::getType 2,460 0.1% 9 0.0% 9 0.0% 8,592 0.0% 8,592 0.0% 5,600 0.0% 5,600 0.0%
Twig_Token::getValue 2,363 0.1% 0 0.0% 0 0.0% 23,224 0.1% 23,224 0.1% 8,784 0.0% 8,784 0.0%
Doctrine\Common\Annotations\DocParser::match 2,292 0.1% 3,966 0.1% 3,935 0.1% 7,416 0.0% -212,456 -0.6% 6,480 0.0% 5,248 0.0%
file_exists 2,282 0.1% 3,933 0.1% 3,933 0.1% 6,688 0.0% 6,688 0.0% 3,600 0.0% 3,600 0.0%
Drupal\Core\Database\Query\Query::uniqueIdentifier 2,249 0.1% 1 0.0% 1 0.0% 2,088 0.0% 2,088 0.0% 608 0.0% 608 0.0%
Twig_Lexer::moveCursor 2,148 0.1% 2,224 0.0% 2,209 0.0% 91,952 0.2% 90,696 0.2% 11,976 0.0% 10,968 0.0%
Twig_Node::getLine 2,128 0.1% 0 0.0% 0 0.0% 7,296 0.0% 7,296 0.0% 2,576 0.0% 2,576 0.0%
Twig_Lexer::pushToken 2,116 0.1% 2,222 0.0% 2,206 0.0% 654,624 1.8% 653,984 1.8% 115,880 0.3% 115,328 0.3%
Twig_Token::__construct 2,063 0.1% 16 0.0% 16 0.0% 640 0.0% 640 0.0% 552 0.0% 552 0.0%
Twig_TokenStream::next 2,043 0.1% 29 0.0% 29 0.0% 16,480 0.0% 16,480 0.0% 7,776 0.0% 7,776 0.0%
Twig_NodeVisitor_Escaper::enterNode 2,027 0.1% 294 0.0% 232 0.0% 20,304 0.1% 14,408 0.0% 10,656 0.0% 7,056 0.0%
Twig_NodeVisitor_Escaper::leaveNode 2,027 0.1% 12,170 0.2% 740 0.0% 1,359,400 3.7% 18,728 0.1% 413,400 1.1% 4,376 0.0%
is_object 1,957 0.0% 0 0.0% 0 0.0% 17,016 0.0% 17,016 0.0% 3,776 0.0% 3,776 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% 1 0.0% 1 0.0% 3,480 0.0% 3,480 0.0% 872 0.0% 872 0.0%
Drupal\Core\Theme\Registry::processExtension 1,872 0.0% 3,901,604 59.7% 722,765 11.1% 22,678,480 61.2% -59,556,704 -160.8% 5,486,584 14.6% 410,664 1.1%
Symfony\Component\Yaml\Inline::parseQuotedScalar 1,812 0.0% 13,201 0.2% 9,438 0.1% 169,600 0.5% -1,396,448 -3.8% 80,456 0.2% 14,248 0.0%
Symfony\Component\Yaml\Unescaper::unescapeSingleQuotedString 1,796 0.0% 1,812 0.0% 1,812 0.0% 157,056 0.4% -68,224 -0.2% 27,728 0.1% 12,880 0.0%
sprintf 1,795 0.0% 20 0.0% 20 0.0% 494,520 1.3% 494,520 1.3% 4,488 0.0% 4,488 0.0%
Drupal\Core\Database\Connection::escapeTable 1,758 0.0% 2,775 0.0% 1,696 0.0% 170,512 0.5% -28,624 -0.1% 7,336 0.0% 5,144 0.0%
[ display all ]