Diff Report
Run #55f237e5dec64: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #55f238230dd98: 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 #55f237e5dec64Run #55f238230dd98DiffDiff%
Number of Function Calls3 3 0 0.0%
Incl. Wall Time (microsec)1,593 1,600 7 0.4%
Incl. Wall Time (microsec) per call 531 533 2 0.4%
Excl. Wall Time (microsec)484 490 6 1.2%
Incl. MemUse (bytes)123,496 123,496 0 0.0%
Incl. MemUse (bytes) per call 41,165 41,165 0 0.0%
Excl. MemUse (bytes)-16,104 -16,104 0 0.0%
Incl. PeakMemUse (bytes)82,256 82,304 48 0.1%
Incl. PeakMemUse (bytes) per call 27,419 27,435 16 0.1%
Excl. PeakMemUse (bytes)288 288 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% 7 0.3% 0 0.0% 48 7.5%
Exclusive Metrics Diff for Current Function6 85.7% 0 N/A% 0 0.0%
Parent functions
Drupal\Core\EventSubscriber\FinishResponseSubscriber::onRespond0 N/A% 5 71.4% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys0 N/A% 2 28.6% 0 N/A% 48 100.0%
Child functions
Drupal\node\Cache\NodeAccessGrantsCacheContext::getCacheableMetadata0 N/A% 2 28.6% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::getService0 N/A% -2 -28.6% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getCacheableMetadata0 N/A% 1 14.3% 0 N/A% 48 100.0%
in_array0 N/A% 1 14.3% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\LanguagesCacheContext::getCacheableMetadata0 N/A% -1 -14.3% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\SiteCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\QueryArgsCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 N/A% 0 0.0%
explode0 N/A% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\RouteCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 N/A% 0 0.0%
strrpos0 N/A% 0 0.0% 0 N/A% 0 0.0%
str_replace0 N/A% 0 0.0% 0 N/A% 0 0.0%
substr0 N/A% 0 0.0% 0 N/A% 0 0.0%
strpos0 N/A% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata0 N/A% 0 0.0% 0 N/A% 0 0.0%
Drupal\Core\Cache\CacheableMetadata::getCacheMaxAge0 N/A% 0 0.0% 0 N/A% 0 0.0%