Run Report
Run #565914310b034: XHProf Run (Namespace=drupal-perf-joelpittet)
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::optimizeTokens37 4.3% 2,362 0.4% 101,192 0.3% 35,416 0.1%
Exclusive Metrics for Current Function1,237 52.4% -26,624 -26.3% 0 0.0%
Parent function
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys37 100.0% 2,362 100.0% 101,192 100.0% 35,416 100.0%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::getService54 6.7% 950 40.2% 63,328 62.6% 35,416 100.0%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getCacheableMetadata4 0.5% 91 3.9% 8,568 8.5% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata12 1.5% 55 2.3% 8,160 8.1% 0 0.0%
str_replace54 6.7% 14 0.6% 6,456 6.4% 0 0.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getCacheableMetadata1 0.1% 9 0.4% 3,248 3.2% 0 0.0%
explode49 6.0% 4 0.2% 25,848 25.5% 0 0.0%
in_array67 8.3% 2 0.1% 672 0.7% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata1 0.1% 0 0.0% 864 0.9% 0 0.0%
strrpos67 8.3% 0 0.0% 672 0.7% 0 0.0%
Drupal\Core\Cache\Context\LanguagesCacheContext::getCacheableMetadata36 4.4% 0 0.0% 5,624 5.6% 0 0.0%
Drupal\Core\Cache\CacheableMetadata::getCacheMaxAge54 6.7% 0 0.0% 712 0.7% 0 0.0%
strpos346 42.6% 0 0.0% 664 0.7% 0 0.0%
substr67 8.3% 0 0.0% 3,000 3.0% 0 0.0%