Run Report
Run #55f250cd3eb64: 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,763 2.6% 506,056 1.9% 428,744 1.6%
Exclusive Metrics for Current Function2,242 14.2% -158,832 -31.4% 4,112 1.0%
Parent functions
Drupal\Core\Render\RenderCache::createCacheID63 98.4% 14,241 90.3% 412,440 81.5% 348,440 81.3%
Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey1 1.6% 1,522 9.7% 93,616 18.5% 80,304 18.7%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens64 6.5% 4,339 27.5% 146,368 28.9% 112,248 26.2%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext61 6.2% 2,138 13.6% 169,552 33.5% 170,232 39.7%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext65 6.6% 1,637 10.4% 8,784 1.7% 12,272 2.9%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext17 1.7% 1,154 7.3% 22,136 4.4% 25,072 5.8%
Drupal\Core\Cache\Context\CacheContextsManager::getService196 20.0% 1,030 6.5% 35,128 6.9% 50,704 11.8%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext12 1.2% 895 5.7% 16,032 3.2% 28,104 6.6%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens128 13.1% 582 3.7% 139,512 27.6% 2,704 0.6%
Drupal\Core\Cache\Context\UrlCacheContext::getContext4 0.4% 331 2.1% 3,072 0.6% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens64 6.5% 322 2.0% 3,128 0.6% 2,992 0.7%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext3 0.3% 309 2.0% 8,488 1.7% 6,232 1.5%
Drupal\Core\Cache\Context\RouteCacheContext::getContext3 0.3% 176 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% 109 0.7% 12,416 2.5% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getContext1 0.1% 78 0.5% 3,808 0.8% 0 0.0%
array_combine64 6.5% 43 0.3% 31,104 6.1% 568 0.1%
Drupal\Core\Cache\Context\TimeZoneCacheContext::getContext12 1.2% 42 0.3% 2,752 0.5% 0 0.0%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getContext2 0.2% 37 0.2% 2,832 0.6% 1,512 0.4%
spl_autoload_call1 0.1% 35 0.2% 10,512 2.1% 8,248 1.9%
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% 23 0.1% 2,752 0.5% 0 0.0%
sort64 6.5% 15 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\MenuActiveTrailsCacheContext::getCacheableMetadata4 0.4% 8 0.1% 2,880 0.6% 0 0.0%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct64 6.5% 8 0.1% 720 0.1% 488 0.1%
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% 864 0.2% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata1 0.1% 0 0.0% 864 0.2% 0 0.0%