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

Overall Summary
Total Incl. Wall Time (microsec):464,718 microsecs
Total Incl. CPU (microsecs):279,173 microsecs
Total Incl. MemUse (bytes):12,450,728 bytes
Total Incl. PeakMemUse (bytes):12,691,568 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% 271 0.1% 271 0.1% 4,476 1.6% 4,476 1.6% 18,176 0.1% 18,176 0.1% 10,560 0.1% 10,560 0.1%
strtolower 2,051 3.5% 1,816 0.4% 1,816 0.4% 2,938 1.1% 2,938 1.1% 96,520 0.8% 96,520 0.8% 13,792 0.1% 13,792 0.1%
Symfony\Component\DependencyInjection\Container::get 1,660 2.8% 27,151 5.8% 6,278 1.4% 27,733 9.9% 6,585 2.4% 2,263,912 18.2% -10,992 -0.1% 2,190,016 17.3% 60,576 0.5%
substr 1,407 2.4% 473 0.1% 473 0.1% 1,640 0.6% 1,640 0.6% 91,968 0.7% 91,968 0.7% 21,040 0.2% 21,040 0.2%
function_exists 1,352 2.3% 1,543 0.3% 1,543 0.3% 2,463 0.9% 2,463 0.9% 22,824 0.2% 22,824 0.2% 12,328 0.1% 12,328 0.1%
str_replace 1,251 2.1% 1,654 0.4% 1,654 0.4% 2,531 0.9% 2,531 0.9% 492,776 4.0% 492,776 4.0% 63,408 0.5% 63,408 0.5%
count 1,220 2.1% 206 0.0% 166 0.0% 1,429 0.5% 1,380 0.5% 21,592 0.2% 17,272 0.1% 11,384 0.1% 8,440 0.1%
Drupal\Component\Utility\String::checkPlain 1,041 1.8% 3,454 0.7% 2,368 0.5% 4,187 1.5% 2,309 0.8% 211,792 1.7% 8,968 0.1% 11,984 0.1% 7,264 0.1%
htmlspecialchars 1,041 1.8% 1,086 0.2% 1,086 0.2% 1,878 0.7% 1,878 0.7% 202,824 1.6% 202,824 1.6% 4,720 0.0% 4,720 0.0%
is_array 994 1.7% 123 0.0% 123 0.0% 1,187 0.4% 1,187 0.4% 37,640 0.3% 37,640 0.3% 17,392 0.1% 17,392 0.1%
drupal_container 975 1.7% 2,758 0.6% 2,308 0.5% 3,618 1.3% 2,372 0.8% 33,816 0.3% 33,008 0.3% 23,072 0.2% 22,704 0.2%
Drupal::getContainer 975 1.7% 450 0.1% 450 0.1% 1,246 0.4% 1,246 0.4% 808 0.0% 808 0.0% 368 0.0% 368 0.0%
preg_replace 968 1.6% 1,622 0.3% 1,622 0.3% 2,275 0.8% 2,275 0.8% 172,752 1.4% 172,752 1.4% 22,064 0.2% 22,064 0.2%
array_keys 831 1.4% 983 0.2% 983 0.2% 1,657 0.6% 1,657 0.6% 630,800 5.1% 630,800 5.1% 51,408 0.4% 51,408 0.4%
Drupal\Component\Utility\String::placeholder 750 1.3% 4,534 1.0% 2,085 0.4% 5,053 1.8% 2,056 0.7% 84,776 0.7% -66,072 -0.5% 0 0.0% 0 0.0%
implode 682 1.2% 603 0.1% 603 0.1% 1,142 0.4% 1,142 0.4% 194,952 1.6% 194,952 1.6% 19,680 0.2% 19,680 0.2%
drupal_static 586 1.0% 1,440 0.3% 1,383 0.3% 1,852 0.7% 1,747 0.6% 61,144 0.5% 60,368 0.5% 74,808 0.6% 74,032 0.6%
Drupal\Core\Entity\EntityNG::__get 568 1.0% 732 0.2% 662 0.1% 1,191 0.4% 1,119 0.4% 8,512 0.1% 5,400 0.0% 4,528 0.0% 3,088 0.0%
array_key_exists 541 0.9% 422 0.1% 422 0.1% 843 0.3% 843 0.3% 6,416 0.1% 6,416 0.1% 4,928 0.0% 4,928 0.0%
PDOStatement::setFetchMode 516 0.9% 277 0.1% 277 0.1% 737 0.3% 737 0.3% 4,496 0.0% 4,496 0.0% 2,120 0.0% 2,120 0.0%
strtr 496 0.8% 4,142 0.9% 4,142 0.9% 4,563 1.6% 4,563 1.6% 119,056 1.0% 119,056 1.0% 40,880 0.3% 40,880 0.3%
explode 491 0.8% 543 0.1% 543 0.1% 862 0.3% 862 0.3% 195,776 1.6% 195,776 1.6% 14,256 0.1% 14,256 0.1%
Drupal\Core\Config\Config::get 449 0.8% 20,219 4.4% 2,542 0.5% 13,931 5.0% 2,136 0.8% 232,368 1.9% -106,336 -0.9% 440,760 3.5% 4,256 0.0%
in_array 442 0.7% 393 0.1% 393 0.1% 683 0.2% 683 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,722 0.4% 1,453 0.3% 2,041 0.7% 1,467 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,268 0.3% 1,038 0.2% 1,537 0.6% 1,000 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,129 2.0% 2,256 0.5% 9,458 3.4% 1,930 0.7% 119,192 1.0% -46,248 -0.4% 85,448 0.7% 5,872 0.0%
Drupal\Core\Config\Context\ConfigContext::getUuid 391 0.7% 269 0.1% 269 0.1% 574 0.2% 574 0.2% 872 0.0% 872 0.0% 840 0.0% 840 0.0%
end 391 0.7% 230 0.0% 230 0.0% 537 0.2% 537 0.2% 792 0.0% 792 0.0% 712 0.0% 712 0.0%
is_integer 368 0.6% 8 0.0% 8 0.0% 388 0.1% 388 0.1% 1,616 0.0% 1,616 0.0% 0 0.0% 0 0.0%
is_numeric 362 0.6% 54 0.0% 54 0.0% 425 0.2% 425 0.2% 9,568 0.1% 9,568 0.1% 6,784 0.1% 6,784 0.1%
strlen 360 0.6% 48 0.0% 48 0.0% 432 0.2% 432 0.2% 8,600 0.1% 8,600 0.1% 6,296 0.0% 6,296 0.0%
is_string 355 0.6% 60 0.0% 60 0.0% 450 0.2% 450 0.2% 8,008 0.1% 8,008 0.1% 4,984 0.0% 4,984 0.0%
file_exists 331 0.6% 2,171 0.5% 2,171 0.5% 2,462 0.9% 2,462 0.9% 6,320 0.1% 6,320 0.1% 4,928 0.0% 4,928 0.0%
strrpos 323 0.5% 318 0.1% 318 0.1% 494 0.2% 494 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,176 3.5% 12,868 2.8% 16,478 5.9% 7,875 2.8% 63,080 0.5% -17,392 -0.1% 204,416 1.6% 165,064 1.3%
_drupal_get_error_level 300 0.5% 10,960 2.4% 1,268 0.3% 10,900 3.9% 1,035 0.4% 7,944 0.1% 2,256 0.0% 18,144 0.1% 336 0.0%
Drupal::config 300 0.5% 7,009 1.5% 1,418 0.3% 7,254 2.6% 1,197 0.4% 4,440 0.0% 1,424 0.0% 2,576 0.0% 992 0.0%
check_plain 289 0.5% 1,696 0.4% 704 0.2% 1,920 0.7% 746 0.3% 70,160 0.6% 10,440 0.1% 14,944 0.1% 3,976 0.0%
is_object 275 0.5% 72 0.0% 72 0.0% 369 0.1% 369 0.1% 9,496 0.1% 9,496 0.1% 6,240 0.0% 6,240 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementations 267 0.5% 3,978 0.9% 1,234 0.3% 3,898 1.4% 1,006 0.4% 183,840 1.5% 17,600 0.1% 81,528 0.6% 3,992 0.0%
Drupal\Core\Extension\CachedModuleHandler::getImplementationInfo 267 0.5% 2,501 0.5% 1,301 0.3% 2,469 0.9% 1,353 0.5% 55,960 0.4% 1,672 0.0% 75,344 0.6% 1,576 0.0%
array_filter 265 0.4% 4,512 1.0% 974 0.2% 4,272 1.5% 1,172 0.4% 213,040 1.7% 46,448 0.4% 174,600 1.4% 18,024 0.1%
PDO::prepare 251 0.4% 2,164 0.5% 1,078 0.2% 2,354 0.8% 1,061 0.4% 302,264 2.4% 288,248 2.3% 9,512 0.1% 7,752 0.1%
Drupal\Core\Database\Connection::expandArguments 251 0.4% 3,391 0.7% 2,029 0.4% 3,581 1.3% 1,818 0.7% 9,424 0.1% -99,072 -0.8% 84,088 0.7% 51,408 0.4%
Drupal\Core\Database\Statement::execute 251 0.4% 206,469 44.4% 4,023 0.9% 21,643 7.8% 3,108 1.1% 1,167,832 9.4% 2,160 0.0% 419,224 3.3% 2,208 0.0%
Drupal\Core\Database\Connection::prepareQuery 251 0.4% 4,819 1.0% 1,135 0.2% 5,050 1.8% 985 0.4% 317,736 2.6% -73,952 -0.6% 36,864 0.3% 2,416 0.0%
Drupal\Core\Database\Connection::getLogger 251 0.4% 118 0.0% 118 0.0% 335 0.1% 335 0.1% 856 0.0% 856 0.0% 776 0.0% 776 0.0%
PDOStatement::execute 251 0.4% 202,304 43.5% 202,304 43.5% 17,596 6.3% 17,596 6.3% 1,163,216 9.3% 1,163,216 9.3% 414,888 3.3% 414,888 3.3%
Drupal\Core\Database\Statement::__construct 251 0.4% 1,086 0.2% 833 0.2% 1,293 0.5% 891 0.3% 14,016 0.1% 13,200 0.1% 1,760 0.0% 1,112 0.0%
Drupal\Core\Database\Connection::defaultOptions 251 0.4% 332 0.1% 332 0.1% 621 0.2% 621 0.2% 191,720 1.5% 191,720 1.5% 29,944 0.2% 29,944 0.2%
Drupal\Core\Database\Connection::prefixTables 251 0.4% 1,520 0.3% 775 0.2% 1,711 0.6% 710 0.3% 89,424 0.7% -295,112 -2.4% 24,936 0.2% 760 0.0%
Drupal\Core\Database\Connection::query 251 0.4% 221,043 47.6% 5,527 1.2% 36,252 13.0% 4,643 1.7% 657,928 5.3% -1,034,416 -8.3% 603,688 4.8% 33,568 0.3%
Drupal\menu_link\Plugin\Core\Entity\MenuLink::offsetGet 242 0.4% 157 0.0% 157 0.0% 320 0.1% 320 0.1% 8,336 0.1% 8,336 0.1% 680 0.0% 680 0.0%
Symfony\Component\HttpFoundation\ParameterBag::get 241 0.4% 956 0.2% 741 0.2% 1,152 0.4% 785 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% 423 0.1% 275 0.1% 555 0.2% 400 0.1% 22,408 0.2% 4,616 0.0% 25,336 0.2% 2,968 0.0%
array_shift 216 0.4% 234 0.1% 234 0.1% 434 0.2% 434 0.2% -19,768 -0.2% -19,768 -0.2% 6,704 0.1% 6,704 0.1%
preg_match 206 0.3% 550 0.1% 550 0.1% 728 0.3% 728 0.3% 10,944 0.1% 10,944 0.1% 5,808 0.0% 5,808 0.0%
array_flip 201 0.3% 1,290 0.3% 1,290 0.3% 1,442 0.5% 1,442 0.5% 1,932,416 15.5% 1,932,416 15.5% 76,336 0.6% 76,336 0.6%
array_merge 199 0.3% 365 0.1% 365 0.1% 495 0.2% 495 0.2% 406,744 3.3% 406,744 3.3% 22,952 0.2% 22,952 0.2%
class_exists 189 0.3% 6,158 1.3% 609 0.1% 6,357 2.3% 779 0.3% 560,488 4.5% -256 -0.0% 461,664 3.6% 8,168 0.1%
module_implements 188 0.3% 4,950 1.1% 1,172 0.3% 5,107 1.8% 858 0.3% 112,512 0.9% 10,424 0.1% 4,536 0.0% 3,120 0.0%
Symfony\Component\DependencyInjection\Container::has 187 0.3% 677 0.1% 483 0.1% 829 0.3% 548 0.2% 14,736 0.1% 4,768 0.0% 9,432 0.1% 9,432 0.1%
language 183 0.3% 3,744 0.8% 1,514 0.3% 3,883 1.4% 1,111 0.4% 51,472 0.4% 5,792 0.0% 53,976 0.4% 11,952 0.1%
Symfony\Component\ClassLoader\ClassLoader::loadClass 183 0.3% 28,426 6.1% 1,875 0.4% 28,689 10.3% 1,372 0.5% 3,861,688 31.0% 181,784 1.5% 3,424,736 27.0% 199,768 1.6%
key 174 0.3% 126 0.0% 126 0.0% 239 0.1% 239 0.1% 7,144 0.1% 7,144 0.1% 1,048 0.0% 1,048 0.0%
array_values 173 0.3% 166 0.0% 166 0.0% 305 0.1% 305 0.1% 175,496 1.4% 175,496 1.4% 3,272 0.0% 3,272 0.0%
variable_get 160 0.3% 178 0.0% 178 0.0% 285 0.1% 285 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,530 0.3% 371 0.1% 1,238 0.4% 515 0.2% 179,752 1.4% 5,728 0.0% 177,528 1.4% 3,552 0.0%
defined 159 0.3% 172 0.0% 172 0.0% 268 0.1% 268 0.1% 6,936 0.1% 6,936 0.1% 1,960 0.0% 1,960 0.0%
format_string 158 0.3% 8,782 1.9% 414 0.1% 8,904 3.2% 413 0.1% 70,360 0.6% 1,768 0.0% 2,568 0.0% 0 0.0%
uniqid 158 0.3% 693 0.1% 693 0.1% 851 0.3% 851 0.3% 17,696 0.1% 17,696 0.1% 2,800 0.0% 2,800 0.0%
Drupal\Component\Utility\String::format 158 0.3% 8,296 1.8% 2,661 0.6% 8,417 3.0% 2,137 0.8% 60,056 0.5% -73,896 -0.6% 2,568 0.0% 1,360 0.0%
Drupal\Core\TypedData\TypedData::setContext 157 0.3% 189 0.0% 189 0.0% 341 0.1% 341 0.1% 6,488 0.1% 6,488 0.1% 6,344 0.0% 6,344 0.0%
Drupal\Core\Database\Connection::getDriverClass 156 0.3% 1,203 0.3% 196 0.0% 1,344 0.5% 328 0.1% 224,576 1.8% 3,856 0.0% 196,664 1.5% 2,456 0.0%
Drupal\Core\Database\Query\Query::__construct 156 0.3% 2,197 0.5% 1,330 0.3% 2,321 0.8% 1,051 0.4% 28,512 0.2% 11,024 0.1% 6,200 0.0% 3,512 0.0%
Drupal\Core\Database\Connection::getTarget 156 0.3% 37 0.0% 37 0.0% 218 0.1% 218 0.1% 864 0.0% 864 0.0% 832 0.0% 832 0.0%
Drupal\Core\Database\Connection::getKey 156 0.3% 154 0.0% 154 0.0% 221 0.1% 221 0.1% 856 0.0% 856 0.0% 728 0.0% 728 0.0%
preg_replace_callback 155 0.3% 816 0.2% 795 0.2% 946 0.3% 923 0.3% 31,344 0.3% 28,624 0.2% 440 0.0% 440 0.0%
Drupal\Core\Database\Connection::makeComment 155 0.3% 155 0.0% 155 0.0% 235 0.1% 235 0.1% 9,152 0.1% 9,152 0.1% 1,160 0.0% 1,160 0.0%
filter_xss_admin 154 0.3% 11,264 2.4% 2,112 0.5% 11,394 4.1% 2,131 0.8% 45,544 0.4% 3,440 0.0% 240,992 1.9% 50,944 0.4%
filter_xss 154 0.3% 9,152 2.0% 3,127 0.7% 9,263 3.3% 2,141 0.8% 42,104 0.3% -167,152 -1.3% 190,048 1.5% 1,400 0.0%
drupal_validate_utf8 154 0.3% 1,160 0.2% 745 0.2% 1,270 0.5% 557 0.2% 10,320 0.1% 8,776 0.1% 3,320 0.0% 1,864 0.0%
chr 154 0.3% 66 0.0% 66 0.0% 201 0.1% 201 0.1% 5,688 0.0% 5,688 0.0% 0 0.0% 0 0.0%
_filter_xss_split 154 0.3% 3,081 0.7% 1,849 0.4% 3,213 1.2% 1,865 0.7% 14,344 0.1% -1,894,840 -15.2% 183,696 1.4% 112,008 0.9%
serialize 154 0.3% 483 0.1% 483 0.1% 600 0.2% 600 0.2% 59,232 0.5% 59,232 0.5% 792 0.0% 792 0.0%
Symfony\Component\HttpFoundation\Request::getClientIp 154 0.3% 1,085 0.2% 451 0.1% 1,210 0.4% 470 0.2% 5,280 0.0% 3,032 0.0% 4,064 0.0% 1,992 0.0%
Drupal::request 154 0.3% 1,820 0.4% 485 0.1% 1,921 0.7% 466 0.2% 134,920 1.1% 2,656 0.0% 132,200 1.0% 1,672 0.0%
ltrim 154 0.3% 157 0.0% 157 0.0% 229 0.1% 229 0.1% 6,464 0.1% 6,464 0.1% 1,336 0.0% 1,336 0.0%
array_diff 153 0.3% 285 0.1% 285 0.1% 414 0.1% 414 0.1% 25,240 0.2% 25,240 0.2% 8,664 0.1% 8,664 0.1%
Drupal\Core\Utility\ThemeRegistry::offsetExists 153 0.3% 488 0.1% 362 0.1% 617 0.2% 361 0.1% 11,672 0.1% 10,864 0.1% 2,904 0.0% 2,256 0.0%
drupal_is_cli 153 0.3% 183 0.0% 183 0.0% 318 0.1% 318 0.1% 9,696 0.1% 9,696 0.1% 1,696 0.0% 1,696 0.0%
request_uri 153 0.3% 645 0.1% 487 0.1% 735 0.3% 504 0.2% 17,536 0.1% 10,976 0.1% 3,968 0.0% 2,240 0.0%
error_reporting 152 0.3% 147 0.0% 147 0.0% 229 0.1% 229 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,778 1.0% 3,849 0.8% 4,906 1.8% 2,844 1.0% 74,168 0.6% -462,624 -3.7% 11,064 0.1% 5,800 0.0%
drupal_set_message 151 0.3% 1,324 0.3% 646 0.1% 1,425 0.5% 607 0.2% 20,184 0.2% 18,024 0.1% 472 0.0% 472 0.0%
Drupal\Core\Database\Query\Insert::preExecute 151 0.3% 1,691 0.4% 1,149 0.2% 1,841 0.7% 873 0.3% 10,568 0.1% -25,992 -0.2% 1,528 0.0% 752 0.0%
array_pad 151 0.3% 87 0.0% 87 0.0% 212 0.1% 212 0.1% 14,096 0.1% 14,096 0.1% 560 0.0% 560 0.0%
array_intersect 151 0.3% 491 0.1% 491 0.1% 634 0.2% 634 0.2% 35,768 0.3% 35,768 0.3% 504 0.0% 504 0.0%
Drupal\Core\Database\Query\Insert::fields 151 0.3% 2,126 0.5% 1,672 0.4% 2,268 0.8% 1,285 0.5% 521,936 4.2% 58,440 0.5% 7,872 0.1% 3,256 0.0%
[ display all ]