Run Report
Run #5608311397db4: 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,197 2.4% 617,848 2.0% 544,952 1.8%
Exclusive Metrics for Current Function3,894 16.8% -365,464 -59.2% 3,648 0.7%
Parent functions
Drupal\Core\Render\RenderCache::createCacheID129 99.2% 22,676 97.8% 584,384 94.6% 501,064 91.9%
Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey1 0.8% 521 2.2% 33,464 5.4% 43,888 8.1%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens130 6.2% 7,619 32.8% 188,288 30.5% 147,616 27.1%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext128 6.1% 3,229 13.9% 37,400 6.1% 86,304 15.8%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext127 6.0% 2,531 10.9% 173,488 28.1% 174,344 32.0%
Drupal\Core\Cache\Context\CacheContextsManager::getService462 22.0% 1,358 5.9% 35,168 5.7% 50,576 9.3%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext12 0.6% 917 4.0% 16,032 2.6% 31,712 5.8%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext131 6.2% 838 3.6% 35,248 5.7% 32,992 6.1%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens260 12.4% 832 3.6% 313,040 50.7% 3,680 0.7%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens130 6.2% 521 2.2% 1,056 0.2% 1,152 0.2%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getContext3 0.1% 269 1.2% 8,488 1.4% 480 0.1%
Drupal\Core\Cache\Context\RouteCacheContext::getContext7 0.3% 268 1.2% 19,088 3.1% 2,440 0.4%
Drupal\Core\Cache\Context\UrlCacheContext::getContext4 0.2% 268 1.2% 3,072 0.5% 240 0.0%
Drupal\Core\Cache\CacheableMetadata::merge139 6.6% 182 0.8% 22,240 3.6% 488 0.1%
array_diff130 6.2% 144 0.6% 23,512 3.8% 0 0.0%
Drupal\Core\Cache\Context\TimeZoneCacheContext::getContext31 1.5% 97 0.4% 4,432 0.7% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getContext1 0.0% 66 0.3% 3,904 0.6% 0 0.0%
spl_autoload_call1 0.0% 36 0.2% 10,512 1.7% 8,248 1.5%
array_combine130 6.2% 33 0.1% 67,296 10.9% 544 0.1%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getContext2 0.1% 30 0.1% 2,832 0.5% 0 0.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext3 0.1% 24 0.1% 3,800 0.6% 0 0.0%
Drupal\Core\Cache\Context\RequestFormatCacheContext::getContext3 0.1% 18 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%
sort130 6.2% 6 0.0% 672 0.1% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata4 0.2% 5 0.0% 2,880 0.5% 0 0.0%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct130 6.2% 3 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\RouteCacheContext::getCacheableMetadata1 0.0% 0 0.0% 864 0.1% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata1 0.0% 0 0.0% 864 0.1% 0 0.0%