Diff Report
Run #51981e3ae1e6c: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #51981beb768ad: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

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

Drupal\Core\ContentNegotiation::getContentTypeRun #51981e3ae1e6cRun #51981beb768adDiffDiff%
Number of Function Calls3 3 0 0.0%
Incl. Wall Time (microsec)1,000 1,007 7 0.7%
Incl. Wall Time (microsec) per call 333 336 2 0.7%
Excl. Wall Time (microsec)75 73 -2 -2.7%
Incl. CPU (microsecs)1,003 1,011 8 0.8%
Incl. CPU (microsecs) per call 334 337 3 0.8%
Excl. CPU (microsec)60 51 -9 -15.0%
Incl. MemUse (bytes)108,720 108,744 24 0.0%
Incl. MemUse (bytes) per call 36,240 36,248 8 0.0%
Excl. MemUse (bytes)4,280 4,280 0 0.0%
Incl. PeakMemUse (bytes)104,992 105,144 152 0.1%
Incl. PeakMemUse (bytes) per call 34,997 35,048 51 0.1%
Excl. PeakMemUse (bytes)2,928 2,928 0 0.0%

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::getContentType0 N/A% 7 5.7% 8 1.5% 24 0.1% 152 0.5%
Exclusive Metrics Diff for Current Function-2 -28.6% -9 -112.5% 0 0.0% 0 0.0%
Parent functions
Drupal\Core\Routing\Enhancer\AjaxEnhancer::enhance0 N/A% 6 85.7% 5 62.5% 24 100.0% 152 100.0%
drupal_get_js0 N/A% 2 28.6% 4 50.0% 0 0.0% 0 0.0%
Drupal\Core\EventSubscriber\ViewSubscriber::onView0 N/A% -1 -14.3% -1 -12.5% 0 0.0% 0 0.0%
Child functions
Symfony\Component\HttpFoundation\Request::getAcceptableContentTypes0 N/A% 6 85.7% 6 75.0% 24 100.0% 152 100.0%
Symfony\Component\HttpFoundation\Request::get0 N/A% 2 28.6% 4 50.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::getFormat0 N/A% 1 14.3% 2 25.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::isXmlHttpRequest0 N/A% 0 0.0% 2 25.0% 0 0.0% 0 0.0%
is_null0 N/A% 0 0.0% 2 25.0% 0 0.0% 0 0.0%
in_array0 N/A% 0 0.0% 1 12.5% 0 0.0% 0 0.0%