Diff Report
Run #565918537d922: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5659186b7d6e0: 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 #565918537d922Run #5659186b7d6e0DiffDiff%
Number of Function Calls3,700 3,700 0 0.0%
Incl. Wall Time (microsec)241,914 243,208 1,294 0.5%
Incl. Wall Time (microsec) per call 65 66 0 0.5%
Excl. Wall Time (microsec)127,419 128,835 1,416 1.1%
Incl. MemUse (bytes)10,121,560 10,114,616 -6,944 -0.1%
Incl. MemUse (bytes) per call 2,736 2,734 -2 -0.1%
Excl. MemUse (bytes)-2,662,496 -2,662,584 -88 -0.0%
Incl. PeakMemUse (bytes)3,511,392 3,506,184 -5,208 -0.1%
Incl. PeakMemUse (bytes) per call 949 948 -1 -0.1%
Excl. PeakMemUse (bytes)0 0 0 N/A%

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% 1,294 0.3% -6,944 -0.4% -5,208 -0.3%
Exclusive Metrics Diff for Current Function1,416 109.4% -88 -1.3% 0 0.0%
Parent function
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys0 N/A% 1,294 100.0% -6,944 -100.0% -5,208 -100.0%
Child functions
Drupal\Core\Cache\Context\AccountPermissionsCacheContext::getCacheableMetadata0 N/A% -144 -11.1% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::getService0 N/A% -126 -9.7% -6,920 -99.7% -5,208 -100.0%
explode0 N/A% 114 8.8% 16 0.2% 0 0.0%
strpos0 N/A% -71 -5.5% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\MenuActiveTrailsCacheContext::getCacheableMetadata0 N/A% 67 5.2% 0 0.0% 0 0.0%
str_replace0 N/A% 39 3.0% 16 0.2% 0 0.0%
substr0 N/A% -17 -1.3% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getCacheableMetadata0 N/A% 13 1.0% 16 0.2% 0 0.0%
Drupal\Core\Cache\Context\LanguagesCacheContext::getCacheableMetadata0 N/A% 13 1.0% 24 0.3% 0 0.0%
in_array0 N/A% -12 -0.9% 0 0.0% 0 0.0%
Drupal\Core\Cache\CacheableMetadata::getCacheMaxAge0 N/A% 12 0.9% 0 0.0% 0 0.0%
strrpos0 N/A% -9 -0.7% -8 -0.1% 0 0.0%
Drupal\Core\Cache\Context\PathCacheContext::getCacheableMetadata0 N/A% -1 -0.1% 0 0.0% 0 0.0%