Run Report
Run #55f2459f810af: 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,745 2.7% 506,072 1.9% 428,680 1.6%
Exclusive Metrics for Current Function2,230 14.2% -158,832 -31.4% 4,112 1.0%
Parent functions
Drupal\Core\Render\RenderCache::createCacheID63 98.4% 14,154 89.9% 412,456 81.5% 348,376 81.3%
Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey1 1.6% 1,591 10.1% 93,616 18.5% 80,304 18.7%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens64 6.5% 4,329 27.5% 146,368 28.9% 112,248 26.2%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext61 6.2% 2,168 13.8% 169,552 33.5% 170,232 39.7%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext65 6.6% 1,649 10.5% 8,784 1.7% 12,272 2.9%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext17 1.7% 1,187 7.5% 22,136 4.4% 25,072 5.8%
Drupal\Core\Cache\Context\CacheContextsManager::getService196 20.0% 987 6.3% 35,128 6.9% 50,704 11.8%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext12 1.2% 957 6.1% 16,032 3.2% 28,040 6.5%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens128 13.1% 536 3.4% 139,512 27.6% 2,704 0.6%
Drupal\Core\Cache\Context\UrlCacheContext::getContext4 0.4% 326 2.1% 3,072 0.6% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens64 6.5% 313 2.0% 3,128 0.6% 2,992 0.7%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext3 0.3% 291 1.8% 8,488 1.7% 6,232 1.5%
Drupal\Core\Cache\Context\RouteCacheContext::getContext3 0.3% 173 1.1% 18,448 3.6% 2,712 0.6%
Drupal\Core\Cache\CacheableMetadata::merge73 7.5% 171 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,824 0.8% 0 0.0%
Drupal\Core\Cache\Context\TimeZoneCacheContext::getContext12 1.2% 43 0.3% 2,752 0.5% 0 0.0%
array_combine64 6.5% 40 0.3% 31,104 6.1% 568 0.1%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getContext2 0.2% 36 0.2% 2,832 0.6% 1,512 0.4%
spl_autoload_call1 0.1% 36 0.2% 10,512 2.1% 8,248 1.9%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext3 0.3% 28 0.2% 3,808 0.8% 0 0.0%
Drupal\Core\Cache\Context\RequestFormatCacheContext::getContext3 0.3% 22 0.1% 2,752 0.5% 0 0.0%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct64 6.5% 13 0.1% 720 0.1% 488 0.1%
sort64 6.5% 13 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% 6 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% 864 0.2% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata1 0.1% 0 0.0% 864 0.2% 0 0.0%