Run Report
Run #5608318a89619: 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::convertTokensToKeys130 5.8% 23,701 2.5% 617,648 2.0% 544,560 1.8%
Exclusive Metrics for Current Function4,087 17.2% -365,024 -59.1% 3,648 0.7%
Parent functions
Drupal\Core\Render\RenderCache::createCacheID129 99.2% 23,191 97.8% 584,184 94.6% 500,672 91.9%
Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey1 0.8% 510 2.2% 33,464 5.4% 43,888 8.1%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens130 6.2% 7,631 32.2% 188,296 30.5% 147,328 27.1%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext128 6.1% 3,442 14.5% 37,328 6.0% 86,304 15.8%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext127 6.0% 2,515 10.6% 173,496 28.1% 174,480 32.0%
Drupal\Core\Cache\Context\CacheContextsManager::getService462 22.0% 1,312 5.5% 35,168 5.7% 50,576 9.3%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext131 6.2% 958 4.0% 35,248 5.7% 32,976 6.1%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext12 0.6% 941 4.0% 16,056 2.6% 31,424 5.8%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens260 12.4% 849 3.6% 312,536 50.6% 3,680 0.7%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens130 6.2% 492 2.1% 1,056 0.2% 1,152 0.2%
Drupal\Core\Cache\Context\RouteCacheContext::getContext7 0.3% 276 1.2% 19,088 3.1% 2,504 0.5%
Drupal\Core\Cache\Context\UrlCacheContext::getContext4 0.2% 275 1.2% 3,072 0.5% 240 0.0%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext3 0.1% 262 1.1% 8,488 1.4% 480 0.1%
Drupal\Core\Cache\CacheableMetadata::merge139 6.6% 176 0.7% 22,152 3.6% 488 0.1%
array_diff130 6.2% 148 0.6% 23,504 3.8% 0 0.0%
Drupal\Core\Cache\Context\TimeZoneCacheContext::getContext31 1.5% 94 0.4% 4,472 0.7% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getContext1 0.0% 65 0.3% 3,864 0.6% 0 0.0%
array_combine130 6.2% 51 0.2% 67,288 10.9% 544 0.1%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getContext2 0.1% 29 0.1% 2,832 0.5% 0 0.0%
spl_autoload_call1 0.0% 29 0.1% 10,512 1.7% 8,248 1.5%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext3 0.1% 25 0.1% 3,800 0.6% 0 0.0%
Drupal\Core\Cache\Context\RequestFormatCacheContext::getContext3 0.1% 20 0.1% 2,752 0.4% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getContext1 0.0% 9 0.0% 3,792 0.6% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata4 0.2% 5 0.0% 2,880 0.5% 0 0.0%
sort130 6.2% 5 0.0% 672 0.1% 0 0.0%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct130 6.2% 5 0.0% 720 0.1% 488 0.1%
Drupal\Core\Cache\Context\SiteCacheContext::getCacheableMetadata1 0.0% 0 0.0% 864 0.1% 0 0.0%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getCacheableMetadata2 0.1% 0 0.0% 1,008 0.2% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata1 0.0% 0 0.0% 864 0.1% 0 0.0%
Drupal\Core\Cache\Context\RouteCacheContext::getCacheableMetadata1 0.0% 0 0.0% 864 0.1% 0 0.0%