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

Parent/Child report for Drupal\Core\Session\UserSession::hasPermission [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\UserSession::hasPermission10,000 19.8% 1,588,313 2.3% 171,893,008 5.2% 120,817,160 3.4%
Exclusive Metrics for Current Function65,701 4.1% 1,925,176 1.1% 184,200 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission10,000 100.0% 1,588,313 100.0% 171,893,008 100.0% 120,817,160 100.0%
Child functions
Drupal\Core\Session\UserSession::getRoleStorage10,000 25.0% 799,247 50.3% 152,265,600 88.6% 102,811,112 85.1%
Drupal\webprofiler\Entity\EntityStorageDecorator::isPermissionInRoles10,000 25.0% 721,669 45.4% 17,565,432 10.2% 17,775,912 14.7%
Drupal\Core\Session\UserSession::getRoles10,000 25.0% 1,403 0.1% 68,800 0.0% 45,936 0.0%
Drupal\Core\Session\UserSession::id10,000 25.0% 293 0.0% 68,000 0.0% 0 0.0%