(microsec) | MemUse (bytes) | PeakMemUse (bytes) | ||||||
---|---|---|---|---|---|---|---|---|
Drupal\user\Entity\Role::hasPermission | 40 | 31.5% | 85 | 0.1% | 4,496 | 0.0% | 2,008 | 0.0% |
Exclusive Metrics for Current Function | 80 | 94.1% | 1,256 | 27.9% | 1,168 | 58.2% | ||
Drupal\user\RoleStorage::isPermissionInRoles | 40 | 100.0% | 85 | 100.0% | 4,496 | 100.0% | 2,008 | 100.0% |
in_array | 40 | 50.0% | 5 | 5.9% | 648 | 14.4% | 336 | 16.7% |
Drupal\user\Entity\Role::isAdmin | 40 | 50.0% | 0 | 0.0% | 2,592 | 57.7% | 504 | 25.1% |