Run Report
Run #539201f8938f4: XHProf Run (Namespace=drupal-perf-drupalcon)
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. CPU
(microsecs)
ICpu%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
Drupal\Core\Session\UserSession::hasPermission51 13.9% 16,161 3.4% 15,889 3.7% 76,768 0.6% 100,088 0.8%
Exclusive Metrics for Current Function965 6.0% 720 4.5% -14,852 -19.3% 860 0.9%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission51 100.0% 16,161 100.0% 15,889 100.0% 76,768 100.0% 100,088 100.0%
Child functions
Drupal\Core\Entity\EntityStorageBase::loadMultiple51 16.7% 12,949 80.1% 12,676 79.8% 35,072 45.7% 42,812 42.8%
Drupal::entityManager51 16.7% 830 5.1% 879 5.5% 460 0.6% 3,264 3.3%
Drupal\Core\Entity\EntityManager::getStorage51 16.7% 823 5.1% 876 5.5% 52,580 68.5% 52,224 52.2%
Drupal\user\Entity\Role::hasPermission51 16.7% 485 3.0% 532 3.3% 2,516 3.3% 0 0.0%
Drupal\Core\Session\UserSession::getRoles51 16.7% 57 0.4% 112 0.7% 500 0.7% 452 0.5%
Drupal\Core\Session\UserSession::id51 16.7% 52 0.3% 94 0.6% 492 0.6% 476 0.5%