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

Overall Diff Summary

Run #517c76da9b0d3Run #517c75d3de7c7DiffDiff%
Number of Function Calls39,784 58,995 19,211 48.3%
Incl. Wall Time (microsec)199,334 464,718 265,384 133.1%
Incl. CPU (microsecs)179,954 279,173 99,219 55.1%
Incl. MemUse (bytes)12,207,616 12,450,728 243,112 2.0%
Incl. PeakMemUse (bytes)12,338,448 12,691,568 353,120 2.9%

[View Regressions/Improvements using Callgraph Diff]


Top 100 Regressions/Improvements: Sorted by Calls 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%
count 1,059 5.5% 124 0.0% 110 0.0% 1,183 1.2% 1,166 1.2% 2,384 1.0% 2,240 0.9% 1,024 0.3% 976 0.3%
substr 755 3.9% 232 0.1% 232 0.1% 824 0.8% 824 0.8% 40,920 16.8% 40,920 16.8% 800 0.2% 800 0.2%
htmlspecialchars 750 3.9% 763 0.3% 763 0.3% 1,331 1.3% 1,331 1.3% 157,208 64.7% 157,208 64.7% -456 -0.1% -456 -0.1%
Drupal\Component\Utility\String::placeholder 750 3.9% 4,534 1.7% 2,085 0.8% 5,053 5.1% 2,056 2.1% 84,776 34.9% -66,072 -27.2% 0 0.0% 0 0.0%
Drupal\Component\Utility\String::checkPlain 750 3.9% 2,435 0.9% 1,672 0.6% 3,006 3.0% 1,675 1.7% 150,840 62.0% -6,368 -2.6% -1,048 -0.3% -592 -0.2%
function_exists 700 3.6% 877 0.3% 877 0.3% 1,417 1.4% 1,417 1.4% 3,856 1.6% 3,856 1.6% 1,888 0.5% 1,888 0.5%
str_replace 460 2.4% 692 0.3% 692 0.3% 1,117 1.1% 1,117 1.1% 306,768 126.2% 306,768 126.2% 2,304 0.7% 2,304 0.7%
preg_replace 456 2.4% 400 0.2% 400 0.2% 607 0.6% 607 0.6% 88,464 36.4% 88,464 36.4% -128 -0.0% -128 -0.0%
implode 410 2.1% 334 0.1% 334 0.1% 697 0.7% 697 0.7% 147,088 60.5% 147,088 60.5% 1,728 0.5% 1,728 0.5%
Symfony\Component\DependencyInjection\Container::get 400 2.1% 2,252 0.8% 1,710 0.6% 2,676 2.7% 1,918 1.9% 824 0.3% -12,104 -5.0% -9,192 -2.6% -1,616 -0.5%
strtolower 400 2.1% 499 0.2% 499 0.2% 561 0.6% 561 0.6% 12,896 5.3% 12,896 5.3% -600 -0.2% -600 -0.2%
PDOStatement::setFetchMode 306 1.6% 157 0.1% 157 0.1% 413 0.4% 413 0.4% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
array_keys 303 1.6% 352 0.1% 352 0.1% 581 0.6% 581 0.6% 367,496 151.2% 367,496 151.2% 2,144 0.6% 2,144 0.6%
Drupal\Core\Config\ConfigFactory::get 301 1.6% 3,937 1.5% 1,550 0.6% 4,185 4.2% 1,346 1.4% 2,208 0.9% -49,416 -20.3% 0 0.0% 240 0.1%
end 301 1.6% 178 0.1% 178 0.1% 407 0.4% 407 0.4% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Config\ConfigFactory::getContext 301 1.6% 977 0.4% 799 0.3% 1,178 1.2% 771 0.8% 14,448 5.9% 14,448 5.9% 0 0.0% 0 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKey 301 1.6% 1,354 0.5% 1,131 0.4% 1,594 1.6% 1,151 1.2% 36,120 14.9% 36,120 14.9% 48 0.0% 48 0.0%
Drupal\Core\Config\Context\ConfigContext::getUuid 301 1.6% 223 0.1% 223 0.1% 443 0.4% 443 0.4% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Config\Config::get 301 1.6% 2,904 1.1% 1,695 0.6% 2,473 2.5% 1,415 1.4% 2,032 0.8% -99,560 -41.0% -2,560 -0.7% -720 -0.2%
Drupal::config 300 1.6% 7,009 2.6% 1,418 0.5% 7,254 7.3% 1,197 1.2% 4,440 1.8% 1,424 0.6% 2,576 0.7% 992 0.3%
_drupal_get_error_level 300 1.6% 10,960 4.1% 1,268 0.5% 10,900 11.0% 1,035 1.0% 7,944 3.3% 2,256 0.9% 18,144 5.1% 336 0.1%
in_array 300 1.6% 305 0.1% 305 0.1% 471 0.5% 471 0.5% 776 0.3% 776 0.3% -384 -0.1% -384 -0.1%
explode 300 1.6% 318 0.1% 318 0.1% 509 0.5% 509 0.5% 100,104 41.2% 100,104 41.2% 384 0.1% 384 0.1%
strlen 299 1.6% 18 0.0% 18 0.0% 333 0.3% 333 0.3% 768 0.3% 768 0.3% 0 0.0% 0 0.0%
is_object -200 -1.0% 1 0.0% 1 0.0% -216 -0.2% -216 -0.2% 0 0.0% 0 0.0% -752 -0.2% -752 -0.2%
strtr 199 1.0% 3,750 1.4% 3,750 1.4% 3,908 3.9% 3,908 3.9% 79,096 32.5% 79,096 32.5% -256 -0.1% -256 -0.1%
is_string 154 0.8% 11 0.0% 11 0.0% -278 -0.3% -278 -0.3% -32,768 -13.5% -32,768 -13.5% -45,880 -13.0% -45,880 -13.0%
Drupal\Core\Database\Connection::getTarget 153 0.8% 34 0.0% 34 0.0% 211 0.2% 211 0.2% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Database\Query\Query::__construct 153 0.8% 2,118 0.8% 1,286 0.5% 2,240 2.3% 1,017 1.0% 23,696 9.7% 9,008 3.7% 1,640 0.5% 1,352 0.4%
Drupal\Core\Database\Connection::getKey 153 0.8% 151 0.1% 151 0.1% 214 0.2% 214 0.2% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Database\Connection::getDriverClass 153 0.8% 523 0.2% 179 0.1% 660 0.7% 309 0.3% 78,040 32.1% 1,960 0.8% 51,488 14.6% 752 0.2%
Drupal\Core\Database\Connection::expandArguments 153 0.8% 1,264 0.5% 588 0.2% 1,371 1.4% 624 0.6% 8 0.0% -14,352 -5.9% 2,984 0.8% 2,816 0.8%
PDOStatement::execute 153 0.8% 176,730 66.6% 176,730 66.6% 10,782 10.9% 10,782 10.9% 648,576 266.8% 648,576 266.8% 156,576 44.3% 156,576 44.3%
Drupal\Core\Database\Statement::execute 153 0.8% 179,426 67.6% 2,632 1.0% 13,382 13.5% 2,064 2.1% 648,576 266.8% 0 0.0% 156,576 44.3% 0 0.0%
Drupal\Core\Database\Connection::query 153 0.8% 188,419 71.0% 4,153 1.6% 22,420 22.6% 3,557 3.6% 23,792 9.8% -965,744 -397.2% 163,536 46.3% 1,768 0.5%
uniqid 153 0.8% 648 0.2% 648 0.2% 799 0.8% 799 0.8% 14,688 6.0% 14,688 6.0% 288 0.1% 288 0.1%
Drupal\Core\Database\Connection::getLogger 153 0.8% 50 0.0% 50 0.0% 199 0.2% 199 0.2% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Database\Connection::prepareQuery 153 0.8% 2,923 1.1% 655 0.2% 3,073 3.1% 602 0.6% 219,040 90.1% -60,568 -24.9% 2,736 0.8% 40 0.0%
Drupal\Core\Database\Connection::prefixTables 153 0.8% 965 0.4% 478 0.2% 1,055 1.1% 412 0.4% 67,912 27.9% -195,208 -80.3% 2,256 0.6% 0 0.0%
Drupal\Core\Database\Statement::__construct 153 0.8% 660 0.2% 507 0.2% 779 0.8% 529 0.5% 7,344 3.0% 7,344 3.0% -56 -0.0% -56 -0.0%
PDO::prepare 153 0.8% 1,303 0.5% 643 0.2% 1,416 1.4% 637 0.6% 211,696 87.1% 204,352 84.1% 440 0.1% 496 0.1%
Drupal\Core\Database\Connection::defaultOptions 153 0.8% 148 0.1% 148 0.1% 323 0.3% 323 0.3% 116,280 47.8% 116,280 47.8% -528 -0.1% -528 -0.1%
array_filter 153 0.8% 574 0.2% 637 0.2% 685 0.7% 745 0.8% 13,648 5.6% 13,632 5.6% -32 -0.0% -128 -0.0%
Drupal::request 152 0.8% 1,262 0.5% 476 0.2% 1,360 1.4% 457 0.5% 1,544 0.6% 1,544 0.6% 704 0.2% 512 0.1%
Symfony\Component\HttpFoundation\Request::getClientIp 152 0.8% 1,062 0.4% 441 0.2% 1,186 1.2% 463 0.5% 1,624 0.7% 1,624 0.7% 696 0.2% 504 0.1%
drupal_static 152 0.8% 306 0.1% 307 0.1% 346 0.3% 339 0.3% 2,072 0.9% 2,072 0.9% 544 0.2% 544 0.2%
Drupal\Core\Database\Connection::makeComment 152 0.8% 152 0.1% 152 0.1% 230 0.2% 230 0.2% 8,136 3.3% 8,136 3.3% 416 0.1% 416 0.1%
array_intersect 151 0.8% 491 0.2% 491 0.2% 634 0.6% 634 0.6% 35,768 14.7% 35,768 14.7% 504 0.1% 504 0.1%
Drupal\Core\Database\Query\Insert::fields 151 0.8% 2,126 0.8% 1,672 0.6% 2,268 2.3% 1,285 1.3% 521,936 214.7% 58,440 24.0% 7,872 2.2% 3,256 0.9%
Drupal\Core\Database\Connection::insert 151 0.8% 3,961 1.5% 932 0.4% 4,089 4.1% 827 0.8% 151,664 62.4% 42,776 17.6% 24,256 6.9% 688 0.2%
Drupal\Core\Database\Query\Insert::__construct 151 0.8% 2,686 1.0% 599 0.2% 2,787 2.8% 582 0.6% 76,896 31.6% 54,320 22.3% 960 0.3% 608 0.2%
Drupal\Core\Database\Query\Insert::preExecute 151 0.8% 1,691 0.6% 1,149 0.4% 1,841 1.9% 873 0.9% 10,568 4.3% -25,992 -10.7% 1,528 0.4% 752 0.2%
array_pad 151 0.8% 87 0.0% 87 0.0% 212 0.2% 212 0.2% 14,096 5.8% 14,096 5.8% 560 0.2% 560 0.2%
Drupal\Core\Database\Driver\mysql\Insert::execute 151 0.8% 195,608 73.7% 3,069 1.2% 31,293 31.5% 2,775 2.8% -280,752 -115.5% -379,488 -156.1% 178,024 50.4% 2,952 0.8%
PDO::lastInsertId 151 0.8% 505 0.2% 505 0.2% 714 0.7% 714 0.7% 5,632 2.3% 5,632 2.3% 0 0.0% 0 0.0%
Drupal\Core\Database\Driver\mysql\Insert::__toString 151 0.8% 4,778 1.8% 3,849 1.5% 4,906 4.9% 2,844 2.9% 74,168 30.5% -462,624 -190.3% 11,064 3.1% 5,800 1.6%
class_exists 151 0.8% 716 0.3% 471 0.2% 882 0.9% 626 0.6% 76,808 31.6% 0 0.0% 49,880 14.1% 208 0.1%
key 151 0.8% 113 0.0% 113 0.0% 207 0.2% 207 0.2% 5,616 2.3% 5,616 2.3% 280 0.1% 280 0.1%
is_numeric 151 0.8% -3 -0.0% -3 -0.0% 155 0.2% 155 0.2% 808 0.3% 808 0.3% 520 0.1% 520 0.1%
Drupal\Core\Database\Database::getConnection 151 0.8% 303 0.1% 331 0.1% 478 0.5% 462 0.5% 1,592 0.7% 1,592 0.7% 528 0.1% 528 0.1%
array_merge 151 0.8% 298 0.1% 298 0.1% 390 0.4% 390 0.4% 363,584 149.6% 363,584 149.6% 1,752 0.5% 1,752 0.5%
array_values 151 0.8% 155 0.1% 155 0.1% 278 0.3% 278 0.3% 168,296 69.2% 168,296 69.2% 1,504 0.4% 1,504 0.4%
drupal_is_cli 151 0.8% 180 0.1% 180 0.1% 312 0.3% 312 0.3% 8,800 3.6% 8,800 3.6% 976 0.3% 976 0.3%
array_shift 151 0.8% 172 0.1% 172 0.1% 324 0.3% 324 0.3% -19,760 -8.1% -19,760 -8.1% 1,424 0.4% 1,424 0.4%
drupal_set_message 150 0.8% 1,322 0.5% 644 0.2% 1,419 1.4% 601 0.6% 19,320 7.9% 17,160 7.1% 0 0.0% 0 0.0%
html_entity_decode 150 0.8% 260 0.1% 260 0.1% 373 0.4% 373 0.4% 31,176 12.8% 31,176 12.8% 592 0.2% 592 0.2%
debug_backtrace 150 0.8% 2,974 1.1% 2,974 1.1% 3,099 3.1% 3,099 3.1% 5,338,200 2195.8% 5,338,200 2195.8% 42,144 11.9% 42,144 11.9%
_drupal_get_last_caller 150 0.8% 1,941 0.7% 1,467 0.6% 2,072 2.1% 1,286 1.3% -137,048 -56.4% -118,200 -48.6% 3,736 1.1% 1,888 0.5%
decode_entities 150 0.8% 689 0.3% 429 0.2% 828 0.8% 455 0.5% 39,472 16.2% 8,296 3.4% 1,280 0.4% 688 0.2%
drupal_error_levels 150 0.8% 795 0.3% 795 0.3% 911 0.9% 911 0.9% 1,338,928 550.7% 1,338,928 550.7% 7,568 2.1% 7,568 2.1%
error_displayable 150 0.8% 7,361 2.8% 773 0.3% 7,196 7.3% 701 0.7% 16,544 6.8% 8,616 3.5% 18,144 5.1% 0 0.0%
twig_render_var -150 -0.8% -733 -0.3% -651 -0.2% -869 -0.9% -570 -0.6% -3,208 -1.3% -816 -0.3% -1,752 -0.5% -912 -0.3%
defined 150 0.8% 156 0.1% 156 0.1% 240 0.2% 240 0.2% 768 0.3% 768 0.3% -600 -0.2% -600 -0.2%
_drupal_error_handler 150 0.8% 270,551 101.9% 1,202 0.5% 108,689 109.5% 1,199 1.2% 353,888 145.6% -88,096 -36.2% 279,176 79.1% 128 0.0%
Drupal\Core\Template\TwigTemplate::getContextReference -150 -0.8% -189 -0.1% -177 -0.1% -338 -0.3% -327 -0.3% -1,760 -0.7% -1,760 -0.7% -1,344 -0.4% -1,544 -0.4%
preg_match 150 0.8% 386 0.1% 386 0.1% 524 0.5% 524 0.5% 0 0.0% 0 0.0% -264 -0.1% -264 -0.1%
module_implements 150 0.8% 3,967 1.5% 914 0.3% 4,083 4.1% 657 0.7% 83,568 34.4% 768 0.3% 0 0.0% 0 0.0%
request_uri 150 0.8% 620 0.2% 468 0.2% 706 0.7% 487 0.5% 12,760 5.2% 7,960 3.3% 0 0.0% 0 0.0%
ltrim 150 0.8% 152 0.1% 152 0.1% 221 0.2% 221 0.2% 4,800 2.0% 4,800 2.0% 0 0.0% 0 0.0%
_drupal_error_handler_real 150 0.8% 269,349 101.5% 4,786 1.8% 107,490 108.3% 4,107 4.1% 441,984 181.8% -6,288,312 -2586.6% 279,048 79.0% 1,768 0.5%
_drupal_log_error 150 0.8% 247,693 93.3% 3,428 1.3% 85,834 86.5% 2,406 2.4% 168,000 69.1% -27,816 -11.4% 82,744 23.4% 480 0.1%
error_reporting 150 0.8% 142 0.1% 142 0.1% 221 0.2% 221 0.2% 784 0.3% 784 0.3% 424 0.1% 424 0.1%
watchdog 150 0.8% 222,215 83.7% 3,798 1.4% 60,624 61.1% 3,050 3.1% 76,216 31.4% -91,616 -37.7% 63,624 18.0% 576 0.2%
devel_watchdog 150 0.8% 8,063 3.0% 3,328 1.3% 8,169 8.2% 2,782 2.8% 8,432 3.5% -75,208 -30.9% 4,888 1.4% 1,496 0.4%
format_string 150 0.8% 8,606 3.2% 383 0.1% 8,721 8.8% 383 0.4% 56,640 23.3% 776 0.3% 752 0.2% 0 0.0%
array_flip 150 0.8% 1,173 0.4% 1,173 0.4% 1,286 1.3% 1,286 1.3% 1,858,856 764.6% 1,858,856 764.6% 30,776 8.7% 30,776 8.7%
drupal_page_is_cacheable 150 0.8% 678 0.3% 364 0.1% 818 0.8% 452 0.5% 2,160 0.9% 1,152 0.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\String::format 150 0.8% 8,221 3.1% 2,610 1.0% 8,334 8.4% 2,094 2.1% 55,864 23.0% -75,312 -31.0% 752 0.2% 512 0.1%
dfb 150 0.8% 500 0.2% 343 0.1% 588 0.6% 349 0.4% 1,864 0.8% 1,104 0.5% 1,168 0.3% 752 0.2%
dblog_watchdog 150 0.8% 203,222 76.6% 4,201 1.6% 41,689 42.0% 3,366 3.4% 59,976 24.7% -409,000 -168.2% 58,160 16.5% 1,336 0.4%
_filter_xss_split 150 0.8% 2,933 1.1% 1,763 0.7% 3,059 3.1% 1,777 1.8% 8 0.0% -1,858,832 -764.6% 111,432 31.6% 80,736 22.9%
chr 150 0.8% 63 0.0% 63 0.0% 194 0.2% 194 0.2% 4,800 2.0% 4,800 2.0% 0 0.0% 0 0.0%
preg_replace_callback 150 0.8% 772 0.3% 768 0.3% 895 0.9% 894 0.9% 26,000 10.7% 26,000 10.7% -3,872 -1.1% -1,240 -0.4%
filter_xss 150 0.8% 8,823 3.3% 3,024 1.1% 8,932 9.0% 2,075 2.1% 18,808 7.7% -166,408 -68.4% 111,944 31.7% 56 0.0%
filter_xss_admin 150 0.8% 10,845 4.1% 2,022 0.8% 10,973 11.1% 2,041 2.1% 19,592 8.1% 784 0.3% 122,576 34.7% 10,632 3.0%
drupal_validate_utf8 150 0.8% 1,124 0.4% 721 0.3% 1,230 1.2% 538 0.5% 7,200 3.0% 7,200 3.0% 416 0.1% 224 0.1%
is_scalar -150 -0.8% -11 -0.0% -11 -0.0% -152 -0.2% -152 -0.2% 0 0.0% 0 0.0% -40 -0.0% -40 -0.0%
Drupal\Core\Template\Attribute::__clone -150 -0.8% -526 -0.2% -504 -0.2% -664 -0.7% -508 -0.5% -74,400 -30.6% -74,400 -30.6% -424 -0.1% -424 -0.1%
time 150 0.8% 154 0.1% 154 0.1% 222 0.2% 222 0.2% 752 0.3% 752 0.3% 0 0.0% 0 0.0%
serialize 150 0.8% 465 0.2% 465 0.2% 577 0.6% 577 0.6% 57,568 23.7% 57,568 23.7% 792 0.2% 792 0.2%
[ display all ]