Run Report
Run #523e49a66dc20: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Parent/Child report for Drupal\Core\SystemListing::scanDirectory@2 [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@2122 3.8% 51,588 2.8% 51,684 2.9% 208,472 1.0% 177,096 0.6%
Exclusive Metrics for Current Function5,993 11.6% 4,127 8.0% -91,640 -44.0% 7,440 4.2%
Parent function
Drupal\Core\SystemListing::scanDirectory@1122 100.0% 51,588 100.0% 51,684 100.0% 208,472 100.0% 177,096 100.0%
Child functions
Drupal\Core\SystemListing::scanDirectory@3125 4.1% 37,666 73.0% 37,749 73.0% 184,552 88.5% 157,344 88.8%
readdir920 29.9% 2,753 5.3% 3,234 6.3% 30,456 14.6% 1,096 0.6%
is_dir662 21.5% 2,392 4.6% 2,796 5.4% 704 0.3% 1,416 0.8%
preg_match968 31.5% 1,213 2.4% 1,924 3.7% 792 0.4% 1,032 0.6%
opendir122 4.0% 887 1.7% 970 1.9% 44,712 21.4% 2,288 1.3%
closedir122 4.0% 438 0.8% 540 1.0% -43,128 -20.7% 608 0.3%
array_merge125 4.1% 152 0.3% 223 0.4% 79,824 38.3% 3,800 2.1%
Drupal\Core\SystemListingInfo::processFile16 0.5% 62 0.1% 73 0.1% 824 0.4% 608 0.3%
pathinfo16 0.5% 32 0.1% 48 0.1% 1,376 0.7% 1,464 0.8%