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

Overall Summary
Total Incl. Wall Time (microsec):466,540 microsecs
Total Incl. CPU (microsecs):279,177 microsecs
Total Incl. MemUse (bytes):11,154,056 bytes
Total Incl. PeakMemUse (bytes):11,392,288 bytes
Number of Function Calls:58,995


[View Full Callgraph]


Displaying top 100 functions: Sorted by Calls [ 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%
strpos 4,153 7.0% 412 0.1% 412 0.1% 4,494 1.6% 4,494 1.6% 18,168 0.2% 18,168 0.2% 10,648 0.1% 10,648 0.1%
strtolower 2,051 3.5% 1,836 0.4% 1,836 0.4% 3,056 1.1% 3,056 1.1% 96,544 0.9% 96,544 0.9% 14,080 0.1% 14,080 0.1%
Symfony\Component\DependencyInjection\Container::get 1,660 2.8% 27,664 5.9% 6,468 1.4% 28,136 10.1% 6,769 2.4% 2,298,944 20.6% -11,016 -0.1% 2,223,392 19.5% 60,952 0.5%
substr 1,407 2.4% 509 0.1% 509 0.1% 1,735 0.6% 1,735 0.6% 91,968 0.8% 91,968 0.8% 21,192 0.2% 21,192 0.2%
function_exists 1,352 2.3% 1,648 0.4% 1,648 0.4% 2,580 0.9% 2,580 0.9% 22,816 0.2% 22,816 0.2% 13,040 0.1% 13,040 0.1%
str_replace 1,251 2.1% 1,725 0.4% 1,725 0.4% 2,540 0.9% 2,540 0.9% 492,840 4.4% 492,840 4.4% 62,992 0.6% 62,992 0.6%
count 1,220 2.1% 228 0.0% 191 0.0% 1,435 0.5% 1,393 0.5% 21,592 0.2% 17,272 0.2% 12,448 0.1% 9,504 0.1%
Drupal\Component\Utility\String::checkPlain 1,041 1.8% 3,580 0.8% 2,455 0.5% 4,347 1.6% 2,394 0.9% 211,776 1.9% 8,968 0.1% 12,808 0.1% 7,344 0.1%
htmlspecialchars 1,041 1.8% 1,125 0.2% 1,125 0.2% 1,953 0.7% 1,953 0.7% 202,808 1.8% 202,808 1.8% 5,464 0.0% 5,464 0.0%
is_array 994 1.7% 182 0.0% 182 0.0% 1,248 0.4% 1,248 0.4% 37,656 0.3% 37,656 0.3% 18,424 0.2% 18,424 0.2%
drupal_container 975 1.7% 2,847 0.6% 2,379 0.5% 3,714 1.3% 2,451 0.9% 33,816 0.3% 33,008 0.3% 23,040 0.2% 22,672 0.2%
Drupal::getContainer 975 1.7% 468 0.1% 468 0.1% 1,263 0.5% 1,263 0.5% 808 0.0% 808 0.0% 368 0.0% 368 0.0%
preg_replace 968 1.6% 1,670 0.4% 1,670 0.4% 2,380 0.9% 2,380 0.9% 172,736 1.5% 172,736 1.5% 23,248 0.2% 23,248 0.2%
array_keys 831 1.4% 975 0.2% 975 0.2% 1,696 0.6% 1,696 0.6% 630,848 5.7% 630,848 5.7% 52,064 0.5% 52,064 0.5%
Drupal\Component\Utility\String::placeholder 750 1.3% 4,600 1.0% 2,089 0.4% 5,139 1.8% 2,082 0.7% 84,776 0.8% -66,056 -0.6% 0 0.0% 0 0.0%
implode 682 1.2% 625 0.1% 625 0.1% 1,190 0.4% 1,190 0.4% 194,952 1.7% 194,952 1.7% 20,192 0.2% 20,192 0.2%
drupal_static 586 1.0% 1,557 0.3% 1,497 0.3% 2,024 0.7% 1,905 0.7% 60,352 0.5% 59,576 0.5% 78,800 0.7% 78,024 0.7%
Drupal\Core\Entity\EntityNG::__get 568 1.0% 798 0.2% 728 0.2% 1,273 0.5% 1,200 0.4% 8,432 0.1% 5,400 0.0% 4,256 0.0% 3,088 0.0%
array_key_exists 541 0.9% 438 0.1% 438 0.1% 833 0.3% 833 0.3% 6,416 0.1% 6,416 0.1% 4,928 0.0% 4,928 0.0%
PDOStatement::setFetchMode 516 0.9% 292 0.1% 292 0.1% 741 0.3% 741 0.3% 4,496 0.0% 4,496 0.0% 2,096 0.0% 2,096 0.0%
strtr 496 0.8% 4,294 0.9% 4,294 0.9% 4,733 1.7% 4,733 1.7% 119,056 1.1% 119,056 1.1% 35,896 0.3% 35,896 0.3%
explode 491 0.8% 558 0.1% 558 0.1% 885 0.3% 885 0.3% 195,784 1.8% 195,784 1.8% 14,416 0.1% 14,416 0.1%
Drupal\Core\Config\Config::get 449 0.8% 20,695 4.4% 2,611 0.6% 14,020 5.0% 2,251 0.8% 232,392 2.1% -106,328 -1.0% 442,712 3.9% 4,528 0.0%
in_array 442 0.7% 430 0.1% 430 0.1% 688 0.2% 688 0.2% 15,048 0.1% 15,048 0.1% 7,880 0.1% 7,880 0.1%
Drupal\Core\Config\ConfigFactory::getCacheKey 391 0.7% 1,777 0.4% 1,534 0.3% 2,064 0.7% 1,497 0.5% 49,328 0.4% 48,456 0.4% 2,544 0.0% 1,704 0.0%
Drupal\Core\Config\ConfigFactory::getContext 391 0.7% 1,292 0.3% 1,072 0.2% 1,547 0.6% 1,022 0.4% 20,712 0.2% 19,920 0.2% 1,968 0.0% 1,256 0.0%
Drupal\Core\Config\ConfigFactory::get 391 0.7% 9,365 2.0% 2,272 0.5% 9,678 3.5% 1,969 0.7% 119,152 1.1% -46,248 -0.4% 85,240 0.7% 5,872 0.1%
Drupal\Core\Config\Context\ConfigContext::getUuid 391 0.7% 243 0.1% 243 0.1% 567 0.2% 567 0.2% 872 0.0% 872 0.0% 840 0.0% 840 0.0%
end 391 0.7% 220 0.0% 220 0.0% 525 0.2% 525 0.2% 792 0.0% 792 0.0% 712 0.0% 712 0.0%
is_integer 368 0.6% 17 0.0% 17 0.0% 380 0.1% 380 0.1% 1,616 0.0% 1,616 0.0% 0 0.0% 0 0.0%
is_numeric 362 0.6% 120 0.0% 120 0.0% 454 0.2% 454 0.2% 9,568 0.1% 9,568 0.1% 6,984 0.1% 6,984 0.1%
strlen 360 0.6% 79 0.0% 79 0.0% 445 0.2% 445 0.2% 8,600 0.1% 8,600 0.1% 6,296 0.1% 6,296 0.1%
is_string 355 0.6% 66 0.0% 66 0.0% 491 0.2% 491 0.2% 8,008 0.1% 8,008 0.1% 4,816 0.0% 4,816 0.0%
file_exists 331 0.6% 2,245 0.5% 2,245 0.5% 2,522 0.9% 2,522 0.9% 6,320 0.1% 6,320 0.1% 4,928 0.0% 4,928 0.0%
strrpos 323 0.5% 312 0.1% 312 0.1% 457 0.2% 457 0.2% 2,320 0.0% 2,320 0.0% 584 0.0% 584 0.0%
Symfony\Component\ClassLoader\ClassLoader::findFile 312 0.5% 16,548 3.5% 13,005 2.8% 16,835 6.0% 8,115 2.9% 63,080 0.6% -17,440 -0.2% 200,448 1.8% 161,480 1.4%
_drupal_get_error_level 300 0.5% 11,429 2.4% 1,328 0.3% 11,382 4.1% 1,106 0.4% 7,944 0.1% 2,256 0.0% 18,064 0.2% 336 0.0%
Drupal::config 300 0.5% 7,272 1.6% 1,467 0.3% 7,515 2.7% 1,265 0.5% 4,440 0.0% 1,424 0.0% 2,648 0.0% 992 0.0%
check_plain 289 0.5% 1,797 0.4% 742 0.2% 2,018 0.7% 750 0.3% 70,128 0.6% 10,408 0.1% 16,568 0.1% 4,776 0.0%
is_object 275 0.5% 74 0.0% 74 0.0% 358 0.1% 358 0.1% 9,496 0.1% 9,496 0.1% 6,152 0.1% 6,152 0.1%
Drupal\Core\Extension\ModuleHandler::getImplementations 267 0.5% 4,175 0.9% 1,296 0.3% 4,093 1.5% 1,042 0.4% 183,840 1.6% 17,600 0.2% 81,056 0.7% 3,904 0.0%
Drupal\Core\Extension\CachedModuleHandler::getImplementationInfo 267 0.5% 2,636 0.6% 1,415 0.3% 2,604 0.9% 1,438 0.5% 55,960 0.5% 1,672 0.0% 74,816 0.7% 1,576 0.0%
array_filter 265 0.4% 4,564 1.0% 999 0.2% 4,245 1.5% 1,183 0.4% 213,000 1.9% 46,448 0.4% 174,408 1.5% 17,656 0.2%
PDO::prepare 251 0.4% 2,238 0.5% 1,116 0.2% 2,418 0.9% 1,093 0.4% 302,264 2.7% 288,248 2.6% 9,448 0.1% 7,752 0.1%
Drupal\Core\Database\Connection::expandArguments 251 0.4% 3,450 0.7% 2,086 0.4% 3,643 1.3% 1,861 0.7% 9,408 0.1% -99,088 -0.9% 82,856 0.7% 50,480 0.4%
Drupal\Core\Database\Statement::execute 251 0.4% 209,056 44.8% 4,194 0.9% 22,629 8.1% 3,199 1.1% 1,167,440 10.5% 2,160 0.0% 420,752 3.7% 2,208 0.0%
Drupal\Core\Database\Connection::prepareQuery 251 0.4% 4,994 1.1% 1,201 0.3% 5,222 1.9% 1,028 0.4% 317,736 2.8% -73,952 -0.7% 36,664 0.3% 2,344 0.0%
Drupal\Core\Database\Connection::getLogger 251 0.4% 132 0.0% 132 0.0% 349 0.1% 349 0.1% 856 0.0% 856 0.0% 776 0.0% 776 0.0%
PDOStatement::execute 251 0.4% 204,688 43.9% 204,688 43.9% 18,408 6.6% 18,408 6.6% 1,162,824 10.4% 1,162,824 10.4% 416,416 3.7% 416,416 3.7%
Drupal\Core\Database\Statement::__construct 251 0.4% 1,122 0.2% 859 0.2% 1,325 0.5% 939 0.3% 14,016 0.1% 13,200 0.1% 1,696 0.0% 1,048 0.0%
Drupal\Core\Database\Connection::defaultOptions 251 0.4% 348 0.1% 348 0.1% 608 0.2% 608 0.2% 191,720 1.7% 191,720 1.7% 29,576 0.3% 29,576 0.3%
Drupal\Core\Database\Connection::prefixTables 251 0.4% 1,555 0.3% 796 0.2% 1,776 0.6% 785 0.3% 89,424 0.8% -295,128 -2.6% 24,872 0.2% 760 0.0%
Drupal\Core\Database\Connection::query 251 0.4% 224,064 48.0% 5,672 1.2% 37,669 13.5% 4,811 1.7% 657,552 5.9% -1,034,384 -9.3% 602,848 5.3% 33,000 0.3%
Drupal\menu_link\Plugin\Core\Entity\MenuLink::offsetGet 242 0.4% 159 0.0% 159 0.0% 334 0.1% 334 0.1% 8,336 0.1% 8,336 0.1% 568 0.0% 568 0.0%
Symfony\Component\HttpFoundation\ParameterBag::get 241 0.4% 975 0.2% 752 0.2% 1,172 0.4% 815 0.3% 16,032 0.1% 15,224 0.1% 12,784 0.1% 12,136 0.1%
Drupal\Core\Language\LanguageManager::getLanguage 241 0.4% 495 0.1% 297 0.1% 623 0.2% 417 0.1% 22,408 0.2% 4,616 0.0% 25,336 0.2% 2,968 0.0%
array_shift 216 0.4% 255 0.1% 255 0.1% 464 0.2% 464 0.2% -19,768 -0.2% -19,768 -0.2% 6,896 0.1% 6,896 0.1%
preg_match 206 0.3% 564 0.1% 564 0.1% 754 0.3% 754 0.3% 10,944 0.1% 10,944 0.1% 5,680 0.0% 5,680 0.0%
array_flip 201 0.3% 1,334 0.3% 1,334 0.3% 1,494 0.5% 1,494 0.5% 1,832,064 16.4% 1,832,064 16.4% 65,768 0.6% 65,768 0.6%
array_merge 199 0.3% 361 0.1% 361 0.1% 508 0.2% 508 0.2% 406,296 3.6% 406,296 3.6% 22,176 0.2% 22,176 0.2%
class_exists 189 0.3% 7,390 1.6% 643 0.1% 7,578 2.7% 808 0.3% 661,496 5.9% -256 -0.0% 564,648 5.0% 8,024 0.1%
module_implements 188 0.3% 5,153 1.1% 1,239 0.3% 5,293 1.9% 911 0.3% 112,512 1.0% 10,424 0.1% 5,256 0.0% 3,696 0.0%
Symfony\Component\DependencyInjection\Container::has 187 0.3% 669 0.1% 479 0.1% 812 0.3% 545 0.2% 14,736 0.1% 4,768 0.0% 9,752 0.1% 9,752 0.1%
language 183 0.3% 3,771 0.8% 1,493 0.3% 3,913 1.4% 1,109 0.4% 51,464 0.5% 5,792 0.1% 55,000 0.5% 11,936 0.1%
Symfony\Component\ClassLoader\ClassLoader::loadClass 183 0.3% 30,501 6.5% 2,037 0.4% 30,778 11.0% 1,474 0.5% 4,013,928 36.0% 172,992 1.6% 3,593,304 31.5% 198,560 1.7%
key 174 0.3% 130 0.0% 130 0.0% 251 0.1% 251 0.1% 7,144 0.1% 7,144 0.1% 1,248 0.0% 1,248 0.0%
array_values 173 0.3% 175 0.0% 175 0.0% 316 0.1% 316 0.1% 175,496 1.6% 175,496 1.6% 2,504 0.0% 2,504 0.0%
variable_get 160 0.3% 173 0.0% 173 0.0% 276 0.1% 276 0.1% 10,152 0.1% 10,152 0.1% 6,384 0.1% 6,384 0.1%
Drupal\Core\Database\Database::getConnection 160 0.3% 1,759 0.4% 398 0.1% 1,292 0.5% 527 0.2% 179,760 1.6% 5,728 0.1% 177,600 1.6% 3,792 0.0%
defined 159 0.3% 177 0.0% 177 0.0% 279 0.1% 279 0.1% 6,944 0.1% 6,944 0.1% 2,080 0.0% 2,080 0.0%
format_string 158 0.3% 8,982 1.9% 454 0.1% 9,109 3.3% 458 0.2% 70,360 0.6% 1,768 0.0% 2,568 0.0% 0 0.0%
uniqid 158 0.3% 728 0.2% 728 0.2% 871 0.3% 871 0.3% 17,696 0.2% 17,696 0.2% 2,896 0.0% 2,896 0.0%
Drupal\Component\Utility\String::format 158 0.3% 8,462 1.8% 2,730 0.6% 8,584 3.1% 2,170 0.8% 60,056 0.5% -73,896 -0.7% 2,568 0.0% 1,360 0.0%
Drupal\Core\TypedData\TypedData::setContext 157 0.3% 194 0.0% 194 0.0% 354 0.1% 354 0.1% 6,488 0.1% 6,488 0.1% 6,344 0.1% 6,344 0.1%
Drupal\Core\Database\Connection::getDriverClass 156 0.3% 1,206 0.3% 219 0.0% 1,316 0.5% 320 0.1% 224,592 2.0% 3,856 0.0% 197,336 1.7% 2,824 0.0%
Drupal\Core\Database\Query\Query::__construct 156 0.3% 2,368 0.5% 1,466 0.3% 2,482 0.9% 1,173 0.4% 28,512 0.3% 11,024 0.1% 6,496 0.1% 3,712 0.0%
Drupal\Core\Database\Connection::getTarget 156 0.3% 26 0.0% 26 0.0% 207 0.1% 207 0.1% 864 0.0% 864 0.0% 832 0.0% 832 0.0%
Drupal\Core\Database\Connection::getKey 156 0.3% 165 0.0% 165 0.0% 250 0.1% 250 0.1% 856 0.0% 856 0.0% 728 0.0% 728 0.0%
preg_replace_callback 155 0.3% 832 0.2% 811 0.2% 948 0.3% 926 0.3% 31,344 0.3% 28,624 0.3% 2,288 0.0% 1,328 0.0%
Drupal\Core\Database\Connection::makeComment 155 0.3% 166 0.0% 166 0.0% 241 0.1% 241 0.1% 9,152 0.1% 9,152 0.1% 1,352 0.0% 1,352 0.0%
filter_xss_admin 154 0.3% 10,865 2.3% 1,722 0.4% 10,982 3.9% 1,748 0.6% 44,888 0.4% 3,440 0.0% 218,744 1.9% 38,112 0.3%
filter_xss 154 0.3% 9,143 2.0% 3,127 0.7% 9,234 3.3% 2,168 0.8% 41,448 0.4% -167,144 -1.5% 180,632 1.6% 2,112 0.0%
drupal_validate_utf8 154 0.3% 1,195 0.3% 744 0.2% 1,304 0.5% 546 0.2% 10,320 0.1% 8,776 0.1% 3,064 0.0% 1,736 0.0%
chr 154 0.3% 96 0.0% 96 0.0% 210 0.1% 210 0.1% 5,712 0.1% 5,712 0.1% 512 0.0% 512 0.0%
_filter_xss_split 154 0.3% 2,976 0.6% 1,701 0.4% 3,116 1.1% 1,728 0.6% 13,664 0.1% -1,795,184 -16.1% 172,800 1.5% 111,768 1.0%
serialize 154 0.3% 527 0.1% 527 0.1% 631 0.2% 631 0.2% 59,232 0.5% 59,232 0.5% 992 0.0% 992 0.0%
Symfony\Component\HttpFoundation\Request::getClientIp 154 0.3% 1,081 0.2% 427 0.1% 1,223 0.4% 462 0.2% 5,280 0.0% 3,032 0.0% 4,168 0.0% 2,096 0.0%
Drupal::request 154 0.3% 1,851 0.4% 513 0.1% 1,941 0.7% 468 0.2% 134,912 1.2% 2,656 0.0% 132,192 1.2% 1,672 0.0%
ltrim 154 0.3% 160 0.0% 160 0.0% 221 0.1% 221 0.1% 6,464 0.1% 6,464 0.1% 1,336 0.0% 1,336 0.0%
array_diff 153 0.3% 296 0.1% 296 0.1% 444 0.2% 444 0.2% 25,240 0.2% 25,240 0.2% 8,864 0.1% 8,864 0.1%
Drupal\Core\Utility\ThemeRegistry::offsetExists 153 0.3% 502 0.1% 370 0.1% 618 0.2% 371 0.1% 11,672 0.1% 10,864 0.1% 3,344 0.0% 2,696 0.0%
drupal_is_cli 153 0.3% 174 0.0% 174 0.0% 302 0.1% 302 0.1% 9,696 0.1% 9,696 0.1% 1,608 0.0% 1,608 0.0%
request_uri 153 0.3% 674 0.1% 513 0.1% 771 0.3% 548 0.2% 17,536 0.2% 10,976 0.1% 3,968 0.0% 2,240 0.0%
error_reporting 152 0.3% 137 0.0% 137 0.0% 236 0.1% 236 0.1% 1,800 0.0% 1,800 0.0% 1,408 0.0% 1,408 0.0%
Drupal\Core\Database\Driver\mysql\Insert::__toString 151 0.3% 4,889 1.0% 3,938 0.8% 5,026 1.8% 2,921 1.0% 74,168 0.7% -462,624 -4.1% 10,504 0.1% 5,640 0.0%
drupal_set_message 151 0.3% 1,406 0.3% 680 0.1% 1,529 0.5% 665 0.2% 20,184 0.2% 18,024 0.2% 472 0.0% 472 0.0%
Drupal\Core\Database\Query\Insert::preExecute 151 0.3% 1,734 0.4% 1,175 0.3% 1,884 0.7% 873 0.3% 10,568 0.1% -25,992 -0.2% 3,344 0.0% 1,736 0.0%
array_pad 151 0.3% 65 0.0% 65 0.0% 199 0.1% 199 0.1% 14,096 0.1% 14,096 0.1% 560 0.0% 560 0.0%
array_intersect 151 0.3% 510 0.1% 510 0.1% 667 0.2% 667 0.2% 35,768 0.3% 35,768 0.3% 1,048 0.0% 1,048 0.0%
Drupal\Core\Database\Query\Insert::fields 151 0.3% 2,155 0.5% 1,672 0.4% 2,321 0.8% 1,295 0.5% 521,912 4.7% 58,440 0.5% 7,208 0.1% 3,352 0.0%
[ display all ]