Run Report
Run #4fa82644c311d: XHProf Run (Namespace=chamilo19)
Tip
Click a function name below to drill down.

Overall Summary
Total Incl. Wall Time (microsec):787,267 microsecs
Total Incl. CPU (microsecs):644,041 microsecs
Total Incl. MemUse (bytes):17,163,304 bytes
Total Incl. PeakMemUse (bytes):17,587,168 bytes
Number of Function Calls:100,504


[View Full Callgraph]


Displaying top 100 functions: Sorted by Incl. Wall Time (microsec) [ display all ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Excl. Wall Time
(microsec)
EWall%Incl. CPU
(microsecs)
ICpu%Excl. CPU
(microsec)
ECPU%Incl.
MemUse
(bytes)
IMemUse%Excl.
MemUse
(bytes)
EMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%Excl.
PeakMemUse
(bytes)
EPeakMemUse%
main() 1 0.0% 787,267 100.0% 376 0.0% 644,041 100.0% 0 0.0% 17,163,304 100.0% -72,536 -0.4% 17,587,168 100.0% 2,256 0.0%
Template::display_two_col_template 1 0.0% 528,590 67.1% 16 0.0% 496,031 77.0% 0 0.0% 4,143,184 24.1% 1,800 0.0% 4,442,624 25.3% 416 0.0%
Template::display 1 0.0% 528,570 67.1% 662 0.1% 496,031 77.0% 0 0.0% 4,140,104 24.1% -3,960 -0.0% 4,441,344 25.3% 240 0.0%
Twig_Environment::render 1 0.0% 527,908 67.1% 16 0.0% 496,031 77.0% 0 0.0% 4,144,064 24.1% 1,192 0.0% 4,441,104 25.3% 0 0.0%
Twig_Environment::loadTemplate 9 0.0% 525,840 66.8% 3,434 0.4% 492,030 76.4% 0 0.0% 4,014,000 23.4% 714,352 4.2% 4,441,104 25.3% 190,600 1.1%
Twig_Environment::compileSource 10 0.0% 501,450 63.7% 1,885 0.2% 488,030 75.8% 4,000 0.6% 3,055,168 17.8% -2,675,256 -15.6% 4,189,488 23.8% 912 0.0%
call_user_func 40 0.0% 405,580 51.5% 219 0.0% 392,025 60.9% 0 0.0% 1,898,024 11.1% 3,704 0.0% 1,865,928 10.6% 4,496 0.0%
Twig_Template::render 1 0.0% 403,178 51.2% 18 0.0% 388,024 60.2% 0 0.0% 1,768,976 10.3% 2,864 0.0% 1,671,528 9.5% 0 0.0%
Twig_Template::display 1 0.0% 403,132 51.2% 13 0.0% 388,024 60.2% 0 0.0% 1,737,024 10.1% 1,952 0.0% 1,671,528 9.5% 0 0.0%
Twig_Template::displayWithErrorHandling 1 0.0% 403,060 51.2% 9 0.0% 388,024 60.2% 0 0.0% 1,727,504 10.1% 1,536 0.0% 1,671,528 9.5% 0 0.0%
__TwigTemplate_7f077320fa565c20d4cf66cb24230df1::doDisplay 1 0.0% 403,051 51.2% 11 0.0% 388,024 60.2% 0 0.0% 1,725,968 10.1% 904 0.0% 1,671,528 9.5% 0 0.0%
Twig_Template::display@1 1 0.0% 403,036 51.2% 10 0.0% 388,024 60.2% 0 0.0% 1,722,824 10.0% 2,016 0.0% 1,671,528 9.5% 0 0.0%
Twig_Template::displayWithErrorHandling@1 1 0.0% 403,017 51.2% 7 0.0% 388,024 60.2% 0 0.0% 1,719,680 10.0% 1,544 0.0% 1,671,528 9.5% 0 0.0%
__TwigTemplate_136d94f9c187d18b42b2b3af076e15ec::doDisplay 1 0.0% 403,010 51.2% 19 0.0% 388,024 60.2% 0 0.0% 1,718,136 10.0% 1,600 0.0% 1,671,528 9.5% 0 0.0%
Twig_Template::displayBlock 3 0.0% 402,991 51.2% 36 0.0% 388,024 60.2% 0 0.0% 1,716,536 10.0% 1,560 0.0% 1,671,528 9.5% 0 0.0%
Twig_Environment::parse 10 0.0% 318,480 40.5% 107 0.0% 304,021 47.2% 0 0.0% 4,583,648 26.7% 1,952 0.0% 3,022,136 17.2% 680 0.0%
Twig_Parser::parse 10 0.0% 318,101 40.4% 775 0.1% 304,021 47.2% 0 0.0% 4,536,752 26.4% 17,184 0.1% 2,976,072 16.9% 26,736 0.2%
__TwigTemplate_136d94f9c187d18b42b2b3af076e15ec::block_header 1 0.0% 251,272 31.9% 14 0.0% 248,016 38.5% 0 0.0% 947,560 5.5% 1,440 0.0% 1,585,896 9.0% 0 0.0%
Twig_Template::display@2 4 0.0% 250,859 31.9% 51 0.0% 236,016 36.6% 0 0.0% 712,192 4.1% 4,296 0.0% 1,149,944 6.5% 0 0.0%
Twig_Template::displayWithErrorHandling@2 4 0.0% 250,761 31.9% 29 0.0% 236,016 36.6% 0 0.0% 706,768 4.1% 2,792 0.0% 1,149,944 6.5% 0 0.0%
Twig_NodeTraverser::traverse 10 0.0% 197,912 25.1% 179 0.0% 200,014 31.1% 0 0.0% 779,512 4.5% 1,944 0.0% 633,688 3.6% 1,416 0.0%
Twig_NodeTraverser::traverseForVisitor 20 0.0% 197,697 25.1% 1,001 0.1% 200,014 31.1% 0 0.0% 776,472 4.5% -27,616 -0.2% 631,296 3.6% 3,144 0.0%
Twig_NodeTraverser::traverseForVisitor@1 100 0.1% 195,235 24.8% 1,280 0.2% 200,014 31.1% 0 0.0% 758,656 4.4% -72,056 -0.4% 612,272 3.5% 4,240 0.0%
Twig_NodeTraverser::traverseForVisitor@2 28 0.0% 190,076 24.1% 1,828 0.2% 196,013 30.4% 4,000 0.6% 737,376 4.3% -50,512 -0.3% 590,152 3.4% 4,016 0.0%
__TwigTemplate_b2d1170f2912cc15f68b77824a8ea13e::doDisplay 1 0.0% 188,918 24.0% 73 0.0% 188,013 29.2% 0 0.0% 365,112 2.1% 592 0.0% 1,064,312 6.1% 0 0.0%
Twig_NodeTraverser::traverseForVisitor@3 226 0.2% 186,011 23.6% 3,626 0.5% 192,013 29.8% 0 0.0% 716,792 4.2% -259,896 -1.5% 571,296 3.2% 3,200 0.0%
Twig_NodeTraverser::traverseForVisitor@4 134 0.1% 166,420 21.1% 3,477 0.4% 176,012 27.3% 0 0.0% 594,072 3.5% -154,616 -0.9% 542,576 3.1% 3,520 0.0%
Twig_NodeTraverser::traverseForVisitor@5 316 0.3% 154,676 19.6% 5,898 0.7% 168,012 26.1% 8,000 1.2% 555,984 3.2% -360,552 -2.1% 504,808 2.9% 4,152 0.0%
Twig_NodeTraverser::traverseForVisitor@6 304 0.3% 128,712 16.3% 4,811 0.6% 144,011 22.4% 8,000 1.2% 476,416 2.8% -325,168 -1.9% 461,032 2.6% 3,696 0.0%
run_init::inc/global.inc.php 1 0.0% 117,003 14.9% 2,911 0.4% 60,003 9.3% 0 0.0% 7,888,440 46.0% -4,351,984 -25.4% 8,584,120 48.8% 61,784 0.4%
Twig_NodeTraverser::traverseForVisitor@7 200 0.2% 105,676 13.4% 3,437 0.4% 96,006 14.9% 4,000 0.6% 346,424 2.0% -164,232 -1.0% 277,072 1.6% 4,128 0.0%
Twig_Parser::subparse 10 0.0% 102,672 13.0% 2,513 0.3% 104,007 16.1% 4,000 0.6% 3,306,312 19.3% 107,808 0.6% 1,945,632 11.1% 15,272 0.1%
Twig_Environment::compile 10 0.0% 100,213 12.7% 130 0.0% 100,005 15.5% 0 0.0% 603,904 3.5% 2,368 0.0% 489,792 2.8% 2,248 0.0%
Twig_Compiler::compile 10 0.0% 99,800 12.7% 113 0.0% 100,005 15.5% 0 0.0% 566,368 3.3% -68,064 -0.4% 458,912 2.6% 1,728 0.0%
Twig_Node_Module::compile 10 0.0% 99,687 12.7% 71 0.0% 100,005 15.5% 0 0.0% 634,432 3.7% 1,528 0.0% 457,184 2.6% 1,408 0.0%
Twig_Node_Module::compileTemplate 10 0.0% 99,616 12.7% 556 0.1% 100,005 15.5% 0 0.0% 632,904 3.7% 6,984 0.0% 455,776 2.6% 5,136 0.0%
Twig_NodeTraverser::traverseForVisitor@8 192 0.2% 91,653 11.6% 4,293 0.5% 88,006 13.7% 0 0.0% 289,280 1.7% -254,456 -1.5% 244,568 1.4% 4,232 0.0%
Twig_Compiler::subcompile 32 0.0% 89,029 11.3% 422 0.1% 92,005 14.3% 0 0.0% 501,608 2.9% 6,432 0.0% 303,480 1.7% 3,496 0.0%
Twig_Node::compile 30 0.0% 88,494 11.2% 146 0.0% 92,005 14.3% 0 0.0% 480,376 2.8% 17,904 0.1% 287,096 1.6% 33,592 0.2%
Twig_Node::compile@1 14 0.0% 88,348 11.2% 351 0.0% 92,005 14.3% 0 0.0% 462,472 2.7% 4,496 0.0% 253,504 1.4% 1,240 0.0%
__TwigTemplate_7f077320fa565c20d4cf66cb24230df1::block_body 1 0.0% 81,948 10.4% 66 0.0% 84,005 13.0% 0 0.0% 616,472 3.6% 1,248 0.0% 0 0.0% 0 0.0%
Twig_Environment::tokenize 10 0.0% 80,872 10.3% 113 0.0% 80,004 12.4% 0 0.0% 542,872 3.2% 1,952 0.0% 676,648 3.8% 1,456 0.0%
Twig_Lexer::tokenize 10 0.0% 79,732 10.1% 5,909 0.8% 80,004 12.4% 0 0.0% 378,328 2.2% -2,005,416 -11.7% 523,360 3.0% 6,400 0.0%
Twig_Node::compile@2 46 0.0% 79,471 10.1% 602 0.1% 80,005 12.4% 0 0.0% 373,824 2.2% 4,736 0.0% 219,128 1.2% 1,608 0.0%
Twig_Parser::subparse@1 19 0.0% 75,149 9.5% 4,032 0.5% 84,005 13.0% 4,000 0.6% 2,300,768 13.4% 170,056 1.0% 1,596,576 9.1% 99,232 0.6%
Twig_NodeTraverser::traverseForVisitor@9 268 0.3% 74,336 9.4% 3,904 0.5% 76,005 11.8% 4,000 0.6% 240,472 1.4% -257,264 -1.5% 182,336 1.0% 4,240 0.0%
Twig_TokenParser_If::parse 24 0.0% 74,310 9.4% 1,126 0.1% 72,004 11.2% 0 0.0% 2,251,904 13.1% 66,704 0.4% 1,416,320 8.1% 25,632 0.1%
Twig_Node_Module::compileDisplayBody 10 0.0% 72,015 9.1% 132 0.0% 76,003 11.8% 0 0.0% 326,232 1.9% 2,792 0.0% 139,632 0.8% 576 0.0%
Twig_Compiler::subcompile@1 67 0.1% 70,737 9.0% 413 0.1% 80,005 12.4% 0 0.0% 402,400 2.3% 8,216 0.0% 230,048 1.3% 2,248 0.0%
__TwigTemplate_136d94f9c187d18b42b2b3af076e15ec::block_footer 1 0.0% 69,709 8.9% 16 0.0% 56,003 8.7% 0 0.0% 148,832 0.9% 1,440 0.0% 85,632 0.5% 0 0.0%
Security::remove_XSS 12 0.0% 64,186 8.2% 210 0.0% 56,004 8.7% 0 0.0% 2,650,312 15.4% 9,136 0.1% 2,657,040 15.1% 7,216 0.0%
__TwigTemplate_f8e526647942a71d0c1791891e7859e1::doDisplay 1 0.0% 61,803 7.9% 16 0.0% 48,003 7.5% 0 0.0% 336,528 2.0% 1,392 0.0% 85,632 0.5% 0 0.0%
HTMLPurifier::purify 12 0.0% 61,481 7.8% 750 0.1% 52,004 8.1% 0 0.0% 2,265,736 13.2% -206,064 -1.2% 2,361,792 13.4% 6,344 0.0%
Twig_ExpressionParser::parseExpression 184 0.2% 60,965 7.7% 3,121 0.4% 52,004 8.1% 4,000 0.6% 1,807,040 10.5% 11,488 0.1% 1,081,368 6.1% 26,256 0.1%
Twig_Node_If::compile 24 0.0% 60,472 7.7% 1,094 0.1% 72,004 11.2% 0 0.0% 319,256 1.9% 5,552 0.0% 161,144 0.9% 5,008 0.0%
Twig_Node::compile@3 36 0.0% 57,622 7.3% 462 0.1% 64,005 9.9% 0 0.0% 306,736 1.8% 5,600 0.0% 167,560 1.0% 1,416 0.0%
Twig_NodeVisitor_Optimizer::enterNode 1,147 1.1% 55,267 7.0% 22,139 2.8% 56,004 8.7% 16,001 2.5% 522,560 3.0% -48,368 -0.3% 143,488 0.8% 30,464 0.2%
Twig_NodeTraverser::traverseForVisitor@10 140 0.1% 52,773 6.7% 3,108 0.4% 60,004 9.3% 4,000 0.6% 108,256 0.6% -181,752 -1.1% 95,376 0.5% 2,992 0.0%
Twig_NodeVisitor_Optimizer::leaveNode 1,147 1.1% 51,599 6.6% 25,778 3.3% 60,007 9.3% 20,000 3.1% 348,512 2.0% 46,832 0.3% 54,920 0.3% 22,808 0.1%
Twig_ExpressionParser::getPrimary 197 0.2% 44,225 5.6% 2,480 0.3% 40,004 6.2% 0 0.0% 1,428,800 8.3% -25,680 -0.1% 777,424 4.4% 4,248 0.0%
Twig_Compiler::subcompile@2 128 0.1% 43,263 5.5% 748 0.1% 48,003 7.5% 0 0.0% 249,304 1.5% 14,656 0.1% 116,000 0.7% 3,616 0.0%
Twig_Node::compile@4 35 0.0% 42,886 5.4% 358 0.0% 44,003 6.8% 0 0.0% 181,112 1.1% 5,176 0.0% 81,256 0.5% 1,160 0.0%
Database::query 56 0.1% 40,866 5.2% 1,137 0.1% 0 0.0% 0 0.0% 47,192 0.3% 28,616 0.2% 12,536 0.1% 10,640 0.1%
Twig_NodeTraverser::traverseForVisitor@11 224 0.2% 40,822 5.2% 3,200 0.4% 44,003 6.8% 4,000 0.6% 117,768 0.7% -210,144 -1.2% 62,032 0.4% 0 0.0%
Twig_Parser::subparse@2 21 0.0% 39,945 5.1% 3,223 0.4% 36,004 5.6% 0 0.0% 1,108,640 6.5% 161,056 0.9% 749,504 4.3% 112,320 0.6%
mysql_query 56 0.1% 38,837 4.9% 38,837 4.9% 0 0.0% 0 0.0% 10,352 0.1% 10,352 0.1% 536 0.0% 536 0.0%
Twig_TokenParser_If::parse@1 12 0.0% 37,785 4.8% 535 0.1% 32,004 5.0% 0 0.0% 1,030,400 6.0% 36,688 0.2% 720,824 4.1% 19,816 0.1%
Twig_ExpressionParser::parsePrimaryExpression 200 0.2% 36,638 4.7% 5,123 0.7% 36,004 5.6% 0 0.0% 1,370,184 8.0% 164,400 1.0% 746,992 4.2% 71,144 0.4%
IndexManager::__construct 1 0.0% 35,475 4.5% 28 0.0% 20,001 3.1% 0 0.0% 926,552 5.4% 5,280 0.0% 931,184 5.3% 0 0.0%
Template::__construct 1 0.0% 35,421 4.5% 197 0.0% 20,001 3.1% 0 0.0% 916,088 5.3% 18,144 0.1% 931,184 5.3% 10,520 0.1%
Twig_Lexer::lexExpression 566 0.6% 35,306 4.5% 11,773 1.5% 32,001 5.0% 8,000 1.2% 709,856 4.1% -144,240 -0.8% 153,096 0.9% 18,568 0.1%
Twig_Node::getIterator 2,345 2.3% 33,770 4.3% 26,214 3.3% 20,001 3.1% 12,000 1.9% 2,536,936 14.8% 2,209,016 12.9% 354,344 2.0% 238,448 1.4%
Template::set_header_parameters 1 0.0% 32,056 4.1% 291 0.0% 20,001 3.1% 0 0.0% 536,632 3.1% 2,848 0.0% 565,888 3.2% 11,656 0.1%
Twig_Node::compile@5 18 0.0% 31,324 4.0% 340 0.0% 32,002 5.0% 0 0.0% 142,136 0.8% 3,888 0.0% 62,128 0.4% 1,856 0.0%
Twig_Node_If::compile@1 12 0.0% 31,237 4.0% 545 0.1% 32,002 5.0% 0 0.0% 132,440 0.8% 6,552 0.0% 61,240 0.3% 1,504 0.0%
load::chamilo/user_portal.php 1 0.0% 30,460 3.9% 30,460 3.9% 4,001 0.6% 4,001 0.6% 89,144 0.5% 89,144 0.5% 164,408 0.9% 164,408 0.9%
HTMLPurifier_Strategy_Composite::execute 12 0.0% 28,920 3.7% 220 0.0% 20,002 3.1% 0 0.0% 250,920 1.5% -5,344 -0.0% 251,608 1.4% 1,304 0.0%
Twig_Lexer::lexVar 442 0.4% 28,852 3.7% 4,011 0.5% 28,001 4.3% 8,001 1.2% 531,048 3.1% -121,920 -0.7% 102,136 0.6% 7,032 0.0%
__TwigTemplate_7f077320fa565c20d4cf66cb24230df1::__construct 1 0.0% 28,371 3.6% 17 0.0% 24,001 3.7% 0 0.0% -195,632 -1.1% 2,192 0.0% 17,880 0.1% 0 0.0%
Twig_Environment::loadTemplate@1 1 0.0% 28,350 3.6% 273 0.0% 24,001 3.7% 4,000 0.6% -199,600 -1.2% 50,064 0.3% 17,760 0.1% 0 0.0%
Twig_Node_Print::compile 135 0.1% 25,274 3.2% 1,838 0.2% 28,002 4.3% 0 0.0% 85,576 0.5% 12,160 0.1% 40,888 0.2% 5,736 0.0%
file_get_contents 13 0.0% 24,500 3.1% 24,500 3.1% 0 0.0% 0 0.0% 138,240 0.8% 138,240 0.8% 189,944 1.1% 189,944 1.1%
Twig_Lexer::lexBlock 355 0.4% 24,452 3.1% 3,188 0.4% 24,001 3.7% 4,000 0.6% 447,728 2.6% -92,984 -0.5% 125,184 0.7% 5,192 0.0%
Twig_NodeTraverser::traverseForVisitor@12 92 0.1% 24,239 3.1% 1,698 0.2% 24,002 3.7% 0 0.0% 59,104 0.3% -102,792 -0.6% 35,544 0.2% 704 0.0%
Twig_Node_Text::compile 262 0.3% 21,776 2.8% 3,534 0.4% 12,000 1.9% 0 0.0% 53,856 0.3% 11,024 0.1% 78,944 0.4% 3,264 0.0%
Twig_Node::compile@6 26 0.0% 21,676 2.8% 233 0.0% 28,002 4.3% 0 0.0% 112,984 0.7% 2,800 0.0% 27,344 0.2% 680 0.0%
Twig_Compiler::subcompile@3 104 0.1% 21,595 2.7% 597 0.1% 20,003 3.1% 0 0.0% 141,448 0.8% 13,456 0.1% 52,592 0.3% 3,992 0.0%
Twig_TokenParser_Block::parse 4 0.0% 21,112 2.7% 267 0.0% 20,001 3.1% 0 0.0% 900,824 5.2% 13,952 0.1% 825,840 4.7% 11,280 0.1%
run_init::lib/message.lib.php 1 0.0% 21,018 2.7% 135 0.0% 8,001 1.2% 0 0.0% 1,393,616 8.1% 4,088 0.0% 1,399,344 8.0% 936 0.0%
Twig_Node_SetTemp::compile 136 0.1% 20,896 2.7% 3,383 0.4% 24,002 3.7% 0 0.0% 39,528 0.2% 10,296 0.1% 12,504 0.1% 1,920 0.0%
run_init::lib/fileUpload.lib.php 1 0.0% 20,586 2.6% 81 0.0% 8,001 1.2% 0 0.0% 1,327,160 7.7% -2,232 -0.0% 1,388,584 7.9% 624 0.0%
load::lib/document.lib.php 1 0.0% 20,434 2.6% 20,434 2.6% 8,001 1.2% 8,001 1.2% 1,322,112 7.7% 1,322,112 7.7% 1,387,472 7.9% 1,387,472 7.9%
Twig_ExpressionParser::parsePostfixExpression 201 0.2% 19,935 2.5% 2,695 0.3% 32,004 5.0% 4,001 0.6% 813,016 4.7% 4,376 0.0% 407,584 2.3% 3,552 0.0%
Twig_Compiler::write 1,062 1.1% 19,871 2.5% 9,115 1.2% 16,000 2.5% 8,000 1.2% 64,528 0.4% -502,040 -2.9% 135,568 0.8% 20,328 0.1%
Twig_Lexer::lexData 280 0.3% 19,529 2.5% 6,704 0.9% 28,002 4.3% 8,000 1.2% 693,776 4.0% 60,064 0.3% 149,992 0.9% 7,464 0.0%
Twig_Loader_Filesystem::getSource 10 0.0% 19,186 2.4% 107 0.0% 0 0.0% 0 0.0% 35,464 0.2% 3,888 0.0% 37,768 0.2% 336 0.0%
IndexManager::return_courses_and_sessions 1 0.0% 18,574 2.4% 115 0.0% 12,001 1.9% 0 0.0% 1,095,376 6.4% 608 0.0% 1,040,280 5.9% 0 0.0%
HTMLPurifier_Config::getDefinition 90 0.1% 17,677 2.2% 1,004 0.1% 16,001 2.5% 0 0.0% 1,731,680 10.1% -2,600 -0.0% 1,856,120 10.6% 1,856 0.0%
Twig_Node_Block::compile 4 0.0% 16,995 2.2% 106 0.0% 16,002 2.5% 0 0.0% 161,496 0.9% 2,744 0.0% 148,784 0.8% 3,032 0.0%
Twig_NodeTraverser::traverseForVisitor@13 92 0.1% 16,074 2.0% 1,827 0.2% 16,002 2.5% 4,000 0.6% 34,936 0.2% -117,448 -0.7% 29,736 0.2% 832 0.0%
[ display all ]
Profiler output