Diff Report
Run #565918537d922: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5659186b7d6e0: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

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

Drupal\Core\Session\UserSession::hasPermissionRun #565918537d922Run #5659186b7d6e0DiffDiff%
Number of Function Calls10,000 10,000 0 0.0%
Incl. Wall Time (microsec)1,588,313 1,597,801 9,488 0.6%
Incl. Wall Time (microsec) per call 159 160 1 0.6%
Excl. Wall Time (microsec)65,701 66,886 1,185 1.8%
Incl. MemUse (bytes)171,893,008 171,890,832 -2,176 -0.0%
Incl. MemUse (bytes) per call 17,189 17,189 -0 -0.0%
Excl. MemUse (bytes)1,925,176 1,927,432 2,256 0.1%
Incl. PeakMemUse (bytes)120,817,160 120,836,712 19,552 0.0%
Incl. PeakMemUse (bytes) per call 12,082 12,084 2 0.0%
Excl. PeakMemUse (bytes)184,200 184,296 96 0.1%

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.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Session\UserSession::hasPermission0 N/A% 9,488 2.1% -2,176 -0.1% 19,552 1.3%
Exclusive Metrics Diff for Current Function1,185 12.5% 2,256 103.7% 96 0.5%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission0 N/A% 9,488 100.0% -2,176 -100.0% 19,552 100.0%
Child functions
Drupal\webprofiler\Entity\EntityStorageDecorator::isPermissionInRoles0 N/A% 4,824 50.8% -2,752 -126.5% 42,944 219.6%
Drupal\Core\Session\UserSession::getRoleStorage0 N/A% 3,468 36.6% -1,680 -77.2% -23,488 -120.1%
Drupal\Core\Session\UserSession::getRoles0 N/A% 101 1.1% 0 0.0% 0 0.0%
Drupal\Core\Session\UserSession::id0 N/A% -90 -0.9% 0 0.0% 0 0.0%