Run Report
Run #55a8735248325: XHProf Run (Namespace=drupal-perf-lauriii)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens9 2.1% 816 1.2% 98,984 0.6% 79,024 0.5%
Exclusive Metrics for Current Function398 48.8% -16,640 -16.8% 6,200 7.8%
Parent functions
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys8 88.9% 632 77.5% 81,712 82.6% 68,416 86.6%
Drupal\Core\EventSubscriber\FinishResponseSubscriber::onRespond1 11.1% 184 22.5% 17,272 17.4% 10,608 13.4%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::getService31 7.5% 346 42.4% 74,512 75.3% 58,744 74.3%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getCacheableMetadata9 2.2% 56 6.9% 9,608 9.7% 5,280 6.7%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata9 2.2% 16 2.0% 6,560 6.6% 1,936 2.4%
in_array43 10.4% 0 0.0% 672 0.7% 528 0.7%
Drupal\Core\Cache\Context\UserRolesCacheContext::getCacheableMetadata3 0.7% 0 0.0% 1,136 1.1% 0 0.0%
Drupal\Core\Cache\Context\RouteCacheContext::getCacheableMetadata1 0.2% 0 0.0% 864 0.9% 416 0.5%
substr43 10.4% 0 0.0% 2,184 2.2% 664 0.8%
strrpos43 10.4% 0 0.0% 672 0.7% 624 0.8%
explode21 5.1% 0 0.0% 11,472 11.6% 1,640 2.1%
Drupal\Core\Cache\Context\LanguagesCacheContext::getCacheableMetadata9 2.2% 0 0.0% 1,952 2.0% 736 0.9%
Drupal\Core\Cache\CacheableMetadata::getCacheMaxAge31 7.5% 0 0.0% 712 0.7% 616 0.8%
str_replace31 7.5% 0 0.0% 4,616 4.7% 976 1.2%
strpos141 34.0% 0 0.0% 664 0.7% 664 0.8%