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 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%
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%
drupal_find_theme_templates 144 0.0% 1,485,436 22.7% 1,331,597 20.4% 4,580,480 12.4% -116,008,648 -313.2% 0 0.0% 0 0.0%
PDOStatement::execute 1,267 0.0% 1,294,284 19.8% 1,294,284 19.8% 10,398,520 28.1% 10,398,520 28.1% 3,195,208 8.5% 3,195,208 8.5%
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\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%
drupal_find_theme_functions 144 0.0% 1,532,203 23.5% 71,291 1.1% 23,184 0.1% -72,971,592 -197.0% 3,770,120 10.0% 287,120 0.8%
serialize 349 0.0% 70,764 1.1% 70,294 1.1% 9,297,976 25.1% 8,954,280 24.2% 2,721,600 7.2% 2,631,760 7.0%
get_defined_functions 144 0.0% 65,209 1.0% 65,209 1.0% 71,472,832 192.9% 71,472,832 192.9% 3,468,104 9.2% 3,468,104 9.2%
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%
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%
file_scan_directory@2 936 0.0% 54,524 0.8% 35,592 0.5% 5,951,984 16.1% 5,278,832 14.3% 0 0.0% 0 0.0%
Symfony\Component\Yaml\Parser::parse@1 730 0.0% 443,887 6.8% 34,068 0.5% 3,381,616 9.1% -2,523,352 -6.8% 622,000 1.7% 6,816 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::parse@3 932 0.0% 184,947 2.8% 33,224 0.5% 1,868,896 5.0% -1,967,048 -5.3% 395,136 1.1% 32,032 0.1%
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%
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::parse@2 559 0.0% 294,163 4.5% 22,302 0.3% 2,367,832 6.4% -1,912,768 -5.2% 473,408 1.3% 384 0.0%
PDO::commit 8 0.0% 21,083 0.3% 21,083 0.3% 680 0.0% 680 0.0% 368 0.0% 368 0.0%
Doctrine\Common\Reflection\StaticReflectionParser::parse 306 0.0% 74,727 1.1% 19,201 0.3% 477,448 1.3% -15,447,848 -41.7% 1,508,560 4.0% 3,168 0.0%
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%
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%
views_theme 72 0.0% 135,367 2.1% 15,960 0.2% 2,558,888 6.9% 1,474,624 4.0% 1,071,848 2.9% 16,584 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%
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%
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%
file_scan_directory@1 504 0.0% 77,815 1.2% 14,055 0.2% 6,664,360 18.0% -3,534,032 -9.5% 0 0.0% 0 0.0%
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%
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%
Drupal\Core\Database\Connection::query 1,267 0.0% 1,337,665 20.5% 13,134 0.2% 1,779,296 4.8% -10,960,704 -29.6% 3,367,096 9.0% 23,792 0.1%
Drupal\Core\Utility\ThemeRegistry::initializeRegistry 72 0.0% 4,773,897 73.1% 13,096 0.2% 12,600,080 34.0% -13,157,288 -35.5% 8,234,608 21.9% 192 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%
Symfony\Component\Yaml\Parser::parse 111 0.0% 551,147 8.4% 12,441 0.2% 3,570,208 9.6% -2,306,936 -6.2% 864,752 2.3% 4,240 0.0%
Composer\Autoload\ClassLoader::findFileWithExtension 1,077 0.0% 13,942 0.2% 11,640 0.2% 158,392 0.4% 26,552 0.1% 195,120 0.5% 173,296 0.5%
Doctrine\Common\Annotations\TokenParser::parseUseStatement 963 0.0% 11,524 0.2% 11,448 0.2% 415,648 1.1% 378,952 1.0% 9,512 0.0% 2,176 0.0%
Drupal\Core\Database\Query\Condition::compile@1 598 0.0% 13,530 0.2% 11,010 0.2% 406,800 1.1% -44,032 -0.1% 124,584 0.3% 88,832 0.2%
Drupal\Core\Database\Query\Merge::execute 323 0.0% 1,146,653 17.6% 10,606 0.2% 522,656 1.4% -3,587,624 -9.7% 3,323,880 8.8% 1,632 0.0%
load::service_container_prod/430fe7c59acdbf408cb46d32ea7eea999f9cec0fdbbb24ae02c9d6edf0ca6ae1.php 1 0.0% 10,153 0.2% 10,153 0.2% 232,616 0.6% 232,616 0.6% 1,873,800 5.0% 1,873,800 5.0%
Drupal\Core\Database\Query\Condition::compile 1,376 0.0% 23,917 0.4% 9,912 0.2% 1,524,496 4.1% 892,728 2.4% 167,560 0.4% 32,080 0.1%
Drupal\Core\Theme\Registry::build 72 0.0% 4,280,266 65.5% 9,708 0.1% 22,750,664 61.4% -423,736 -1.1% 8,186,976 21.8% 800 0.0%
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getDefinitions 20 0.0% 147,541 2.3% 9,551 0.1% 1,249,720 3.4% -3,057,760 -8.3% 2,004,080 5.3% 47,048 0.1%
Drupal\Core\Theme\Registry::reset 108 0.0% 218,342 3.3% 9,531 0.1% -9,850,288 -26.6% -8,501,160 -22.9% 36,952 0.1% 1,040 0.0%
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%
Drupal\Core\Database\Connection::expandArguments 1,267 0.0% 9,432 0.1% 9,345 0.1% 62,048 0.2% -621,520 -1.7% 80,784 0.2% 49,128 0.1%
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\DatabaseBackend::getMultiple 362 0.0% 107,285 1.6% 8,613 0.1% 5,310,248 14.3% -256,248 -0.7% 4,774,312 12.7% 345,520 0.9%
Symfony\Component\Yaml\Parser::parse@5 241 0.0% 41,119 0.6% 8,435 0.1% 497,864 1.3% -492,176 -1.3% 177,440 0.5% 14,624 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%
Drupal\Core\Database\Query\Select::__toString 367 0.0% 11,889 0.2% 7,738 0.1% 98,608 0.3% -190,280 -0.5% 24,832 0.1% 8,720 0.0%
Drupal\Core\Database\Statement::execute 1,267 0.0% 1,301,963 19.9% 7,668 0.1% 10,402,376 28.1% 1,864 0.0% 3,195,208 8.5% 0 0.0%
Drupal\Core\Extension\ModuleHandler::buildImplementationInfo 132 0.0% 11,983 0.2% 7,533 0.1% 102,280 0.3% -53,968 -0.1% 72,672 0.2% 23,264 0.1%
file_scan_directory 144 0.0% 91,811 1.4% 6,874 0.1% 6,628,672 17.9% -1,113,544 -3.0% 0 0.0% 0 0.0%
file_get_contents 437 0.0% 6,582 0.1% 6,582 0.1% 1,519,424 4.1% 1,519,424 4.1% 1,384,704 3.7% 1,384,704 3.7%
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%
Symfony\Component\Yaml\Parser::parse@4 143 0.0% 70,387 1.1% 6,417 0.1% 641,496 1.7% -480,720 -1.3% 231,848 0.6% 3,928 0.0%
Twig_Lexer::lexExpression 1,084 0.0% 10,146 0.2% 6,261 0.1% 593,728 1.6% -183,792 -0.5% 125,128 0.3% 9,600 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%
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%
Drupal\Core\Cache\DatabaseBackend::doSet 251 0.0% 1,039,379 15.9% 5,945 0.1% 346,768 0.9% -10,314,560 -27.8% 5,368,360 14.3% 1,904 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%
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%
Doctrine\Common\Lexer\AbstractLexer::scan 301 0.0% 11,185 0.2% 5,633 0.1% 2,444,768 6.6% 266,656 0.7% 35,088 0.1% 21,592 0.1%
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_NodeTraverser::traverseForVisitor@6 1,194 0.0% 53,969 0.8% 5,528 0.1% 1,085,904 2.9% -539,256 -1.5% 473,416 1.3% 4,008 0.0%
Drupal\Core\Database\Query\Query::__construct 1,108 0.0% 8,021 0.1% 5,416 0.1% 166,104 0.4% 57,656 0.2% 8,200 0.0% 5,136 0.0%
unserialize 307 0.0% 6,303 0.1% 5,401 0.1% 5,067,056 13.7% 4,480,888 12.1% 4,561,568 12.1% 4,189,288 11.1%
token_get_all 612 0.0% 5,234 0.1% 5,234 0.1% 13,912,960 37.6% 13,912,960 37.6% 540,016 1.4% 540,016 1.4%
Twig_NodeTraverser::traverseForVisitor@5 818 0.0% 61,924 0.9% 5,165 0.1% 1,174,776 3.2% -474,128 -1.3% 534,680 1.4% 5,088 0.0%
Twig_NodeTraverser::traverseForVisitor@8 1,022 0.0% 35,224 0.5% 5,063 0.1% 731,160 2.0% -483,064 -1.3% 270,136 0.7% 3,936 0.0%
Drupal\Component\Utility\NestedArray::mergeDeepArray 719 0.0% 5,126 0.1% 5,001 0.1% 615,608 1.7% 590,504 1.6% 51,216 0.1% 37,272 0.1%
eval::/srv/sites/drupal8/core/lib/Drupal/Core/Template/TwigEnvironment.php(120) : eval()'d code 20 0.0% 4,925 0.1% 4,925 0.1% 818,944 2.2% 818,944 2.2% 394,408 1.0% 394,408 1.0%
Drupal\Core\Utility\ThemeRegistry::__construct 36 0.0% 5,080,043 77.8% 4,819 0.1% 12,898,472 34.8% -906,832 -2.4% 8,241,216 21.9% 1,056 0.0%
Twig_NodeTraverser::traverseForVisitor@7 749 0.0% 43,248 0.7% 4,813 0.1% 836,120 2.3% -419,128 -1.1% 322,592 0.9% 4,648 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%
Doctrine\Common\Annotations\DocParser::Annotation 470 0.0% 28,960 0.4% 4,560 0.1% 581,032 1.6% -63,544 -0.2% 207,768 0.6% 4,552 0.0%
Drupal\Core\Cache\DatabaseCacheTagsChecksum::calculateChecksum 745 0.0% 25,878 0.4% 4,470 0.1% 63,112 0.2% -2,833,008 -7.6% 33,928 0.1% 3,080 0.0%
Twig_Node_Expression_Call::compileArguments 176 0.0% 16,809 0.3% 4,315 0.1% 203,848 0.6% -118,800 -0.3% 208,200 0.6% 4,560 0.0%
Drupal\Component\Utility\Html::cleanCssIdentifier 1,098 0.0% 13,317 0.2% 4,259 0.1% 115,032 0.3% -292,536 -0.8% 238,760 0.6% 160 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%
Drupal\Core\Database\Query\Update::execute 273 0.0% 872,626 13.4% 4,090 0.1% 324,136 0.9% -316,800 -0.9% 2,601,264 6.9% 9,072 0.0%
array_diff 1,274 0.0% 4,009 0.1% 4,009 0.1% 254,112 0.7% 254,112 0.7% 14,704 0.0% 14,704 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%
Twig_NodeTraverser::traverseForVisitor@9 799 0.0% 25,592 0.4% 3,924 0.1% 509,440 1.4% -370,680 -1.0% 187,768 0.5% 2,200 0.0%
Twig_Lexer::tokenize 20 0.0% 22,973 0.4% 3,771 0.1% 304,336 0.8% -1,323,952 -3.6% 191,000 0.5% 2,504 0.0%
Drupal\Core\Database\Query\Update::__toString 273 0.0% 4,576 0.1% 3,591 0.1% 87,928 0.2% -11,984 -0.0% 8,544 0.0% 5,680 0.0%
PDO::prepare 1,267 0.0% 5,530 0.1% 3,526 0.1% 1,225,832 3.3% 1,163,224 3.1% 14,280 0.0% 14,168 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%
Drupal\Core\Extension\ModuleHandler::loadInclude 1,233 0.0% 5,223 0.1% 3,320 0.1% 113,704 0.3% -37,912 -0.1% 9,192 0.0% 5,664 0.0%
preg_split 307 0.0% 3,308 0.1% 3,308 0.1% 2,094,760 5.7% 2,094,760 5.7% 5,712 0.0% 5,712 0.0%
hash 101 0.0% 3,153 0.0% 3,153 0.0% 11,520 0.0% 11,520 0.0% 120 0.0% 120 0.0%
Drupal\Core\Database\Connection::prepareQuery 1,267 0.0% 11,634 0.2% 3,147 0.0% 1,289,680 3.5% -221,528 -0.6% 47,984 0.1% 400 0.0%
Twig_NodeTraverser::traverseForVisitor@4 495 0.0% 66,876 1.0% 3,140 0.0% 1,244,440 3.4% -247,104 -0.7% 562,992 1.5% 4,536 0.0%
Twig_Node_Expression_Name::compile 270 0.0% 4,723 0.1% 3,105 0.0% 30,960 0.1% -4,984 -0.0% 26,840 0.1% 3,016 0.0%
Drupal\Core\Utility\ThemeRegistry::updateCache 37 0.0% 2,661,546 40.8% 3,080 0.0% -674,952 -1.8% -1,234,168 -3.3% 3,498,016 9.3% 0 0.0%
Doctrine\Common\Annotations\DocParser::Annotations 279 0.0% 32,489 0.5% 3,021 0.0% 663,328 1.8% 78,016 0.2% 212,640 0.6% 2,704 0.0%
Twig_NodeTraverser::traverseForVisitor@3 594 0.0% 73,670 1.1% 2,967 0.0% 1,502,904 4.1% -290,568 -0.8% 648,352 1.7% 2,960 0.0%
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%
Twig_NodeTraverser::traverseForVisitor@10 560 0.0% 18,372 0.3% 2,942 0.0% 426,296 1.2% -285,152 -0.8% 166,584 0.4% 1,384 0.0%
Twig_Compiler::write 1,433 0.0% 3,188 0.0% 2,930 0.0% 54,328 0.1% -432,616 -1.2% 88,352 0.2% 4,752 0.0%
[ display all ]