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. MemUse (bytes) [ 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%
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%
Twig_ExpressionParser::parseExpression 275 0.0% 81,631 2.3% 3,223 0.1% 553,788 1.3% 5,110,788 11.8% 1,019,956 2.3% 72,084 0.2%
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%
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_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%
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%
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_Parser::subparse@1 46 0.0% 65,836 1.9% 4,418 0.1% 721,692 1.7% 2,413,856 5.6% 696,992 1.6% 18,628 0.0%
Twig_Node_Expression_Call::compileArguments@1 42 0.0% 8,557 0.2% 1,776 0.1% 27,976 0.1% 2,347,728 5.4% 129,440 0.3% 79,636 0.2%
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_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%
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%
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%
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\views\Plugin\views\display\DisplayPluginBase::defineOptions 79 0.0% 5,946 0.2% 5,838 0.2% 1,625,668 3.8% 1,622,112 3.8% 126,276 0.3% 124,652 0.3%
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%
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%
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%
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%
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%
Twig_Node_Expression_Constant::compile 810 0.1% 13,607 0.4% 3,483 0.1% -117,048 -0.3% 1,248,980 2.9% 44,320 0.1% 4,744 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%
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%
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%
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%
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%
Twig_TokenStream::expect 681 0.1% 5,097 0.1% 3,315 0.1% -316,532 -0.7% 842,044 1.9% 14,920 0.0% 12,284 0.0%
???_op 562 0.1% 47,328 1.3% 4,842 0.1% 2,355,524 5.4% 823,816 1.9% 1,870,156 4.3% 410,460 0.9%
Drupal\Core\Entity\EntityStorageBase::mapFromStorageRecords 91 0.0% 122,593 3.5% 5,392 0.2% 767,600 1.8% 697,212 1.6% 376,112 0.9% 18,876 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%
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%
ob_start 38 0.0% 212 0.0% 212 0.0% 628,660 1.5% 628,660 1.5% 84,772 0.2% 84,772 0.2%
Twig_ExpressionParser::parseAssignmentExpression 32 0.0% 2,996 0.1% 1,008 0.0% 113,624 0.3% 619,288 1.4% 74,872 0.2% 4,784 0.0%
Twig_TokenParser_If::parse 40 0.0% 67,036 1.9% 1,438 0.0% 891,388 2.1% 616,992 1.4% 808,800 1.9% 22,592 0.1%
PDO::prepare 784 0.1% 9,447 0.3% 5,341 0.2% 613,152 1.4% 612,240 1.4% 41,384 0.1% 40,380 0.1%
get_defined_functions 2 0.0% 3,027 0.1% 3,027 0.1% 609,748 1.4% 609,748 1.4% 104,268 0.2% 104,268 0.2%
Twig_Node_Expression_Call::compileCallable 200 0.0% 67,212 1.9% 3,538 0.1% 150,872 0.3% 591,636 1.4% 268,528 0.6% 2,556 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%
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_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_Node_Expression_Filter::compile@2 4 0.0% 627 0.0% 157 0.0% 14,164 0.0% 526,016 1.2% 12,052 0.0% 4,988 0.0%
Twig_ExpressionParser::getPrimary 296 0.0% 72,667 2.1% 2,859 0.1% -488,208 -1.1% 510,872 1.2% 944,528 2.2% 46,424 0.1%
Twig_Node_Expression_Array::compile 147 0.0% 13,894 0.4% 1,738 0.0% 9,820 0.0% 431,100 1.0% 55,108 0.1% 1,176 0.0%
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%
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_NodeVisitor_Escaper::isSafeFor 178 0.0% 30,329 0.9% 2,443 0.1% 453,056 1.0% 394,248 0.9% 269,760 0.6% 6,268 0.0%
preg_replace_callback 113 0.0% 6,174 0.2% 1,093 0.0% 407,508 0.9% 385,832 0.9% 432 0.0% 324 0.0%
Drupal\Core\Render\BubbleableMetadata::merge 179 0.0% 3,094 0.1% 745 0.0% 34,564 0.1% 380,888 0.9% 468 0.0% 144 0.0%
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%
Drupal\Core\Database\Connection::defaultOptions 784 0.1% 1,727 0.0% 1,727 0.0% 361,128 0.8% 361,128 0.8% 11,984 0.0% 11,984 0.0%
Twig_Parser::subparse@2 18 0.0% 42,588 1.2% 2,646 0.1% 389,728 0.9% 360,828 0.8% 426,704 1.0% 4,680 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%
preg_match_all 38 0.0% 1,846 0.1% 1,846 0.1% 331,488 0.8% 331,488 0.8% 17,872 0.0% 17,872 0.0%
Twig_Compiler::subcompile@6 111 0.0% 8,468 0.2% 375 0.0% 42,516 0.1% 331,384 0.8% 58,596 0.1% 4,208 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%
Drupal\Core\Database\Query\Merge::__construct 203 0.0% 9,208 0.3% 4,124 0.1% 334,632 0.8% 318,404 0.7% 7,120 0.0% 6,076 0.0%
FilesystemIterator::current 227 0.0% 556 0.0% 556 0.0% 287,332 0.7% 287,332 0.7% 8,888 0.0% 8,888 0.0%
Twig_Node_Expression_Filter::__construct 222 0.0% 1,751 0.0% 1,423 0.0% 59,848 0.1% 280,820 0.6% 37,380 0.1% 37,380 0.1%
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%
Twig_Compiler::subcompile@5 203 0.0% 15,856 0.4% 696 0.0% 66,248 0.2% 267,544 0.6% 83,416 0.2% 2,424 0.0%
Twig_ExpressionParser::parseExpression@1 134 0.0% 24,808 0.7% 1,785 0.1% 379,280 0.9% 267,132 0.6% 345,028 0.8% 5,644 0.0%
Twig_Node_Expression_AssignName::compile 44 0.0% 882 0.0% 521 0.0% 6,528 0.0% 265,528 0.6% 2,804 0.0% 436 0.0%
Twig_Compiler::subcompile@7 43 0.0% 3,989 0.1% 141 0.0% 29,348 0.1% 265,264 0.6% 38,928 0.1% 5,740 0.0%
Drupal\Core\Render\Renderer::render@2 14 0.0% 422,138 11.9% 70 0.0% 2,492,060 5.8% 263,232 0.6% 2,735,756 6.3% 37,416 0.1%
Twig_Compiler::subcompile@9 24 0.0% 695 0.0% 76 0.0% 2,516 0.0% 262,808 0.6% 9,240 0.0% 4,504 0.0%
Drupal\Component\Utility\Xss::Drupal\Component\Utility\{closure} 4 0.0% 318 0.0% 19 0.0% 12,028 0.0% 262,580 0.6% 0 0.0% 0 0.0%
get_object_vars 283 0.0% 2,080 0.1% 2,080 0.1% 262,100 0.6% 262,100 0.6% 22,132 0.1% 22,132 0.1%
Twig_Node_Expression_Constant::__construct 1,032 0.2% 11,713 0.3% 3,482 0.1% 115,792 0.3% 257,636 0.6% 123,776 0.3% 108,948 0.2%
Drupal\Core\Database\Connection::select 250 0.0% 20,495 0.6% 3,269 0.1% 829,860 1.9% 257,472 0.6% 234,224 0.5% 20,252 0.0%
load::Sql/SqlContentEntityStorage.php 1 0.0% 4,582 0.1% 4,582 0.1% 257,416 0.6% 257,416 0.6% 246,440 0.6% 246,440 0.6%
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%
Drupal\views\Plugin\views\PluginBase::setOptionDefaults 105 0.0% 9,100 0.3% 6,050 0.2% 368,376 0.9% 247,688 0.6% 98,668 0.2% 57,672 0.1%
load::http-foundation/Request.php 1 0.0% 4,157 0.1% 4,157 0.1% 247,240 0.6% 247,240 0.6% 241,880 0.6% 241,880 0.6%
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%
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%
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%
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%
Twig_NodeVisitor_Escaper::getEscaperFilter 154 0.0% 7,613 0.2% 3,272 0.1% 379,640 0.9% 235,164 0.5% 195,332 0.4% 71,060 0.2%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::getPluginNamespaces 14 0.0% 2,578 0.1% 2,549 0.1% 236,424 0.5% 234,496 0.5% 40,740 0.1% 40,684 0.1%
load::src/ViewExecutable.php 1 0.0% 4,029 0.1% 4,029 0.1% 232,096 0.5% 232,096 0.5% 164,092 0.4% 164,092 0.4%
load::filter/FilterPluginBase.php 1 0.0% 5,693 0.2% 5,693 0.2% 221,256 0.5% 221,256 0.5% 0 0.0% 0 0.0%
Drupal\Core\Database\Query\Condition::condition 662 0.1% 3,209 0.1% 3,165 0.1% 214,752 0.5% 214,380 0.5% 11,736 0.0% 11,364 0.0%
load::query/Sql.php 1 0.0% 4,396 0.1% 4,396 0.1% 207,616 0.5% 207,616 0.5% 140,652 0.3% 140,652 0.3%
Twig_NodeTraverser::traverse@1 178 0.0% 25,854 0.7% 1,139 0.0% 445,600 1.0% 198,836 0.5% 260,380 0.6% 3,828 0.0%
array_values 704 0.1% 717 0.0% 717 0.0% 197,460 0.5% 197,460 0.5% 11,308 0.0% 11,308 0.0%
Drupal\Core\Database\Query\Select::__construct 250 0.0% 11,685 0.3% 4,816 0.1% 389,708 0.9% 196,240 0.5% 31,144 0.1% 15,452 0.0%
Drupal\Core\StringTranslation\TranslationWrapper::__sleep 505 0.1% 606 0.0% 606 0.0% 194,688 0.5% 194,688 0.5% 0 0.0% 0 0.0%
load::Entity/EntityManager.php 1 0.0% 3,892 0.1% 3,892 0.1% 192,412 0.4% 192,412 0.4% 183,424 0.4% 183,424 0.4%
load::Menu/MenuTreeStorage.php 1 0.0% 3,615 0.1% 3,615 0.1% 189,232 0.4% 189,232 0.4% 206,268 0.5% 206,268 0.5%
load::file/file.module 1 0.0% 5,273 0.1% 5,273 0.1% 182,532 0.4% 182,532 0.4% 191,140 0.4% 191,140 0.4%
load::Extension/Core.php 1 0.0% 4,761 0.1% 4,761 0.1% 178,928 0.4% 178,928 0.4% 182,272 0.4% 182,272 0.4%
Drupal\Core\Database\Statement::fetchAllKeyed 71 0.0% 1,524 0.0% 1,458 0.0% 178,460 0.4% 178,072 0.4% 131,384 0.3% 131,120 0.3%
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%
load::Core/DrupalKernel.php 1 0.0% 3,940 0.1% 3,940 0.1% 171,144 0.4% 171,144 0.4% 158,556 0.4% 158,556 0.4%
Drupal\Core\Database\Connection::merge 203 0.0% 14,275 0.4% 2,767 0.1% 563,536 1.3% 169,844 0.4% 66,640 0.2% 2,356 0.0%
load::system/system.module 1 0.0% 3,325 0.1% 3,325 0.1% 168,856 0.4% 168,856 0.4% 165,172 0.4% 165,172 0.4%
load::includes/theme.inc 1 0.0% 3,443 0.1% 3,443 0.1% 167,068 0.4% 167,068 0.4% 164,028 0.4% 164,028 0.4%
unserialize@1 20 0.0% 1,943 0.1% 712 0.0% 225,468 0.5% 163,328 0.4% 93,980 0.2% 51,472 0.1%
Doctrine\Common\Reflection\StaticReflectionParser::__construct 227 0.0% 3,506 0.1% 3,247 0.1% 188,984 0.4% 160,808 0.4% 1,696 0.0% 1,592 0.0%
load::user/user.module 1 0.0% 2,667 0.1% 2,667 0.1% 158,984 0.4% 158,984 0.4% 156,872 0.4% 156,872 0.4%
[ display all ]