Diff Report
Run #560d7dac0c098: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #560d8088818a3: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys

Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeysRun #560d7dac0c098Run #560d8088818a3DiffDiff%
Number of Function Calls34 34 0 0.0%
Incl. Wall Time (microsec)8,727 9,011 284 3.3%
Incl. Wall Time (microsec) per call 257 265 8 3.3%
Excl. Wall Time (microsec)985 1,014 29 2.9%
Incl. MemUse (bytes)456,376 456,648 272 0.1%
Incl. MemUse (bytes) per call 13,423 13,431 8 0.1%
Excl. MemUse (bytes)-91,584 -91,592 -8 -0.0%
Incl. PeakMemUse (bytes)72,104 71,952 -152 -0.2%
Incl. PeakMemUse (bytes) per call 2,121 2,116 -4 -0.2%
Excl. PeakMemUse (bytes)2,312 2,368 56 2.4%

Parent/Child Regression/Improvement report for Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys0 N/A% 284 2.0% 272 1.1% -152 -0.5%
Exclusive Metrics Diff for Current Function29 10.2% -8 -2.9% 56 36.8%
Parent function
Drupal\Core\Render\RenderCache::createCacheID0 N/A% 284 100.0% 272 100.0% -152 -100.0%
Child functions
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getContext0 N/A% 107 37.7% 16 5.9% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens0 N/A% 73 25.7% 128 47.1% 0 0.0%
Drupal\Core\Cache\Context\LanguagesCacheContext::getContext0 N/A% 36 12.7% 64 23.5% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getContext0 N/A% 14 4.9% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::getService0 N/A% 6 2.1% 56 20.6% -376 -247.4%
Drupal\Core\Cache\Context\ThemeCacheContext::getContext0 N/A% 5 1.8% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\UrlCacheContext::getContext0 N/A% 5 1.8% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens0 N/A% 4 1.4% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\RouteCacheContext::getContext0 N/A% 4 1.4% 16 5.9% 80 52.6%
Drupal\Core\Cache\CacheableMetadata::merge0 N/A% 2 0.7% 0 0.0% 0 0.0%
array_combine0 N/A% -2 -0.7% 0 0.0% 0 0.0%
array_diff0 N/A% -2 -0.7% 0 0.0% 136 89.5%
Drupal\Core\Cache\Context\RequestFormatCacheContext::getContext0 N/A% 1 0.4% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\ContextCacheKeys::__construct0 N/A% 1 0.4% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::parseTokens0 N/A% 1 0.4% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getContext0 N/A% 0 0.0% 0 0.0% 0 0.0%
spl_autoload_call0 N/A% 0 0.0% -16 -5.9% -48 -31.6%
sort0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext0 N/A% 0 0.0% 16 5.9% 0 0.0%