Run Report
Run #52fbbc23c847a: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\SystemListing::scanDirectory@4 [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\SystemListing::scanDirectory@4156 5.0% 28,423 3.7% 28,537 3.7% 175,096 1.0% 129,576 0.8%
Exclusive Metrics for Current Function6,741 23.7% 4,734 16.6% 61,432 35.1% 30,896 23.8%
Parent function
Drupal\Core\SystemListing::scanDirectory@3156 100.0% 28,423 100.0% 28,537 100.0% 175,096 100.0% 129,576 100.0%
Child functions
Drupal\Core\SystemListing::scanDirectory@570 2.4% 12,770 44.9% 12,827 44.9% 48,424 27.7% 63,272 48.8%
readdir924 31.5% 3,173 11.2% 3,861 13.5% 30,120 17.2% 2,752 2.1%
is_dir565 19.3% 1,950 6.9% 2,320 8.1% 3,560 2.0% 5,128 4.0%
preg_match795 27.1% 1,334 4.7% 1,842 6.5% 792 0.5% 2,416 1.9%
opendir156 5.3% 1,152 4.1% 1,292 4.5% 56,952 32.5% 3,208 2.5%
closedir156 5.3% 625 2.2% 758 2.7% -55,368 -31.6% 656 0.5%
Drupal\Core\SystemListingInfo::processFile98 3.3% 398 1.4% 492 1.7% 824 0.5% 696 0.5%
pathinfo98 3.3% 200 0.7% 295 1.0% 4,552 2.6% 17,896 13.8%
array_merge70 2.4% 80 0.3% 116 0.4% 23,808 13.6% 2,656 2.0%