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

Regression/Improvement summary for Drupal\Core\Session\UserSession::hasPermission

Drupal\Core\Session\UserSession::hasPermissionRun #51f62b0e7bc11Run #51f628573214cDiffDiff%
Number of Function Calls242 242 0 0.0%
Incl. Wall Time (microsec)43,285 43,397 112 0.3%
Incl. Wall Time (microsec) per call 179 179 0 0.3%
Excl. Wall Time (microsec)3,968 4,036 68 1.7%
Incl. CPU (microsecs)56,002 44,002 -12,000 -21.4%
Incl. CPU (microsecs) per call 231 182 -50 -21.4%
Excl. CPU (microsec)4,001 8,000 3,999 100.0%
Incl. MemUse (bytes)1,020,912 1,020,920 8 0.0%
Incl. MemUse (bytes) per call 4,219 4,219 0 0.0%
Excl. MemUse (bytes)-633,392 -633,488 -96 -0.0%
Incl. PeakMemUse (bytes)1,300,720 1,301,952 1,232 0.1%
Incl. PeakMemUse (bytes) per call 5,375 5,380 5 0.1%
Excl. PeakMemUse (bytes)4,336 5,040 704 16.2%

Parent/Child Regression/Improvement report for Drupal\Core\Session\UserSession::hasPermission [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\Session\UserSession::hasPermission0 N/A% 112 0.6% -12,000 -60.0% 8 0.0% 1,232 0.3%
Exclusive Metrics Diff for Current Function68 60.7% 3,999 33.3% -96 -1200.0% 704 57.1%
Parent function
user_access0 N/A% 112 100.0% -12,000 -100.0% 8 100.0% 1,232 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigStorageController::loadMultiple0 N/A% 48 42.9% -3,999 -33.3% 128 1600.0% -640 -51.9%
Drupal::entityManager0 N/A% 34 30.4% -8,000 -66.7% -16 -200.0% 1,104 89.6%
Drupal\Core\Session\UserSession::getRoles0 N/A% -20 -17.9% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -12 -10.7% 0 0.0% 0 0.0% 0 0.0%
Drupal\user\Plugin\Core\Entity\Role::hasPermission0 N/A% -8 -7.1% -4,000 -33.3% 0 0.0% 0 0.0%
Drupal\Core\Entity\EntityManager::getStorageController0 N/A% 2 1.8% 0 0.0% -8 -100.0% 64 5.2%