Run Report
Run #565918537d922: 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::optimizeTokens3,700 4.3% 241,914 0.3% 10,121,560 0.3% 3,511,392 0.1%
Exclusive Metrics for Current Function127,419 52.7% -2,662,496 -26.3% 0 0.0%
Parent function
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys3,700 100.0% 241,914 100.0% 10,121,560 100.0% 3,511,392 100.0%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::getService5,400 6.7% 96,666 40.0% 6,335,056 62.6% 3,511,392 100.0%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getCacheableMetadata400 0.5% 9,143 3.8% 856,800 8.5% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata1,200 1.5% 5,266 2.2% 816,000 8.1% 0 0.0%
str_replace5,400 6.7% 1,178 0.5% 645,664 6.4% 0 0.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getCacheableMetadata100 0.1% 911 0.4% 324,848 3.2% 0 0.0%
explode4,900 6.0% 538 0.2% 2,584,848 25.5% 0 0.0%
in_array6,700 8.3% 412 0.2% 67,200 0.7% 0 0.0%
Drupal\Core\Cache\Context\LanguagesCacheContext::getCacheableMetadata3,600 4.4% 200 0.1% 562,432 5.6% 0 0.0%
strpos34,600 42.6% 118 0.0% 66,400 0.7% 0 0.0%
substr6,700 8.3% 42 0.0% 300,000 3.0% 0 0.0%
strrpos6,700 8.3% 13 0.0% 67,208 0.7% 0 0.0%
Drupal\Core\Cache\CacheableMetadata::getCacheMaxAge5,400 6.7% 7 0.0% 71,200 0.7% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata100 0.1% 1 0.0% 86,400 0.9% 0 0.0%