Diff Report
Run #5608311397db4: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5608318a89619: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokensRun #5608311397db4Run #5608318a89619DiffDiff%
Number of Function Calls131 131 0 0.0%
Incl. Wall Time (microsec)7,902 7,925 23 0.3%
Incl. Wall Time (microsec) per call 60 60 0 0.3%
Excl. Wall Time (microsec)4,564 4,617 53 1.2%
Incl. MemUse (bytes)190,176 190,184 8 0.0%
Incl. MemUse (bytes) per call 1,452 1,452 0 0.0%
Excl. MemUse (bytes)-180,432 -179,792 640 0.4%
Incl. PeakMemUse (bytes)147,616 147,328 -288 -0.2%
Incl. PeakMemUse (bytes) per call 1,127 1,125 -2 -0.2%
Excl. PeakMemUse (bytes)1,808 1,808 0 0.0%

Parent/Child Regression/Improvement report for Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens [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::optimizeTokens0 N/A% 23 0.5% 8 0.6% -288 -11.0%
Exclusive Metrics Diff for Current Function53 230.4% 640 8000.0% 0 0.0%
Parent functions
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys0 N/A% 12 52.2% 8 100.0% -288 -100.0%
Drupal\Core\EventSubscriber\FinishResponseSubscriber::onRespond0 N/A% 11 47.8% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Cache\Context\CacheContextsManager::getService0 N/A% -47 -204.3% 24 300.0% -240 -83.3%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getCacheableMetadata0 N/A% 9 39.1% -208 -2600.0% 48 16.7%
Drupal\node\Cache\NodeAccessGrantsCacheContext::getCacheableMetadata0 N/A% 2 8.7% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata0 N/A% 2 8.7% 8 100.0% 8 2.8%
in_array0 N/A% 2 8.7% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\LanguagesCacheContext::getCacheableMetadata0 N/A% 2 8.7% -96 -1200.0% 0 0.0%
str_replace0 N/A% -1 -4.3% -56 -700.0% -56 -19.4%
explode0 N/A% 1 4.3% -184 -2300.0% -48 -16.7%
Drupal\Core\Cache\Context\UserRolesCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\RouteCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 0.0% 0 0.0%
strrpos0 N/A% 0 0.0% 0 0.0% 0 0.0%
substr0 N/A% 0 0.0% -120 -1500.0% 0 0.0%
strpos0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Cache\CacheableMetadata::getCacheMaxAge0 N/A% 0 0.0% 0 0.0% 0 0.0%