Diff Report
Run #517c1c27a12c9: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #517c1bb406b02: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Overall Diff Summary

Run #517c1c27a12c9Run #517c1bb406b02DiffDiff%
Number of Function Calls36,547 58,995 22,448 61.4%
Incl. Wall Time (microsec)182,026 466,540 284,514 156.3%
Incl. CPU (microsecs)162,564 279,177 116,613 71.7%
Incl. MemUse (bytes)10,709,000 11,154,056 445,056 4.2%
Incl. PeakMemUse (bytes)10,822,968 11,392,288 569,320 5.3%

[View Regressions/Improvements using Callgraph Diff]


Top 100 Regressions/Improvements: Sorted by Incl. Wall Time (microsec) Diff [ display all ]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Excl. Wall
Diff
(microsec)
EWall
Diff%
Incl. CPU Diff
(microsec)
ICpu
Diff%
Excl. CPU
Diff
(microsec)
ECpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Excl.
MemUse
Diff
(bytes)
EMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Excl.
PeakMemUse
Diff
(bytes)
EPeakMemUse
Diff%
main() 0 0.0% 284,514 100.0% 2 0.0% 116,613 100.0% 0 0.0% 445,056 100.0% 0 0.0% 569,320 100.0% 0 0.0%
run_init::drupal8_profiling/index.php 0 0.0% 284,514 100.0% 7 0.0% 116,614 100.0% 5 0.0% 445,056 100.0% 0 0.0% 569,320 100.0% 0 0.0%
drupal_handle_request 0 0.0% 284,503 100.0% 1 0.0% 116,601 100.0% -6 -0.0% 445,040 100.0% 8 0.0% 569,304 100.0% -576 -0.1%
Drupal\Core\HttpKernel::handle 0 0.0% 284,289 99.9% 0 0.0% 116,448 99.9% -1 -0.0% 397,464 89.3% 0 0.0% 604,144 106.1% 0 0.0%
Symfony\Component\HttpKernel\HttpKernel::handle 0 0.0% 284,285 99.9% 0 0.0% 116,444 99.9% 1 0.0% 397,464 89.3% 0 0.0% 605,472 106.4% 0 0.0%
Symfony\Component\HttpKernel\Kernel::handle 0 0.0% 284,285 99.9% 1 0.0% 116,445 99.9% 0 0.0% 397,464 89.3% 0 0.0% 603,664 106.0% -480 -0.1%
Symfony\Component\HttpKernel\HttpKernel::handleRaw 0 0.0% 284,285 99.9% -1 -0.0% 116,443 99.9% -6 -0.0% 397,464 89.3% -80 -0.0% 605,472 106.4% 24 0.0%
call_user_func 0 0.0% 284,062 99.8% -462 -0.2% 115,896 99.4% 2 0.0% 398,248 89.5% 0 0.0% 576,032 101.2% -288 -0.1%
Symfony\Component\EventDispatcher\EventDispatcher::dispatch 0 0.0% 283,799 99.7% 7 0.0% 115,901 99.4% 23 0.0% 397,464 89.3% -384 -0.1% 576,256 101.2% 0 0.0%
Symfony\Component\EventDispatcher\EventDispatcher::doDispatch 0 0.0% 283,766 99.7% 11 0.0% 115,865 99.4% 16 0.0% 397,848 89.4% -392 -0.1% 576,272 101.2% 0 0.0%
Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch 0 0.0% 283,480 99.6% 1 0.0% 115,577 99.1% 2 0.0% 397,368 89.3% -80 -0.0% 570,896 100.3% 0 0.0%
Drupal\Core\EventSubscriber\ViewSubscriber::onView 0 0.0% 277,977 97.7% -1 -0.0% 111,807 95.9% -459 -0.4% 184,624 41.5% -32,768 -7.4% 166,896 29.3% -55,936 -9.8%
Drupal\Core\EventSubscriber\ViewSubscriber::onHtml 0 0.0% 277,977 97.7% -1 -0.0% 112,265 96.3% -1 -0.0% 217,392 48.8% -296 -0.1% 222,832 39.1% 0 0.0%
drupal_render_page 0 0.0% 277,959 97.7% 15 0.0% 112,249 96.3% 12 0.0% 217,712 48.9% 40 0.0% 222,776 39.1% 0 0.0%
drupal_render 0 0.0% 277,005 97.4% 0 0.0% 112,998 96.9% -4 -0.0% 219,856 49.4% -48 -0.0% 224,936 39.5% 0 0.0%
theme@1 0 0.0% 276,690 97.3% 468 0.2% 112,652 96.6% 311 0.3% 215,480 48.4% -36,392 -8.2% 207,568 36.5% -1,648 -0.3%
theme_render_template 0 0.0% 276,666 97.2% -6 -0.0% 112,622 96.6% 2 0.0% 191,472 43.0% 0 0.0% 197,112 34.6% 0 0.0%
run_init::templates/page.tpl.php 0 0.0% 276,641 97.2% 109 0.0% 112,595 96.6% 96 0.1% 191,496 43.0% -23,992 -5.4% 197,128 34.6% 0 0.0%
_drupal_error_handler 150 0.7% 276,464 97.2% 1,258 0.4% 112,460 96.4% 1,246 1.1% 347,808 78.1% -86,496 -19.4% 273,696 48.1% 128 0.0%
theme 0 0.0% 275,671 96.9% 23 0.0% 112,159 96.2% 15 0.0% 121,928 27.4% -4,392 -1.0% 115,512 20.3% 2,512 0.4%
theme_link 0 0.0% 275,322 96.8% 1,029 0.4% 111,226 95.4% 852 0.7% 249,776 56.1% -90,728 -20.4% 272,904 47.9% -192 -0.0%
_drupal_error_handler_real 150 0.7% 275,206 96.7% 5,027 1.8% 111,214 95.4% 4,331 3.7% 434,304 97.6% -6,288,312 -1412.9% 273,568 48.1% 1,768 0.3%
_drupal_log_error 150 0.7% 253,548 89.1% 3,459 1.2% 89,562 76.8% 2,455 2.1% 168,000 37.7% -27,816 -6.2% 85,912 15.1% 480 0.1%
watchdog 150 0.7% 227,230 79.9% 3,895 1.4% 63,512 54.5% 3,105 2.7% 76,216 17.1% -91,616 -20.6% 66,872 11.7% 1,152 0.2%
dblog_watchdog 150 0.7% 207,358 72.9% 4,298 1.5% 43,722 37.5% 3,425 2.9% 59,976 13.5% -408,992 -91.9% 59,816 10.5% 1,568 0.3%
Drupal\Core\Database\Driver\mysql\Insert::execute 151 0.7% 198,997 69.9% 3,198 1.1% 32,834 28.2% 2,902 2.5% -280,736 -63.1% -379,472 -85.3% 179,096 31.5% 3,240 0.6%
Drupal\Core\Database\Connection::query 153 0.7% 190,595 67.0% 4,213 1.5% 23,301 20.0% 3,614 3.1% 23,896 5.4% -965,704 -217.0% 160,648 28.2% 1,144 0.2%
Drupal\Core\Database\Statement::execute 153 0.7% 181,436 63.8% 2,750 1.0% 14,123 12.1% 2,094 1.8% 648,672 145.8% 0 0.0% 156,032 27.4% 0 0.0%
PDOStatement::execute 153 0.7% 178,616 62.8% 178,616 62.8% 11,407 9.8% 11,407 9.8% 648,672 145.8% 648,672 145.8% 156,032 27.4% 156,032 27.4%
Drupal\Core\Template\Attribute::__construct 0 0.0% 90,698 31.9% 245 0.1% 37,406 32.1% 228 0.2% 38,048 8.5% -29,712 -6.7% 49,264 8.7% -256 -0.0%
_drupal_get_error_level 300 1.3% 11,429 4.0% 1,328 0.5% 11,382 9.8% 1,106 0.9% 7,944 1.8% 2,256 0.5% 18,064 3.2% 336 0.1%
filter_xss_admin 150 0.7% 10,491 3.7% 1,649 0.6% 10,603 9.1% 1,675 1.4% 19,584 4.4% 784 0.2% 110,904 19.5% 7,224 1.3%
filter_xss 150 0.7% 8,842 3.1% 3,029 1.1% 8,928 7.7% 2,098 1.8% 18,800 4.2% -166,400 -37.4% 103,680 18.2% 40 0.0%
format_string 150 0.7% 8,808 3.1% 425 0.1% 8,929 7.7% 431 0.4% 56,640 12.7% 776 0.2% 752 0.1% 0 0.0%
devel_watchdog 150 0.7% 8,608 3.0% 3,498 1.2% 8,705 7.5% 2,941 2.5% 8,432 1.9% -75,208 -16.9% 4,824 0.8% 1,504 0.3%
Drupal\Component\Utility\String::format 150 0.7% 8,383 2.9% 2,675 0.9% 8,499 7.3% 2,124 1.8% 55,864 12.6% -75,312 -16.9% 752 0.1% 512 0.1%
error_displayable 150 0.7% 7,718 2.7% 826 0.3% 7,518 6.4% 705 0.6% 16,544 3.7% 8,616 1.9% 18,064 3.2% 0 0.0%
Drupal::config 300 1.3% 7,272 2.6% 1,467 0.5% 7,515 6.4% 1,265 1.1% 4,440 1.0% 1,424 0.3% 2,648 0.5% 992 0.2%
l -50 -0.2% -5,751 -2.0% -938 -0.3% -6,264 -5.4% -715 -0.6% 96,864 21.8% 25,832 5.8% 99,840 17.5% 264 0.0%
Symfony\Component\HttpKernel\HttpKernel::filterResponse 0 0.0% 5,104 1.8% -1 -0.0% 2,188 1.9% 2 0.0% 104,664 23.5% 0 0.0% 329,544 57.9% 0 0.0%
Drupal\Core\EventSubscriber\FinishResponseSubscriber::onRespond 0 0.0% 5,102 1.8% 9 0.0% 2,186 1.9% 15 0.0% 104,664 23.5% -16 -0.0% 327,736 57.6% 1,584 0.3%
drupal_session_commit 0 0.0% 5,039 1.8% 12 0.0% 2,123 1.8% 5 0.0% 104,664 23.5% 576 0.1% 321,224 56.4% 720 0.1%
session_write_close 1 0.0% 4,903 1.7% 190 0.1% 1,990 1.7% 189 0.2% 90,496 20.3% 1,264 0.3% 310,064 54.5% 84,512 14.8%
Drupal\Core\Database\Driver\mysql\Insert::__toString 151 0.7% 4,889 1.7% 3,938 1.4% 5,026 4.3% 2,921 2.5% 74,168 16.7% -462,624 -103.9% 10,504 1.8% 5,640 1.0%
_drupal_session_write 1 0.0% 4,710 1.7% 58 0.0% 1,797 1.5% 46 0.0% 88,400 19.9% -3,416 -0.8% 225,552 39.6% 3,328 0.6%
Drupal\Component\Utility\String::placeholder 750 3.3% 4,600 1.6% 2,089 0.7% 5,139 4.4% 2,082 1.8% 84,776 19.0% -66,056 -14.8% 0 0.0% 0 0.0%
Drupal\Core\Database\Query\Merge::execute 1 0.0% 4,344 1.5% 78 0.0% 1,430 1.2% 64 0.1% 23,184 5.2% -8,304 -1.9% 178,184 31.3% 2,872 0.5%
Drupal\Core\Database\Connection::insert 151 0.7% 4,207 1.5% 978 0.3% 4,339 3.7% 906 0.8% 151,664 34.1% 42,776 9.6% 25,304 4.4% 952 0.2%
module_implements 150 0.7% 4,161 1.5% 971 0.3% 4,264 3.7% 714 0.6% 83,536 18.8% 736 0.2% 688 0.1% 576 0.1%
strtr 300 1.3% 3,987 1.4% 3,987 1.4% 4,273 3.7% 4,273 3.7% 87,160 19.6% 87,160 19.6% 152 0.0% 152 0.0%
Drupal\Core\Config\ConfigFactory::get 301 1.3% 3,895 1.4% 1,514 0.5% 4,129 3.5% 1,340 1.1% 2,208 0.5% -49,416 -11.1% 192 0.0% 240 0.0%
Drupal\Core\Config\Config::get 301 1.3% 3,327 1.2% 1,740 0.6% 2,353 2.0% 1,500 1.3% 2,040 0.5% -99,544 -22.4% -4,912 -0.9% -904 -0.2%
Symfony\Component\DependencyInjection\Container::get 450 2.0% 3,199 1.1% 2,018 0.7% 3,211 2.8% 2,266 1.9% 48,352 10.9% -12,912 -2.9% 36,776 6.5% -688 -0.1%
debug_backtrace 150 0.7% 3,070 1.1% 3,070 1.1% 3,199 2.7% 3,199 2.7% 5,330,520 1197.7% 5,330,520 1197.7% 40,680 7.1% 40,680 7.1%
Drupal\Core\Database\Connection::prepareQuery 153 0.7% 3,006 1.1% 702 0.2% 3,150 2.7% 601 0.5% 219,040 49.2% -60,568 -13.6% 2,576 0.5% 8 0.0%
Drupal\Core\Database\Query\Insert::__construct 151 0.7% 2,861 1.0% 603 0.2% 2,967 2.5% 602 0.5% 76,896 17.3% 54,320 12.2% 1,472 0.3% 824 0.1%
_filter_xss_split 150 0.7% 2,851 1.0% 1,641 0.6% 2,985 2.6% 1,665 1.4% 0 0.0% -1,761,136 -395.7% 103,224 18.1% 82,368 14.5%
Drupal\Component\Utility\String::checkPlain 750 3.3% 2,610 0.9% 1,814 0.6% 3,180 2.7% 1,747 1.5% 150,832 33.9% -6,368 -1.4% -968 -0.2% -512 -0.1%
Drupal\Core\Database\Query\Query::__construct 153 0.7% 2,283 0.8% 1,412 0.5% 2,394 2.1% 1,129 1.0% 23,696 5.3% 9,008 2.0% 1,936 0.3% 1,552 0.3%
Drupal\Core\Database\Query\Insert::fields 151 0.7% 2,155 0.8% 1,672 0.6% 2,321 2.0% 1,295 1.1% 521,912 117.3% 58,440 13.1% 7,208 1.3% 3,352 0.6%
Drupal\Core\Extension\ModuleHandler::getImplementations 149 0.7% 2,091 0.7% 737 0.3% 2,196 1.9% 578 0.5% 83,056 18.7% 7,152 1.6% 2,600 0.5% 232 0.0%
url_is_active -54 -0.2% -2,012 -0.7% -471 -0.2% -2,061 -1.8% -380 -0.3% -7,752 -1.7% -4,584 -1.0% -2,008 -0.4% -1,304 -0.2%
_drupal_get_last_caller 150 0.7% 1,992 0.7% 1,487 0.5% 2,126 1.8% 1,308 1.1% -137,048 -30.8% -118,200 -26.6% 3,632 0.6% 1,888 0.3%
Drupal\Core\Database\Query\Insert::preExecute 151 0.7% 1,734 0.6% 1,175 0.4% 1,884 1.6% 873 0.7% 10,568 2.4% -25,992 -5.8% 3,344 0.6% 1,736 0.3%
Drupal\user\Plugin\block\block\UserLoginBlock::blockBuild 0 0.0% 1,591 0.6% 22 0.0% 1,044 0.9% 23 0.0% 99,200 22.3% 0 0.0% 98,120 17.2% 0 0.0%
class_exists 152 0.7% 1,523 0.5% 501 0.2% 1,668 1.4% 645 0.6% 177,800 40.0% 0 0.0% 151,456 26.6% -72 -0.0%
_menu_translate 0 0.0% 1,472 0.5% 26 0.0% 2,079 1.8% 73 0.1% 108,896 24.5% 0 0.0% 109,816 19.3% 0 0.0%
menu_get_custom_theme 0 0.0% 1,438 0.5% 0 0.0% 1,778 1.5% 0 0.0% 108,896 24.5% 0 0.0% 109,728 19.3% 0 0.0%
menu_set_custom_theme 0 0.0% 1,438 0.5% 0 0.0% 1,779 1.5% 1 0.0% 108,896 24.5% 0 0.0% 109,728 19.3% 0 0.0%
Drupal\Core\EventSubscriber\LegacyRequestSubscriber::onKernelRequestLegacy 0 0.0% 1,432 0.5% -2 -0.0% 1,838 1.6% 0 0.0% 108,936 24.5% 0 0.0% 109,600 19.3% 0 0.0%
drupal_render@1 0 0.0% 1,405 0.5% 8 0.0% 1,469 1.3% -2 -0.0% 31,672 7.1% 0 0.0% -39,776 -7.0% -5,352 -0.9%
drupal_set_message 150 0.7% 1,404 0.5% 678 0.2% 1,525 1.3% 661 0.6% 19,320 4.3% 17,160 3.9% 0 0.0% 0 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKey 301 1.3% 1,383 0.5% 1,192 0.4% 1,584 1.4% 1,136 1.0% 36,120 8.1% 36,120 8.1% 48 0.0% 48 0.0%
Drupal\Core\Entity\EntityManager::getControllerClass 0 0.0% 1,354 0.5% 7 0.0% 1,236 1.1% 12 0.0% 100,984 22.7% 0 0.0% 102,152 17.9% 0 0.0%
drupal_render@2 0 0.0% 1,336 0.5% 11 0.0% 1,406 1.2% 8 0.0% 31,680 7.1% 0 0.0% -20,920 -3.7% -2,000 -0.4%
Symfony\Component\ClassLoader\ClassLoader::loadClass 2 0.0% 1,329 0.5% 144 0.1% 1,377 1.2% 89 0.1% 225,712 50.7% -7,744 -1.7% 186,896 32.8% -5,480 -1.0%
_menu_load_objects 0 0.0% 1,329 0.5% 13 0.0% 1,550 1.3% 22 0.0% 79,952 18.0% 0 0.0% 80,808 14.2% 0 0.0%
PDO::prepare 153 0.7% 1,318 0.5% 653 0.2% 1,419 1.2% 621 0.5% 211,696 47.6% 204,352 45.9% 376 0.1% 496 0.1%
menu_get_item 0 0.0% 1,317 0.5% 43 0.0% 1,744 1.5% -14 -0.0% 108,896 24.5% 0 0.0% 110,472 19.4% 512 0.1%
Drupal\system\Plugin\block\block\SystemPoweredByBlock::blockBuild 0 0.0% -1,316 -0.5% 0 0.0% -822 -0.7% 0 0.0% -97,976 -22.0% 0 0.0% -108,384 -19.0% 1,040 0.2%
Drupal::request 152 0.7% 1,291 0.5% 503 0.2% 1,379 1.2% 459 0.4% 1,520 0.3% 1,544 0.3% 680 0.1% 512 0.1%
node_load 0 0.0% 1,276 0.4% 6 0.0% 1,491 1.3% 6 0.0% 79,952 18.0% 0 0.0% 80,784 14.2% 0 0.0%
Drupal\Core\Config\CachedStorage::read 1 0.0% 1,257 0.4% 3 0.0% 89 0.1% -4 -0.0% 432 0.1% -1,856 -0.4% -1,160 -0.2% 0 0.0%
Drupal\Core\Config\Config::load 1 0.0% 1,254 0.4% 22 0.0% 78 0.1% 6 0.0% 392 0.1% 48 0.0% -1,112 -0.2% 48 0.0%
Drupal\Core\Database\Connection::expandArguments 153 0.7% 1,243 0.4% 615 0.2% 1,356 1.2% 600 0.5% -8 -0.0% -14,368 -3.2% 1,792 0.3% 1,912 0.3%
array_flip 150 0.7% 1,213 0.4% 1,213 0.4% 1,342 1.2% 1,342 1.2% 1,761,120 395.7% 1,761,120 395.7% 21,024 3.7% 21,024 3.7%
Drupal\Core\Extension\CachedModuleHandler::getImplementationInfo 149 0.7% 1,194 0.4% 925 0.3% 1,342 1.2% 918 0.8% 392 0.1% 0 0.0% 2,120 0.4% 184 0.0%
function_exists 900 4.0% 1,193 0.4% 1,193 0.4% 1,819 1.6% 1,819 1.6% 3,848 0.9% 3,848 0.9% 1,648 0.3% 1,648 0.3%
drupal_validate_utf8 150 0.7% 1,160 0.4% 719 0.3% 1,264 1.1% 527 0.5% 7,200 1.6% 7,200 1.6% 416 0.1% 224 0.0%
current_path -50 -0.2% -1,072 -0.4% -426 -0.1% -1,111 -1.0% -321 -0.3% -8 -0.0% 2,392 0.5% 232 0.0% 88 0.0%
Symfony\Component\HttpFoundation\Request::getClientIp 152 0.7% 1,061 0.4% 419 0.1% 1,200 1.0% 451 0.4% 1,624 0.4% 1,624 0.4% 800 0.1% 608 0.1%
_block_get_renderable_region 0 0.0% 1,058 0.4% 1 0.0% 800 0.7% 3 0.0% 1,136 0.3% 0 0.0% 1,120 0.2% 104 0.0%
Drupal\Core\Database\Connection::prefixTables 153 0.7% 986 0.3% 489 0.2% 1,130 1.0% 497 0.4% 67,912 15.3% -195,224 -43.9% 2,192 0.4% 0 0.0%
Drupal\Core\Config\ConfigFactory::getContext 301 1.3% 978 0.3% 815 0.3% 1,176 1.0% 787 0.7% 14,448 3.2% 14,448 3.2% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::boot 0 0.0% 904 0.3% 1 0.0% 474 0.4% 2 0.0% 46,752 10.5% 0 0.0% 45,312 8.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeContainer 0 0.0% 903 0.3% -5 -0.0% 472 0.4% 5 0.0% 46,752 10.5% -16 -0.0% 45,312 8.0% 0 0.0%
entity_load 0 0.0% 903 0.3% 5 0.0% 1,541 1.3% -1 -0.0% 79,368 17.8% 0 0.0% 80,048 14.1% 0 0.0%
entity_load_multiple 0 0.0% 897 0.3% 15 0.0% 1,542 1.3% 15 0.0% 79,368 17.8% 0 0.0% 80,048 14.1% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController 0 0.0% 875 0.3% 15 0.0% 750 0.6% 11 0.0% 70,440 15.8% -88 -0.0% 70,696 12.4% -88 -0.0%
decode_entities 150 0.7% 874 0.3% 585 0.2% 992 0.9% 580 0.5% 39,472 8.9% 8,296 1.9% 1,280 0.2% 688 0.1%
[ display all ]