Run Report
Run #53512b84374e0: XHProf Run (Namespace=drupal-perf-cottser)
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::hasPermission180 14.2% 37,312 5.4% 36,950 5.6% 1,590,304 3.4% 1,615,712 3.5%
Exclusive Metrics for Current Function2,351 6.3% 1,600 4.3% -105,296 -6.6% 2,488 0.2%
Parent function
Drupal\Core\Session\AccountProxy::hasPermission180 100.0% 37,312 100.0% 36,950 100.0% 1,590,304 100.0% 1,615,712 100.0%
Child functions
Drupal\Core\Config\Entity\ConfigEntityStorage::loadMultiple180 16.7% 27,245 73.0% 27,122 73.4% 523,800 32.9% 447,952 27.7%
Drupal\Core\Entity\EntityManager::getStorage180 16.7% 5,714 15.3% 5,634 15.2% 1,157,536 72.8% 1,158,208 71.7%
Drupal::entityManager180 16.7% 1,382 3.7% 1,503 4.1% 1,952 0.1% 3,904 0.2%
Drupal\user\Entity\Role::hasPermission180 16.7% 518 1.4% 651 1.8% 10,584 0.7% 1,552 0.1%
Drupal\Core\Session\UserSession::getRoles180 16.7% 77 0.2% 238 0.6% 872 0.1% 784 0.0%
Drupal\Core\Session\UserSession::id180 16.7% 25 0.1% 202 0.5% 856 0.1% 824 0.1%