Run Report
Run #55f2450b58930: XHProf Run (Namespace=drupal-perf-joelpittet)
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::convertTokensToKeys64 6.1% 15,829 2.8% 506,064 1.9% 428,872 1.6%
Exclusive Metrics for Current Function2,237 14.1% -158,832 -31.4% 4,112 1.0%
Parent functions
Drupal\Core\Render\RenderCache::createCacheID63 98.4% 14,305 90.4% 412,432 81.5% 348,496 81.3%
Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey1 1.6% 1,524 9.6% 93,632 18.5% 80,376 18.7%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens64 6.5% 4,343 27.4% 146,384 28.9% 112,296 26.2%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext61 6.2% 2,193 13.9% 169,528 33.5% 170,128 39.7%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext65 6.6% 1,654 10.4% 8,784 1.7% 12,272 2.9%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext17 1.7% 1,153 7.3% 22,136 4.4% 25,072 5.8%
Drupal\Core\Cache\Context\CacheContextsManager::getService196 20.0% 1,011 6.4% 35,128 6.9% 50,704 11.8%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext12 1.2% 964 6.1% 16,032 3.2% 28,288 6.6%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens128 13.1% 546 3.4% 139,512 27.6% 2,704 0.6%
Drupal\Core\Cache\Context\UrlCacheContext::getContext4 0.4% 340 2.1% 3,072 0.6% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens64 6.5% 321 2.0% 3,128 0.6% 2,992 0.7%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext3 0.3% 293 1.9% 8,488 1.7% 6,232 1.5%
Drupal\Core\Cache\Context\RouteCacheContext::getContext3 0.3% 180 1.1% 18,448 3.6% 2,712 0.6%
Drupal\Core\Cache\CacheableMetadata::merge73 7.5% 168 1.1% 12,592 2.5% 544 0.1%
array_diff64 6.5% 105 0.7% 12,416 2.5% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getContext1 0.1% 74 0.5% 3,808 0.8% 0 0.0%
array_combine64 6.5% 42 0.3% 31,104 6.1% 568 0.1%
spl_autoload_call1 0.1% 40 0.3% 10,512 2.1% 8,248 1.9%
Drupal\Core\Cache\Context\TimeZoneCacheContext::getContext12 1.2% 38 0.2% 2,752 0.5% 0 0.0%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getContext2 0.2% 32 0.2% 2,832 0.6% 1,512 0.4%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext3 0.3% 30 0.2% 3,808 0.8% 0 0.0%
Drupal\Core\Cache\Context\RequestFormatCacheContext::getContext3 0.3% 21 0.1% 2,752 0.5% 0 0.0%
sort64 6.5% 14 0.1% 672 0.1% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getContext1 0.1% 12 0.1% 3,792 0.7% 0 0.0%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct64 6.5% 11 0.1% 720 0.1% 488 0.1%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata4 0.4% 7 0.0% 2,880 0.6% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getCacheableMetadata1 0.1% 0 0.0% 864 0.2% 0 0.0%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getCacheableMetadata2 0.2% 0 0.0% 1,008 0.2% 0 0.0%
Drupal\Core\Cache\Context\RouteCacheContext::getCacheableMetadata1 0.1% 0 0.0% 880 0.2% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata1 0.1% 0 0.0% 864 0.2% 0 0.0%