Diff Report
Run #51a191a350534: XHProf Run (Namespace=drupal-perf-ezeedub)
vs.
Run #51a19275db084: XHProf Run (Namespace=drupal-perf-ezeedub)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\ContentNegotiation::getContentType

Drupal\Core\ContentNegotiation::getContentTypeRun #51a191a350534Run #51a19275db084DiffDiff%
Number of Function Calls2 4 2 100.0%
Incl. Wall Time (microsec)722 1,106 384 53.2%
Incl. Wall Time (microsec) per call 361 277 -85 -23.4%
Excl. Wall Time (microsec)65 126 61 93.8%
Incl. CPU (microsecs)0 4,000 4,000 N/A%
Incl. CPU (microsecs) per call 0 1,000 1,000 N/A%
Excl. CPU (microsec)0 0 0 N/A%
Incl. MemUse (bytes)31,864 32,372 508 1.6%
Incl. MemUse (bytes) per call 15,932 8,093 -7,839 -49.2%
Excl. MemUse (bytes)1,892 2,288 396 20.9%
Incl. PeakMemUse (bytes)30,308 29,892 -416 -1.4%
Incl. PeakMemUse (bytes) per call 15,154 7,473 -7,681 -50.7%
Excl. PeakMemUse (bytes)1,812 1,484 -328 -18.1%

Parent/Child Regression/Improvement report for Drupal\Core\ContentNegotiation::getContentType [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\ContentNegotiation::getContentType2 14.3% 384 0.6% 4,000 6.2% 508 0.1% -416 -0.1%
Exclusive Metrics Diff for Current Function61 15.9% 0 0.0% 396 78.0% -328 -78.8%
Parent functions
drupal_get_js2 100.0% 381 99.2% 4,000 100.0% 508 100.0% 0 0.0%
Drupal\Core\EventSubscriber\ViewSubscriber::onView0 0.0% 10 2.6% 0 0.0% 0 0.0% -416 -100.0%
Drupal\Core\Routing\Enhancer\AjaxEnhancer::enhance0 0.0% -7 -1.8% 0 0.0% 0 0.0% 0 0.0%
Child functions
Symfony\Component\HttpFoundation\Request::get2 16.7% 133 34.6% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::getFormat2 16.7% 133 34.6% 4,000 100.0% 56 11.0% -88 -21.2%
Symfony\Component\HttpFoundation\Request::isXmlHttpRequest2 16.7% 50 13.0% 0 0.0% 56 11.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::getAcceptableContentTypes2 16.7% 3 0.8% 0 0.0% 0 0.0% 0 0.0%
in_array2 16.7% 2 0.5% 0 0.0% 0 0.0% 0 0.0%
is_null2 16.7% 2 0.5% 0 0.0% 0 0.0% 0 0.0%