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 Excl. Wall Time (microsec) [ 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%
PDOStatement::execute 784 0.1% 400,005 11.3% 400,005 11.3% 1,705,664 3.9% 1,705,664 3.9% 1,830,544 4.2% 1,830,544 4.2%
drupal_find_theme_templates 2 0.0% 91,553 2.6% 73,670 2.1% 184,276 0.4% -1,194,244 -2.8% 0 0.0% 0 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%
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%
serialize 440 0.1% 41,801 1.2% 39,533 1.1% 1,504,432 3.5% 1,258,184 2.9% 1,857,104 4.3% 1,821,712 4.2%
apc_store 545 0.1% 38,446 1.1% 35,268 1.0% 7,572 0.0% -286,196 -0.7% 394,404 0.9% 390,372 0.9%
Doctrine\Common\Reflection\StaticReflectionParser::parse 227 0.0% 136,507 3.9% 33,122 0.9% 187,604 0.4% -6,319,628 -14.6% 786,052 1.8% 1,212 0.0%
PDO::commit 29 0.0% 31,540 0.9% 31,540 0.9% 404 0.0% 404 0.0% 0 0.0% 0 0.0%
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%
Drupal\Core\Theme\Registry::processExtension 24 0.0% 152,630 4.3% 30,385 0.9% 781,456 1.8% -322,784 -0.7% 804,828 1.8% 53,460 0.1%
Symfony\Component\Yaml\Parser::getNextEmbedBlock 496 0.1% 72,205 2.0% 28,119 0.8% 110,292 0.3% -366,796 -0.8% 0 0.0% 0 0.0%
file_put_contents 49 0.0% 25,704 0.7% 25,704 0.7% 99,552 0.2% 99,552 0.2% 17,848 0.0% 17,848 0.0%
Symfony\Component\Yaml\Parser::parse@1 214 0.0% 186,907 5.3% 25,193 0.7% 412,964 1.0% -386,104 -0.9% 36,280 0.1% 1,244 0.0%
Drupal\Core\Extension\ModuleHandler::buildImplementationInfo 157 0.0% 49,448 1.4% 24,679 0.7% 223,608 0.5% -23,544 -0.1% 199,516 0.5% 18,156 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%
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%
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%
file_get_contents 348 0.1% 21,632 0.6% 21,632 0.6% 1,257,456 2.9% 1,257,456 2.9% 882,336 2.0% 882,336 2.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%
Drupal\Core\Database\Connection::expandArguments 784 0.1% 23,215 0.7% 21,023 0.6% 28,600 0.1% -240,884 -0.6% 50,436 0.1% 27,584 0.1%
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%
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\Database\Connection::query 784 0.1% 476,532 13.5% 18,514 0.5% 725,388 1.7% -2,016,100 -4.7% 2,099,312 4.8% 40,912 0.1%
Doctrine\Common\Annotations\TokenParser::parseUseStatement 684 0.1% 30,633 0.9% 18,467 0.5% 174,536 0.4% 155,940 0.4% 2,776 0.0% 1,180 0.0%
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%
Doctrine\Common\Lexer\AbstractLexer::scan 222 0.0% 38,723 1.1% 18,369 0.5% 1,452,816 3.4% 241,456 0.6% 21,480 0.0% 12,564 0.0%
load::service_container_prod/6ec2d27689389386b520b6294e57dfb88efd166a4a7d941e653dcd3c2597141a.php 1 0.0% 18,249 0.5% 18,249 0.5% 1,264,852 2.9% 1,264,852 2.9% 1,268,552 2.9% 1,268,552 2.9%
Drupal\Core\Database\Query\Condition::compile 762 0.1% 42,349 1.2% 17,521 0.5% 510,004 1.2% 242,284 0.6% 123,440 0.3% 49,120 0.1%
unserialize 189 0.0% 24,522 0.7% 17,473 0.5% 2,616,360 6.1% 2,115,156 4.9% 2,465,672 5.6% 2,061,056 4.7%
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%
Drupal\Component\Utility\NestedArray::mergeDeepArray 435 0.1% 18,336 0.5% 16,945 0.5% 272,464 0.6% 244,436 0.6% 50,548 0.1% 38,840 0.1%
Composer\Autoload\ClassLoader::findFileWithExtension 245 0.0% 24,574 0.7% 16,744 0.5% 31,460 0.1% 5,136 0.0% 25,360 0.1% 20,576 0.0%
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getDefinitions 14 0.0% 349,824 9.9% 16,245 0.5% 1,047,456 2.4% -964,716 -2.2% 1,469,816 3.4% 14,196 0.0%
token_get_all 454 0.1% 15,876 0.4% 15,876 0.4% 5,214,608 12.1% 5,214,608 12.1% 104,820 0.2% 104,820 0.2%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass 682 0.1% 484,503 13.7% 15,863 0.4% 23,158,192 53.6% -471,108 -1.1% 19,120,736 43.8% 40,328 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\Core\Database\Query\Condition::compile@1 300 0.0% 22,118 0.6% 15,571 0.4% 141,204 0.3% -11,040 -0.0% 51,456 0.1% 30,416 0.1%
hash 157 0.0% 15,563 0.4% 15,563 0.4% 15,704 0.0% 15,704 0.0% 1,512 0.0% 1,512 0.0%
Twig_NodeTraverser::traverseForVisitor@5 965 0.2% 231,380 6.5% 14,577 0.4% 782,988 1.8% -107,308 -0.2% 644,168 1.5% 5,096 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%
Symfony\Component\Yaml\Parser::parse@2 243 0.0% 66,764 1.9% 13,854 0.4% 195,900 0.5% -281,700 -0.7% 0 0.0% 0 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%
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%
Twig_NodeTraverser::traverseForVisitor@7 926 0.1% 159,356 4.5% 12,708 0.4% 205,772 0.5% -470,328 -1.1% 435,880 1.0% 6,268 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%
Drupal\Core\Database\Query\Select::__toString 250 0.0% 23,108 0.7% 11,951 0.3% 70,264 0.2% -68,152 -0.2% 31,444 0.1% 11,932 0.0%
Drupal\Core\Database\Query\Merge::execute 203 0.0% 468,144 13.3% 11,912 0.3% 430,636 1.0% -1,435,644 -3.3% 1,977,768 4.5% 3,280 0.0%
Drupal\Core\Database\Statement::execute 784 0.1% 412,021 11.7% 11,597 0.3% 1,707,832 4.0% 1,020 0.0% 1,832,252 4.2% 932 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_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%
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_Node_Expression_Call::compileArguments 200 0.0% 62,431 1.8% 10,565 0.3% 3,560 0.0% 2,152,720 5.0% 242,728 0.6% 15,496 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%
Drupal\Core\Cache\DatabaseBackend::doSet 196 0.0% 529,098 15.0% 9,827 0.3% 494,812 1.1% -1,571,932 -3.6% 3,099,624 7.1% 2,636 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%
file_exists 1,055 0.2% 11,449 0.3% 9,755 0.3% 5,844 0.0% -20,392 -0.0% 1,252 0.0% 1,252 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%
Twig_NodeTraverser::traverseForVisitor@9 852 0.1% 98,922 2.8% 9,673 0.3% 342,180 0.8% 4,035,960 9.3% 311,740 0.7% 6,020 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%
Drupal\Core\Database\Query\Query::__construct 724 0.1% 14,454 0.4% 9,270 0.3% -13,720 -0.0% -78,604 -0.2% 7,968 0.0% 6,772 0.0%
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%
Twig_Node_Expression_Name::compile 317 0.0% 18,216 0.5% 9,127 0.3% -496,792 -1.1% 3,663,184 8.5% 50,124 0.1% 2,068 0.0%
Twig_NodeTraverser::traverseForVisitor@4 617 0.1% 250,359 7.1% 8,968 0.3% 834,960 1.9% 24,880 0.1% 668,464 1.5% 4,544 0.0%
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%
preg_split 222 0.0% 8,823 0.2% 8,823 0.2% 1,160,756 2.7% 1,160,756 2.7% 4,464 0.0% 4,464 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%
Twig_Lexer::tokenize 24 0.0% 76,880 2.2% 8,325 0.2% 133,852 0.3% -886,748 -2.1% 153,628 0.4% 1,528 0.0%
Twig_NodeTraverser::traverseForVisitor@3 663 0.1% 274,020 7.8% 8,307 0.2% 982,780 2.3% -183,280 -0.4% 731,196 1.7% 1,924 0.0%
Twig_NodeTraverser::traverseForVisitor@10 651 0.1% 74,787 2.1% 8,238 0.2% 290,464 0.7% 3,750,472 8.7% 261,720 0.6% 23,692 0.1%
Twig_Compiler::addDebugInfo 938 0.1% 11,298 0.3% 8,237 0.2% -488,708 -1.1% -273,384 -0.6% 30,456 0.1% 1,616 0.0%
Doctrine\Common\Annotations\DocParser::Annotation 316 0.0% 96,450 2.7% 7,985 0.2% 415,088 1.0% -23,684 -0.1% 247,756 0.6% 2,092 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass@1 332 0.1% 162,021 4.6% 7,921 0.2% 8,145,600 18.8% -242,780 -0.6% 6,351,540 14.6% 4,420 0.0%
Drupal\Core\Extension\ModuleHandler::loadInclude 866 0.1% 23,682 0.7% 7,644 0.2% 346,380 0.8% -24,280 -0.1% 303,720 0.7% 3,372 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%
load::display/DisplayPluginBase.php 1 0.0% 7,590 0.2% 7,590 0.2% 402,328 0.9% 402,328 0.9% 392,568 0.9% 392,568 0.9%
Twig_Node_Expression_Filter::compile 197 0.0% 72,624 2.1% 7,535 0.2% 228,400 0.5% 13,200 0.0% 267,140 0.6% 3,052 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_NodeTraverser::traverseForVisitor@11 651 0.1% 55,181 1.6% 7,379 0.2% 217,956 0.5% -35,876 -0.1% 188,748 0.4% 5,564 0.0%
Symfony\Component\Yaml\Parser::parse 41 0.0% 259,071 7.3% 7,357 0.2% 572,448 1.3% -329,332 -0.8% 153,172 0.4% 928 0.0%
Drupal\Core\Cache\DatabaseBackend::getMultiple 180 0.0% 103,428 2.9% 7,342 0.2% 2,442,136 5.6% 237,120 0.5% 2,559,880 5.9% 262,532 0.6%
Drupal\Core\Database\Driver\mysql\Insert::__toString 144 0.0% 8,486 0.2% 7,291 0.2% 67,564 0.2% -140,096 -0.3% 67,056 0.2% 42,420 0.1%
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::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_group_functions_by_prefix 2 0.0% 12,769 0.4% 7,252 0.2% 243,512 0.6% -906,572 -2.1% 216,588 0.5% 14,288 0.0%
Symfony\Component\Yaml\Parser::parseValue 972 0.2% 45,153 1.3% 7,048 0.2% 100,432 0.2% -43,232 -0.1% 32,024 0.1% 380 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_ExpressionParser::parsePrimaryExpression 296 0.0% 67,612 1.9% 6,933 0.2% -627,424 -1.5% -1,386,524 -3.2% 892,620 2.0% 68,504 0.2%
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_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%
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_Lexer::lexData 418 0.1% 14,799 0.4% 6,816 0.2% 206,952 0.5% 29,596 0.1% 46,236 0.1% 1,708 0.0%
Drupal\Core\Cache\ApcuBackend::set 242 0.0% 48,803 1.4% 6,725 0.2% 12,468 0.0% -60,192 -0.1% 394,404 0.9% 0 0.0%
Twig_Compiler::repr 906 0.1% 9,293 0.3% 6,628 0.2% -1,232,076 -2.9% -924,832 -2.1% 46,208 0.1% 1,696 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%
Drupal\Core\Cache\DatabaseCacheTagsChecksum::calculateChecksum 666 0.1% 24,343 0.7% 6,530 0.2% 26,936 0.1% -850,076 -2.0% 33,644 0.1% 3,704 0.0%
RecursiveDirectoryIterator::hasChildren 227 0.0% 6,432 0.2% 6,432 0.2% 21,800 0.1% 21,800 0.1% 1,008 0.0% 1,008 0.0%
Drupal\Core\Config\ConfigFactory::doLoadMultiple 309 0.0% 239,950 6.8% 6,411 0.2% 1,659,248 3.8% 14,604 0.0% 2,180,712 5.0% 7,532 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%
[ display all ]