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

Parent/Child report for Drupal\Core\Cache\Cache::mergeContexts [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Cache\Cache::mergeContexts417 16.6% 5,067 0.3% -347,984 -0.8% 52,624 0.1%
Exclusive Metrics for Current Function2,443 48.2% -645,008 -185.4% 10,080 19.2%
Parent functions
Drupal\Core\Cache\CacheableMetadata::merge148 35.5% 2,201 43.4% -459,328 -132.0% 35,144 66.8%
Drupal\Core\Access\AccessResult::addCacheContexts169 40.5% 1,640 32.4% 53,720 15.4% 2,000 3.8%
Drupal\Core\Config\ConfigBase::addCacheContexts32 7.7% 398 7.9% 26,928 7.7% 13,832 26.3%
Drupal\Core\Entity\Entity::addCacheContexts34 8.2% 311 6.1% 11,016 3.2% 1,048 2.0%
Drupal\Core\Render\Renderer::doRender@312 2.9% 212 4.2% 6,968 2.0% 0 0.0%
Drupal\block\BlockViewBuilder::viewMultiple14 3.4% 139 2.7% 6,144 1.8% 0 0.0%
Drupal\Core\Cache\CacheableMetadata::addCacheContexts5 1.2% 74 1.5% 2,296 0.7% 600 1.1%
Drupal\Core\Render\MainContent\HtmlRenderer::renderResponse1 0.2% 44 0.9% 2,120 0.6% 0 0.0%
Drupal\Core\Render\Renderer::doRender@11 0.2% 36 0.7% 1,160 0.3% 0 0.0%
Drupal\Core\Breadcrumb\Breadcrumb::addCacheContexts1 0.2% 12 0.2% 992 0.3% 0 0.0%
Child functions
Drupal::service417 20.0% 1,374 27.1% 4,496 1.3% 9,296 17.7%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens417 20.0% 981 19.4% 9,560 2.7% 7,472 14.2%
array_unique417 20.0% 158 3.1% 132,056 37.9% 14,768 28.1%
array_merge417 20.0% 75 1.5% 150,272 43.2% 10,592 20.1%
sort417 20.0% 36 0.7% 640 0.2% 416 0.8%