Run Report
Run #55f2501d384a2: 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,928 2.8% 506,064 1.9% 428,808 1.6%
Exclusive Metrics for Current Function2,171 13.6% -158,832 -31.4% 4,112 1.0%
Parent functions
Drupal\Core\Render\RenderCache::createCacheID63 98.4% 14,135 88.7% 412,432 81.5% 348,432 81.3%
Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey1 1.6% 1,793 11.3% 93,632 18.5% 80,376 18.7%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens64 6.5% 4,392 27.6% 146,400 28.9% 112,320 26.2%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext61 6.2% 2,180 13.7% 169,528 33.5% 170,128 39.7%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext65 6.6% 1,541 9.7% 8,784 1.7% 12,272 2.9%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext17 1.7% 1,252 7.9% 22,136 4.4% 25,072 5.8%
Drupal\Core\Cache\Context\CacheContextsManager::getService196 20.0% 1,093 6.9% 35,128 6.9% 50,704 11.8%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext12 1.2% 925 5.8% 16,032 3.2% 28,200 6.6%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens128 13.1% 531 3.3% 139,512 27.6% 2,704 0.6%
Drupal\Core\Cache\Context\UrlCacheContext::getContext4 0.4% 344 2.2% 3,072 0.6% 0 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext3 0.3% 340 2.1% 8,488 1.7% 6,232 1.5%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens64 6.5% 312 2.0% 3,128 0.6% 2,992 0.7%
Drupal\Core\Cache\Context\RouteCacheContext::getContext3 0.3% 224 1.4% 18,448 3.6% 2,712 0.6%
Drupal\Core\Cache\CacheableMetadata::merge73 7.5% 172 1.1% 12,592 2.5% 544 0.1%
array_diff64 6.5% 100 0.6% 12,416 2.5% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getContext1 0.1% 88 0.6% 3,808 0.8% 0 0.0%
spl_autoload_call1 0.1% 52 0.3% 10,512 2.1% 8,248 1.9%
Drupal\Core\Cache\Context\TimeZoneCacheContext::getContext12 1.2% 40 0.3% 2,752 0.5% 0 0.0%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getContext2 0.2% 40 0.3% 2,832 0.6% 1,512 0.4%
array_combine64 6.5% 40 0.3% 31,104 6.1% 568 0.1%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext3 0.3% 34 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%
Drupal\Core\Cache\Context\PathCacheContext::getContext1 0.1% 10 0.1% 3,792 0.7% 0 0.0%
sort64 6.5% 9 0.1% 672 0.1% 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% 7 0.0% 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%