Diff Report
Run #51f628573214c: XHProf Run (Namespace=drupal-perf-fabianx)
vs.
Run #51f62b0e7bc11: 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 #51f628573214cRun #51f62b0e7bc11DiffDiff%
Number of Function Calls242 242 0 0.0%
Incl. Wall Time (microsec)43,397 43,285 -112 -0.3%
Incl. Wall Time (microsec) per call 179 179 -0 -0.3%
Excl. Wall Time (microsec)4,036 3,968 -68 -1.7%
Incl. CPU (microsecs)44,002 56,002 12,000 27.3%
Incl. CPU (microsecs) per call 182 231 50 27.3%
Excl. CPU (microsec)8,000 4,001 -3,999 -50.0%
Incl. MemUse (bytes)1,020,920 1,020,912 -8 -0.0%
Incl. MemUse (bytes) per call 4,219 4,219 -0 -0.0%
Excl. MemUse (bytes)-633,488 -633,392 96 0.0%
Incl. PeakMemUse (bytes)1,301,952 1,300,720 -1,232 -0.1%
Incl. PeakMemUse (bytes) per call 5,380 5,375 -5 -0.1%
Excl. PeakMemUse (bytes)5,040 4,336 -704 -14.0%

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 Function-68 -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%