Run Report
Run #55a8732244c39: 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::convertTokensToKeys8 5.7% 3,592 4.8% 355,624 2.1% 337,744 2.0%
Exclusive Metrics for Current Function211 5.9% -15,536 -4.4% 3,984 1.2%
Parent function
Drupal\Core\Render\RenderCache::createCacheID8 100.0% 3,592 100.0% 355,624 100.0% 337,744 100.0%
Child functions
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext8 6.4% 1,003 27.9% 8,072 2.3% 8,024 2.4%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext8 6.4% 868 24.2% 187,016 52.6% 173,608 51.4%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens8 6.4% 626 17.4% 81,688 23.0% 67,992 20.1%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext8 6.4% 380 10.6% 25,960 7.3% 29,112 8.6%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext5 4.0% 263 7.3% 16,392 4.6% 30,800 9.1%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens16 12.8% 80 2.2% 23,000 6.5% 6,720 2.0%
Drupal\Core\Cache\Context\CacheContextsManager::getService30 24.0% 73 2.0% 9,400 2.6% 7,776 2.3%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens8 6.4% 27 0.8% 896 0.3% 1,304 0.4%
spl_autoload_call1 0.8% 27 0.8% 9,712 2.7% 5,728 1.7%
Drupal\Core\Cache\CacheableMetadata::merge8 6.4% 15 0.4% 1,864 0.5% 400 0.1%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext1 0.8% 10 0.3% 3,744 1.1% 1,064 0.3%
array_diff8 6.4% 9 0.3% 2,024 0.6% 368 0.1%
sort8 6.4% 0 0.0% 672 0.2% 456 0.1%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct8 6.4% 0 0.0% 720 0.2% 408 0.1%