Run Report
Run #550de0f0bfc62: 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% 189 0.1% 4,896 0.0% 2,008 0.0%
Exclusive Metrics for Current Function157 83.1% 1,320 27.0% 1,168 58.2%
Parent function
Drupal\user\RoleStorage::isPermissionInRoles47 100.0% 189 100.0% 4,896 100.0% 2,008 100.0%
Child functions
in_array47 50.0% 32 16.9% 648 13.2% 336 16.7%
Drupal\user\Entity\Role::isAdmin47 50.0% 0 0.0% 2,928 59.8% 504 25.1%