Run Report
Run #55f24c41088f1: 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,294 2.7% 506,096 1.9% 379,224 1.4%
Exclusive Metrics for Current Function2,143 14.0% -158,832 -31.4% 4,024 1.1%
Parent functions
Drupal\Core\Render\RenderCache::createCacheID63 98.4% 13,859 90.6% 412,464 81.5% 298,848 78.8%
Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey1 1.6% 1,435 9.4% 93,632 18.5% 80,376 21.2%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens64 6.5% 4,066 26.6% 146,424 28.9% 91,280 24.1%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext61 6.2% 2,314 15.1% 169,528 33.5% 170,128 44.9%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext65 6.6% 1,529 10.0% 8,784 1.7% 12,272 3.2%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext17 1.7% 1,188 7.8% 22,136 4.4% 25,168 6.6%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext12 1.2% 974 6.4% 16,040 3.2% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::getService196 20.0% 945 6.2% 35,128 6.9% 50,704 13.4%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens128 13.1% 499 3.3% 139,512 27.6% 2,704 0.7%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens64 6.5% 302 2.0% 3,128 0.6% 2,640 0.7%
Drupal\Core\Cache\Context\UrlCacheContext::getContext4 0.4% 298 1.9% 3,072 0.6% 0 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext3 0.3% 290 1.9% 8,488 1.7% 6,232 1.6%
Drupal\Core\Cache\Context\RouteCacheContext::getContext3 0.3% 180 1.2% 18,448 3.6% 2,712 0.7%
Drupal\Core\Cache\CacheableMetadata::merge73 7.5% 147 1.0% 12,592 2.5% 544 0.1%
array_diff64 6.5% 106 0.7% 12,416 2.5% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getContext1 0.1% 83 0.5% 3,808 0.8% 0 0.0%
Drupal\Core\Cache\Context\TimeZoneCacheContext::getContext12 1.2% 40 0.3% 2,752 0.5% 0 0.0%
array_combine64 6.5% 37 0.2% 31,104 6.1% 568 0.1%
spl_autoload_call1 0.1% 35 0.2% 10,512 2.1% 8,248 2.2%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getContext2 0.2% 34 0.2% 2,832 0.6% 1,512 0.4%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext3 0.3% 29 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%
Drupal\Core\Cache\Context\PathCacheContext::getContext1 0.1% 10 0.1% 3,792 0.7% 0 0.0%
sort64 6.5% 10 0.1% 672 0.1% 0 0.0%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct64 6.5% 7 0.0% 720 0.1% 488 0.1%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata4 0.4% 6 0.0% 2,880 0.6% 0 0.0%
Drupal\Core\Cache\Context\RouteCacheContext::getCacheableMetadata1 0.1% 1 0.0% 864 0.2% 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\PathCacheContext::getCacheableMetadata1 0.1% 0 0.0% 864 0.2% 0 0.0%