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

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


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys9 5.7% 4,148 7.0% 414,112 3.1% 403,608 3.0%
Exclusive Metrics for Current Function232 5.6% -18,112 -4.4% 4,992 1.2%
Parent function
Drupal\Core\Render\RenderCache::createCacheID9 100.0% 4,148 100.0% 414,112 100.0% 403,608 100.0%
Child functions
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext9 6.3% 1,103 26.6% 10,184 2.5% 15,928 3.9%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens9 6.3% 890 21.5% 112,448 27.2% 84,976 21.1%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext9 6.3% 883 21.3% 187,928 45.4% 186,384 46.2%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext9 6.3% 431 10.4% 25,960 6.3% 30,832 7.6%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext5 3.5% 262 6.3% 16,392 4.0% 33,720 8.4%
Drupal\Core\Cache\Context\CacheContextsManager::getService35 24.5% 85 2.0% 9,400 2.3% 8,384 2.1%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens18 12.6% 62 1.5% 26,376 6.4% 9,048 2.2%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext1 0.7% 61 1.5% 8,392 2.0% 7,576 1.9%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens9 6.3% 54 1.3% 8,576 2.1% 8,168 2.0%
spl_autoload_call1 0.7% 26 0.6% 9,712 2.3% 5,728 1.4%
Drupal\Core\Cache\Context\PagersCacheContext::getContext1 0.7% 18 0.4% 7,520 1.8% 5,344 1.3%
Drupal\Core\Cache\CacheableMetadata::merge9 6.3% 17 0.4% 2,008 0.5% 400 0.1%
array_diff9 6.3% 13 0.3% 2,192 0.5% 368 0.1%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext1 0.7% 10 0.2% 3,744 0.9% 896 0.2%
sort9 6.3% 1 0.0% 672 0.2% 456 0.1%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct9 6.3% 0 0.0% 720 0.2% 408 0.1%