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

Overall Summary
Total Incl. Wall Time (microsec):352,442 microsecs
Total Incl. CPU (microsecs):334,614 microsecs
Total Incl. MemUse (bytes):36,021,040 bytes
Total Incl. PeakMemUse (bytes):36,100,504 bytes
Number of Function Calls:62,032


[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%
is_object 2,168 3.5% 207 0.1% 207 0.1% 2,205 0.7% 2,205 0.7% 16,680 0.0% 16,680 0.0% 9,600 0.0% 9,600 0.0%
preg_replace 1,888 3.0% 2,380 0.7% 2,380 0.7% 3,298 1.0% 3,298 1.0% 291,280 0.8% 291,280 0.8% 25,392 0.1% 25,392 0.1%
is_array 1,780 2.9% 10 0.0% 10 0.0% 1,645 0.5% 1,645 0.5% 44,896 0.1% 44,896 0.1% 15,936 0.0% 15,936 0.0%
Symfony\Component\DependencyInjection\Container::get 1,490 2.4% 65,608 18.6% 2,823 0.8% 66,102 19.8% 3,742 1.1% 9,801,328 27.2% 16,544 0.0% 8,930,872 24.7% 102,080 0.3%
Drupal\Core\DependencyInjection\Container::get 1,490 2.4% 72,576 20.6% 6,885 2.0% 73,125 21.9% 5,581 1.7% 9,765,328 27.1% -36,800 -0.1% 8,981,336 24.9% 49,896 0.1%
array_key_exists 1,381 2.2% 181 0.1% 181 0.1% 1,476 0.4% 1,476 0.4% 27,376 0.1% 27,376 0.1% 8,304 0.0% 8,304 0.0%
Drupal\menu_link\Entity\MenuLink::offsetGet 1,205 1.9% 350 0.1% 350 0.1% 1,395 0.4% 1,395 0.4% 45,528 0.1% 45,528 0.1% 1,496 0.0% 1,496 0.0%
is_integer 1,194 1.9% 9 0.0% 9 0.0% 1,079 0.3% 1,079 0.3% 1,624 0.0% 1,624 0.0% 768 0.0% 768 0.0%
array_keys 1,192 1.9% 1,418 0.4% 1,418 0.4% 2,415 0.7% 2,415 0.7% 2,240,728 6.2% 2,240,728 6.2% 148,696 0.4% 148,696 0.4%
strpos 919 1.5% 55 0.0% 55 0.0% 980 0.3% 980 0.3% 30,592 0.1% 30,592 0.1% 13,784 0.0% 13,784 0.0%
htmlspecialchars 714 1.2% 335 0.1% 335 0.1% 922 0.3% 922 0.3% 111,976 0.3% 111,976 0.3% 3,096 0.0% 3,096 0.0%
Drupal\Component\Utility\String::checkPlain 714 1.2% 1,670 0.5% 1,335 0.4% 2,257 0.7% 1,335 0.4% 155,760 0.4% 43,784 0.1% 13,224 0.0% 10,128 0.0%
count 666 1.1% 319 0.1% 174 0.0% 977 0.3% 792 0.2% 27,992 0.1% 21,120 0.1% 13,408 0.0% 11,680 0.0%
Symfony\Component\HttpFoundation\ParameterBag::get 625 1.0% 1,423 0.4% 1,393 0.4% 1,886 0.6% 1,310 0.4% 37,584 0.1% 36,776 0.1% 21,232 0.1% 20,584 0.1%
Drupal\Core\Database\Connection::escapeTable 583 0.9% 1,665 0.5% 912 0.3% 2,199 0.7% 1,152 0.3% 56,240 0.2% -11,704 -0.0% 18,112 0.1% 9,240 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::findFile 538 0.9% 2,782 0.8% 1,600 0.5% 3,253 1.0% 1,599 0.5% 90,872 0.3% 31,264 0.1% 49,496 0.1% 22,944 0.1%
apc_fetch 538 0.9% 1,142 0.3% 1,142 0.3% 1,612 0.5% 1,612 0.5% 57,648 0.2% 57,648 0.2% 26,136 0.1% 26,136 0.1%
function_exists 513 0.8% 385 0.1% 385 0.1% 719 0.2% 719 0.2% 17,400 0.0% 17,400 0.0% 7,272 0.0% 7,272 0.0%
str_replace 512 0.8% 503 0.1% 503 0.1% 930 0.3% 930 0.3% 311,536 0.9% 311,536 0.9% 41,640 0.1% 41,640 0.1%
implode 460 0.7% 268 0.1% 268 0.1% 623 0.2% 623 0.2% 132,144 0.4% 132,144 0.4% 15,544 0.0% 15,544 0.0%
Drupal\Core\Database\Connection::escapeField 445 0.7% 1,183 0.3% 691 0.2% 1,510 0.5% 833 0.2% 41,152 0.1% -12,656 -0.0% 3,848 0.0% 1,648 0.0%
explode 403 0.6% 238 0.1% 238 0.1% 619 0.2% 619 0.2% 211,544 0.6% 211,544 0.6% 18,816 0.1% 18,816 0.1%
Drupal::moduleHandler 403 0.6% 5,637 1.6% 878 0.2% 5,926 1.8% 870 0.3% 439,424 1.2% 57,664 0.2% 452,984 1.3% 7,200 0.0%
PDOStatement::setFetchMode 395 0.6% 127 0.0% 127 0.0% 490 0.1% 490 0.1% 9,168 0.0% 9,168 0.0% 2,336 0.0% 2,336 0.0%
drupal_static 387 0.6% 692 0.2% 686 0.2% 899 0.3% 848 0.3% 31,808 0.1% 31,032 0.1% 24,552 0.1% 23,984 0.1%
Drupal\Core\Database\Query\Select::addField 386 0.6% 449 0.1% 449 0.1% 716 0.2% 716 0.2% 244,424 0.7% 244,424 0.7% 43,576 0.1% 43,576 0.1%
Drupal\Core\Database\Connection::escapeAlias 386 0.6% 923 0.3% 535 0.2% 1,216 0.4% 674 0.2% 34,576 0.1% -11,304 -0.0% 2,360 0.0% 1,072 0.0%
Drupal\Core\Entity\EntityType::getClass 384 0.6% 52 0.0% 52 0.0% 470 0.1% 470 0.1% 5,152 0.0% 5,152 0.0% 1,472 0.0% 1,472 0.0%
Drupal\Core\Render\Element::children 377 0.6% 2,306 0.7% 2,041 0.6% 2,536 0.8% 1,696 0.5% 121,240 0.3% 29,912 0.1% 16,984 0.0% 6,144 0.0%
is_string 360 0.6% 22 0.0% 22 0.0% 394 0.1% 394 0.1% 13,440 0.0% 13,440 0.0% 4,552 0.0% 4,552 0.0%
Drupal\menu_link\Entity\MenuLink::offsetSet 322 0.5% 336 0.1% 336 0.1% 529 0.2% 529 0.2% 144,064 0.4% 144,064 0.4% 328 0.0% 328 0.0%
strtolower 322 0.5% 111 0.0% 111 0.0% 408 0.1% 408 0.1% 34,744 0.1% 34,744 0.1% 9,720 0.0% 9,720 0.0%
Drupal\Core\Extension\ModuleHandler::getImplementations 315 0.5% 2,775 0.8% 1,333 0.4% 2,840 0.8% 1,005 0.3% 160,864 0.4% 24,912 0.1% 97,608 0.3% 5,880 0.0%
Drupal\Core\Extension\CachedModuleHandler::getImplementationInfo 315 0.5% 1,393 0.4% 753 0.2% 1,496 0.4% 922 0.3% 69,520 0.2% 1,680 0.0% 88,624 0.2% 1,664 0.0%
substr 314 0.5% 22 0.0% 22 0.0% 344 0.1% 344 0.1% 27,832 0.1% 27,832 0.1% 4,440 0.0% 4,440 0.0%
drupal_sort_css_js 311 0.5% 295 0.1% 295 0.1% 414 0.1% 414 0.1% 15,696 0.0% 15,696 0.0% 0 0.0% 0 0.0%
is_bool 302 0.5% 0 0.0% 0 0.0% 240 0.1% 240 0.1% 3,176 0.0% 3,176 0.0% 2,232 0.0% 2,232 0.0%
Drupal\Core\Template\Attribute::offsetSet 298 0.5% 3,141 0.9% 660 0.2% 3,376 1.0% 673 0.2% 152,728 0.4% 62,488 0.2% 45,928 0.1% 5,048 0.0%
Drupal\Core\Template\Attribute::createAttributeValue 298 0.5% 2,481 0.7% 2,030 0.6% 2,703 0.8% 1,286 0.4% 90,240 0.3% 41,584 0.1% 40,880 0.1% 4,576 0.0%
unserialize 298 0.5% 7,597 2.2% 3,793 1.1% 7,854 2.3% 3,947 1.2% 2,928,680 8.1% 1,908,112 5.3% 3,038,432 8.4% 2,111,480 5.8%
Drupal\Core\Template\AttributeValueBase::__construct 297 0.5% 62 0.0% 62 0.0% 334 0.1% 334 0.1% 896 0.0% 896 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\AttributeValueBase::printed 295 0.5% 8 0.0% 8 0.0% 306 0.1% 306 0.1% 928 0.0% 928 0.0% 184 0.0% 184 0.0%
Drupal\Core\Template\AttributeValueBase::render 294 0.5% 3,368 1.0% 1,265 0.4% 3,580 1.1% 997 0.3% 51,912 0.1% -86,672 -0.2% 13,896 0.0% 1,952 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass 293 0.5% 89,895 25.5% 5,031 1.4% 90,275 27.0% 4,342 1.3% 16,733,920 46.5% -126,304 -0.4% 15,480,728 42.9% 41,608 0.1%
in_array 286 0.5% 254 0.1% 254 0.1% 513 0.2% 513 0.2% 19,064 0.1% 19,064 0.1% 9,744 0.0% 9,744 0.0%
array_diff 279 0.4% 2,209 0.6% 2,209 0.6% 2,393 0.7% 2,393 0.7% 59,360 0.2% 59,360 0.2% 20,072 0.1% 20,072 0.1%
array_flip 276 0.4% 512 0.1% 512 0.1% 723 0.2% 723 0.2% 805,848 2.2% 805,848 2.2% 62,960 0.2% 62,960 0.2%
Drupal\Core\Extension\ModuleHandler::alter 259 0.4% 4,457 1.3% 1,807 0.5% 4,286 1.3% 1,469 0.4% 127,264 0.4% 6,696 0.0% 86,704 0.2% 16,552 0.0%
dirname 256 0.4% 14 0.0% 14 0.0% 267 0.1% 267 0.1% 28,976 0.1% 28,976 0.1% 6,472 0.0% 6,472 0.0%
Drupal\Core\Config\ConfigFactory::canOverride 252 0.4% 682 0.2% 659 0.2% 890 0.3% 625 0.2% 15,720 0.0% 14,928 0.0% 4,736 0.0% 4,088 0.0%
class_exists 249 0.4% 20,099 5.7% 395 0.1% 20,241 6.0% 504 0.2% 4,139,472 11.5% -1,176 -0.0% 3,892,712 10.8% 8,896 0.0%
Drupal::service 248 0.4% 22,828 6.5% 562 0.2% 22,705 6.8% 577 0.2% 3,059,928 8.5% 22,912 0.1% 2,521,128 7.0% 5,856 0.0%
Drupal\Core\Config\Config::get 243 0.4% 3,759 1.1% 1,028 0.3% 3,949 1.2% 832 0.2% 115,928 0.3% -31,648 -0.1% 65,344 0.2% 4,136 0.0%
strtr 240 0.4% 2,713 0.8% 2,713 0.8% 2,905 0.9% 2,905 0.9% 31,296 0.1% 31,296 0.1% 2,956,976 8.2% 2,956,976 8.2%
Drupal\Core\Template\AttributeString::__toString 237 0.4% 1,047 0.3% 504 0.1% 1,226 0.4% 515 0.2% 61,072 0.2% 12,576 0.0% 4,632 0.0% 1,248 0.0%
trim 222 0.4% 31 0.0% 31 0.0% 271 0.1% 271 0.1% 21,856 0.1% 21,856 0.1% 5,096 0.0% 5,096 0.0%
Drupal\Core\Config\ConfigFactory::getCacheKey 215 0.3% 1,202 0.3% 596 0.2% 1,360 0.4% 584 0.2% 24,312 0.1% 12,024 0.0% 5,728 0.0% 1,872 0.0%
element_children 208 0.3% 1,743 0.5% 378 0.1% 1,892 0.6% 424 0.1% 104,824 0.3% 15,344 0.0% 41,424 0.1% 384 0.0%
Drupal\menu_link\Entity\MenuLink::offsetExists 204 0.3% 101 0.0% 101 0.0% 268 0.1% 268 0.1% 16,312 0.0% 16,312 0.0% 1,208 0.0% 1,208 0.0%
call_user_func@1 200 0.3% 54,431 15.4% 529 0.2% 50,712 15.2% 487 0.1% 4,027,104 11.2% 58,424 0.2% 3,724,680 10.3% 2,920 0.0%
array_replace 198 0.3% 341 0.1% 341 0.1% 495 0.1% 495 0.1% 519,336 1.4% 519,336 1.4% 7,512 0.0% 7,512 0.0%
array_filter 195 0.3% 373 0.1% 371 0.1% 500 0.1% 491 0.1% 50,152 0.1% 48,984 0.1% 15,408 0.0% 14,664 0.0%
array_intersect_key 190 0.3% 279 0.1% 279 0.1% 413 0.1% 413 0.1% 88,208 0.2% 88,208 0.2% 18,160 0.1% 18,160 0.1%
Drupal\Core\Template\Attribute::__construct 179 0.3% 3,697 1.0% 631 0.2% 3,835 1.1% 541 0.2% 183,856 0.5% 36,760 0.1% 49,480 0.1% 4,480 0.0%
Drupal\Core\Template\Attribute::__toString 179 0.3% 4,816 1.4% 1,426 0.4% 4,940 1.5% 1,039 0.3% 58,800 0.2% 2,504 0.0% 21,048 0.1% 4,992 0.0%
rawurlencode 178 0.3% 49 0.0% 49 0.0% 204 0.1% 204 0.1% 22,800 0.1% 22,800 0.1% 2,656 0.0% 2,656 0.0%
Symfony\Component\Routing\Route::getOption 165 0.3% 129 0.0% 129 0.0% 245 0.1% 245 0.1% 7,136 0.0% 7,136 0.0% 2,440 0.0% 2,440 0.0%
Drupal\Core\Config\ConfigFactory::loadMultiple 163 0.3% 13,483 3.8% 1,877 0.5% 10,521 3.1% 1,477 0.4% 527,144 1.5% 18,176 0.1% 710,896 2.0% 15,888 0.0%
Drupal\Core\Database\Connection::expandArguments 161 0.3% 2,332 0.7% 1,559 0.4% 2,485 0.7% 1,372 0.4% 19,976 0.1% -121,864 -0.3% 102,240 0.3% 68,360 0.2%
Drupal\Core\Database\Connection::defaultOptions 161 0.3% 213 0.1% 213 0.1% 358 0.1% 358 0.1% 134,872 0.4% 134,872 0.4% 30,832 0.1% 30,832 0.1%
Drupal\Core\Database\Connection::query 161 0.3% 32,687 9.3% 1,814 0.5% 15,210 4.5% 1,402 0.4% 1,093,944 3.0% -138,032 -0.4% 540,944 1.5% 32,840 0.1%
Drupal\Core\Database\Connection::prefixTables 161 0.3% 721 0.2% 422 0.1% 852 0.3% 430 0.1% 43,672 0.1% -184,976 -0.5% 35,888 0.1% 760 0.0%
PDOStatement::execute 161 0.3% 24,011 6.8% 24,011 6.8% 6,520 1.9% 6,520 1.9% 894,024 2.5% 894,024 2.5% 324,016 0.9% 324,016 0.9%
PDO::prepare 161 0.3% 1,194 0.3% 574 0.2% 1,302 0.4% 565 0.2% 167,320 0.5% 157,624 0.4% 9,056 0.0% 7,248 0.0%
Drupal\Core\Database\Connection::getLogger 161 0.3% 37 0.0% 37 0.0% 198 0.1% 198 0.1% 856 0.0% 856 0.0% 776 0.0% 776 0.0%
Drupal\Core\Database\Connection::prepareQuery 161 0.3% 2,591 0.7% 676 0.2% 2,743 0.8% 589 0.2% 178,488 0.5% -32,504 -0.1% 46,680 0.1% 1,736 0.0%
Drupal\Core\Database\Statement::execute 161 0.3% 25,737 7.3% 1,689 0.5% 8,222 2.5% 1,178 0.4% 898,640 2.5% 2,160 0.0% 328,352 0.9% 2,208 0.0%
Drupal\Core\Database\Statement::__construct 161 0.3% 620 0.2% 557 0.2% 737 0.2% 535 0.2% 9,696 0.0% 8,880 0.0% 1,808 0.0% 1,160 0.0%
Drupal\Core\StringTranslation\Translator\StaticTranslation::getStringTranslation 160 0.3% 193 0.1% 188 0.1% 303 0.1% 296 0.1% 11,352 0.0% 9,144 0.0% 3,120 0.0% 1,464 0.0%
Drupal\Core\StringTranslation\TranslationManager::getStringTranslation 160 0.3% 673 0.2% 470 0.1% 815 0.2% 501 0.1% 16,328 0.0% 1,520 0.0% 9,784 0.0% 2,944 0.0%
Drupal\Core\StringTranslation\TranslationManager::translate 160 0.3% 1,934 0.5% 638 0.2% 2,048 0.6% 595 0.2% 40,816 0.1% -2,096 -0.0% 511,896 1.4% 8,504 0.0%
Symfony\Component\ClassLoader\ApcClassLoader::loadClass@1 160 0.3% 32,689 9.3% 2,935 0.8% 32,898 9.8% 2,252 0.7% 6,142,224 17.1% -65,296 -0.2% 5,560,784 15.4% 32,640 0.1%
Drupal\Core\Entity\EntityControllerBase::moduleHandler 160 0.3% 118 0.0% 118 0.0% 243 0.1% 243 0.1% 3,104 0.0% 3,104 0.0% 1,664 0.0% 1,664 0.0%
Symfony\Component\HttpFoundation\Request::get 156 0.3% 1,815 0.5% 829 0.2% 1,917 0.6% 621 0.2% 7,408 0.0% 6,568 0.0% 1,784 0.0% 984 0.0%
Drupal\Component\Utility\NestedArray::mergeDeepArray 156 0.3% 2,604 0.7% 2,577 0.7% 2,727 0.8% 1,626 0.5% 166,968 0.5% 162,352 0.5% 58,672 0.2% 55,400 0.2%
Drupal\Core\Plugin\Discovery\CacheDecorator::getDefinition 155 0.2% 2,175 0.6% 167 0.0% 2,035 0.6% 273 0.1% 508,880 1.4% 1,248 0.0% 568,112 1.6% 168 0.0%
Drupal\Component\Plugin\PluginManagerBase::getDefinition 155 0.2% 2,547 0.7% 372 0.1% 2,432 0.7% 397 0.1% 510,064 1.4% 1,184 0.0% 568,600 1.6% 488 0.0%
Drupal\Core\Entity\EntityManager::getDefinition 155 0.2% 11,040 3.1% 964 0.3% 10,942 3.3% 745 0.2% 2,222,840 6.2% 5,952 0.0% 2,050,224 5.7% 3,976 0.0%
Symfony\Component\HttpFoundation\ParameterBag::add 153 0.2% 628 0.2% 341 0.1% 757 0.2% 360 0.1% 209,080 0.6% -244,448 -0.7% 3,464 0.0% 696 0.0%
reset 152 0.2% 22 0.0% 22 0.0% 182 0.1% 182 0.1% 10,360 0.0% 10,360 0.0% 3,328 0.0% 3,328 0.0%
Drupal\Core\Entity\EntityType::getKeys 151 0.2% 197 0.1% 197 0.1% 293 0.1% 293 0.1% 120,880 0.3% 120,880 0.3% 18,840 0.1% 18,840 0.1%
strlen 149 0.2% 5 0.0% 5 0.0% 169 0.1% 169 0.1% 10,504 0.0% 10,504 0.0% 4,744 0.0% 4,744 0.0%
t 149 0.2% 4,910 1.4% 593 0.2% 5,041 1.5% 510 0.2% 293,448 0.8% 25,496 0.1% 651,400 1.8% 7,536 0.0%
Drupal::translation 149 0.2% 2,616 0.7% 320 0.1% 2,724 0.8% 306 0.1% 232,072 0.6% 14,208 0.0% 236,736 0.7% 2,480 0.0%
Drupal\Core\Entity\EntityType::getKey 147 0.2% 603 0.2% 351 0.1% 714 0.2% 360 0.1% 16,160 0.0% -105,648 -0.3% 24,240 0.1% 2,672 0.0%
Drupal\Core\DependencyInjection\Container::get@1 141 0.2% 42,922 12.2% 750 0.2% 42,508 12.7% 656 0.2% 6,482,200 18.0% 55,048 0.2% 6,120,856 17.0% 21,864 0.1%
Symfony\Component\DependencyInjection\Container::get@1 141 0.2% 42,125 12.0% 667 0.2% 41,681 12.5% 648 0.2% 6,426,352 17.8% 9,856 0.0% 6,098,424 16.9% 20,872 0.1%
Drupal\Core\Language\LanguageManager::getDefaultLanguage 140 0.2% 380 0.1% 349 0.1% 529 0.2% 341 0.1% 3,776 0.0% 2,904 0.0% 1,896 0.0% 1,056 0.0%
Drupal\Core\Language\LanguageDefault::get 140 0.2% 31 0.0% 31 0.0% 188 0.1% 188 0.1% 872 0.0% 872 0.0% 840 0.0% 840 0.0%
Drupal\Core\Config\Config::isNew 140 0.2% 29 0.0% 29 0.0% 185 0.1% 185 0.1% 856 0.0% 856 0.0% 0 0.0% 0 0.0%
[ display all ]