Run Report
Run #550de0b43acdf: XHProf Run (Namespace=drupal-perf-davidhernandez)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\user\Entity\Role::hasPermission [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\user\Entity\Role::hasPermission47 31.8% 187 0.1% 4,896 0.0% 2,008 0.0%
Exclusive Metrics for Current Function156 83.4% 1,320 27.0% 1,168 58.2%
Parent function
Drupal\user\RoleStorage::isPermissionInRoles47 100.0% 187 100.0% 4,896 100.0% 2,008 100.0%
Child functions
in_array47 50.0% 31 16.6% 648 13.2% 336 16.7%
Drupal\user\Entity\Role::isAdmin47 50.0% 0 0.0% 2,928 59.8% 504 25.1%