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 Excl. CPU (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%
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_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%
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\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%
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%
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%
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%
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\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\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_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%
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%
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%
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%
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%
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%
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\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%
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_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\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%
htmlspecialchars 750 3.3% 796 0.3% 796 0.3% 1,433 1.2% 1,433 1.2% 157,200 35.3% 157,200 35.3% -456 -0.1% -456 -0.1%
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\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_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::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::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%
_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%
count 1,059 4.7% 142 0.0% 131 0.0% 1,185 1.0% 1,178 1.0% 2,384 0.5% 2,240 0.5% 1,752 0.3% 1,704 0.3%
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\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%
preg_replace 607 2.7% 731 0.3% 731 0.3% 1,118 1.0% 1,118 1.0% 105,144 23.6% 105,144 23.6% 160 0.0% 160 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%
str_replace 461 2.1% 744 0.3% 744 0.3% 1,096 0.9% 1,096 0.9% 307,016 69.0% 307,016 69.0% 1,696 0.3% 1,696 0.3%
drupal_error_levels 150 0.7% 807 0.3% 807 0.3% 922 0.8% 922 0.8% 1,338,928 300.8% 1,338,928 300.8% 5,720 1.0% 5,720 1.0%
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%
substr 759 3.4% 250 0.1% 250 0.1% 913 0.8% 913 0.8% 41,088 9.2% 41,088 9.2% 952 0.2% 952 0.2%
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%
preg_replace_callback 150 0.7% 789 0.3% 787 0.3% 899 0.8% 898 0.8% 26,000 5.8% 26,000 5.8% -1,584 -0.3% -352 -0.1%
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%
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%
implode 460 2.0% 415 0.1% 415 0.1% 825 0.7% 825 0.7% 151,888 34.1% 151,888 34.1% 1,736 0.3% 1,736 0.3%
uniqid 153 0.7% 687 0.2% 687 0.2% 823 0.7% 823 0.7% 14,688 3.3% 14,688 3.3% 384 0.1% 384 0.1%
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%
array_filter 153 0.7% 592 0.2% 649 0.2% 651 0.6% 763 0.7% 13,648 3.1% 13,632 3.1% -200 -0.0% -216 -0.0%
PDO::lastInsertId 151 0.7% 544 0.2% 544 0.2% 756 0.6% 756 0.6% 5,632 1.3% 5,632 1.3% 0 0.0% 0 0.0%
strtolower 450 2.0% 599 0.2% 599 0.2% 733 0.6% 733 0.6% 14,504 3.3% 14,504 3.3% -408 -0.1% -408 -0.1%
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%
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%
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%
array_intersect 151 0.7% 510 0.2% 510 0.2% 667 0.6% 667 0.6% 35,768 8.0% 35,768 8.0% 1,048 0.2% 1,048 0.2%
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%
load::node/NodeStorageController.php 0 0.0% 651 0.2% 651 0.2% 653 0.6% 653 0.6% 72,824 16.4% 72,824 16.4% 54,392 9.6% 54,392 9.6%
array_keys 303 1.3% 337 0.1% 337 0.1% 650 0.6% 650 0.6% 367,504 82.6% 367,504 82.6% 1,120 0.2% 1,120 0.2%
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%
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%
serialize 150 0.7% 507 0.2% 507 0.2% 605 0.5% 605 0.5% 57,568 12.9% 57,568 12.9% 992 0.2% 992 0.2%
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%
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\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%
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%
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%
Drupal\Core\Database\Statement::__construct 153 0.7% 665 0.2% 506 0.2% 798 0.7% 575 0.5% 7,344 1.7% 7,344 1.7% -120 -0.0% -120 -0.0%
preg_match 150 0.7% 403 0.1% 403 0.1% 552 0.5% 552 0.5% 0 0.0% 0 0.0% 192 0.0% 192 0.0%
request_uri 150 0.7% 648 0.2% 493 0.2% 742 0.6% 529 0.5% 12,760 2.9% 7,960 1.8% 0 0.0% 0 0.0%
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%
drupal_get_http_header 0 0.0% 4 0.0% 4 0.0% 521 0.4% 517 0.4% 32,768 7.4% 32,768 7.4% 65,168 11.4% 65,168 11.4%
explode 301 1.3% 312 0.1% 312 0.1% 500 0.4% 500 0.4% 101,112 22.7% 101,112 22.7% -144 -0.0% -144 -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\Database\Database::getConnection 151 0.7% 739 0.3% 354 0.1% 486 0.4% 468 0.4% 1,600 0.4% 1,592 0.4% 800 0.1% 768 0.1%
in_array 300 1.3% 341 0.1% 341 0.1% 462 0.4% 462 0.4% 776 0.2% 776 0.2% -384 -0.1% -384 -0.1%
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%
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%
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%
Drupal\Core\Config\Context\ConfigContext::getUuid 301 1.3% 191 0.1% 191 0.1% 448 0.4% 448 0.4% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
drupal_page_is_cacheable 150 0.7% 726 0.3% 383 0.1% 864 0.7% 442 0.4% 2,160 0.5% 1,152 0.3% 0 0.0% 0 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%
PDOStatement::setFetchMode 306 1.4% 161 0.1% 161 0.1% 430 0.4% 430 0.4% 0 0.0% 0 0.0% -24 -0.0% -24 -0.0%
html_entity_decode 150 0.7% 289 0.1% 289 0.1% 412 0.4% 412 0.4% 31,176 7.0% 31,176 7.0% 592 0.1% 592 0.1%
Symfony\Component\HttpFoundation\ParameterBag::get 102 0.5% 473 0.2% 326 0.1% 549 0.5% 396 0.3% 0 0.0% 0 0.0% -384 -0.1% -384 -0.1%
array_merge 151 0.7% 297 0.1% 297 0.1% 394 0.3% 394 0.3% 363,584 81.7% 363,584 81.7% 1,312 0.2% 1,312 0.2%
end 301 1.3% 163 0.1% 163 0.1% 389 0.3% 389 0.3% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
drupal_static 152 0.7% 326 0.1% 324 0.1% 405 0.3% 389 0.3% 2,064 0.5% 2,064 0.5% -4,968 -0.9% -4,968 -0.9%
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%
dfb 150 0.7% 503 0.2% 348 0.1% 608 0.5% 377 0.3% 1,864 0.4% 1,104 0.2% 1,120 0.2% 752 0.1%
strlen 300 1.3% 58 0.0% 58 0.0% 366 0.3% 366 0.3% 768 0.2% 768 0.2% 0 0.0% 0 0.0%
array_shift 151 0.7% 192 0.1% 192 0.1% 353 0.3% 353 0.3% -19,760 -4.4% -19,760 -4.4% 1,136 0.2% 1,136 0.2%
load::EventDispatcher/ContainerAwareEventDispatcher.php 0 0.0% 335 0.1% 335 0.1% 335 0.3% 335 0.3% 38,960 8.8% 38,960 8.8% 54,776 9.6% 54,776 9.6%
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\ClassLoader\ClassLoader::findFile 4 0.0% -527 -0.2% -199 -0.1% -523 -0.4% -319 -0.3% 632 0.1% -400 -0.1% -5,760 -1.0% -5,168 -0.9%
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%
Drupal\Core\Database\Connection::defaultOptions 153 0.7% 153 0.1% 153 0.1% 302 0.3% 302 0.3% 116,264 26.1% 116,264 26.1% -896 -0.2% -896 -0.2%
Drupal\Core\Database\Connection::getDriverClass 153 0.7% 635 0.2% 201 0.1% 740 0.6% 301 0.3% 78,080 17.5% 1,960 0.4% 52,008 9.1% 1,120 0.2%
drupal_is_cli 151 0.7% 172 0.1% 172 0.1% 295 0.3% 295 0.3% 8,800 2.0% 8,800 2.0% 976 0.2% 976 0.2%
load::node/NodeAccessController.php 0 0.0% 293 0.1% 293 0.1% 295 0.3% 295 0.3% 32,296 7.3% 32,296 7.3% 42,072 7.4% 42,072 7.4%
array_values 151 0.7% 164 0.1% 164 0.1% 280 0.2% 280 0.2% 168,296 37.8% 168,296 37.8% 736 0.1% 736 0.1%
drupal_container 52 0.2% 228 0.1% 170 0.1% 369 0.3% 262 0.2% 760 0.2% 760 0.2% -192 -0.0% -192 -0.0%
Drupal::service -108 -0.5% -656 -0.2% -266 -0.1% -745 -0.6% -254 -0.2% -1,536 -0.3% -1,528 -0.3% -8 -0.0% -80 -0.0%
defined 150 0.7% 161 0.1% 161 0.1% 250 0.2% 250 0.2% 776 0.2% 776 0.2% -600 -0.1% -600 -0.1%
Drupal\Core\Database\Connection::getKey 153 0.7% 162 0.1% 162 0.1% 243 0.2% 243 0.2% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
[ display all ]