Diff Report
Run #51c6814c41b47: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #51c681e794599: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\SystemListing::scanDirectory@2

Drupal\Core\SystemListing::scanDirectory@2Run #51c6814c41b47Run #51c681e794599DiffDiff%
Number of Function Calls 116 116 N/A%
Incl. Wall Time (microsec) 63,348 63,348 N/A%
Incl. Wall Time (microsec) per call N/A 546 546 N/A%
Excl. Wall Time (microsec) 7,138 7,138 N/A%
Incl. CPU (microsecs) 63,445 63,445 N/A%
Incl. CPU (microsecs) per call N/A 547 547 N/A%
Excl. CPU (microsec) 5,161 5,161 N/A%
Incl. MemUse (bytes) 196,592 196,592 N/A%
Incl. MemUse (bytes) per call N/A 1,695 1,695 N/A%
Excl. MemUse (bytes) -84,584 -84,584 N/A%
Incl. PeakMemUse (bytes) 164,224 164,224 N/A%
Incl. PeakMemUse (bytes) per call N/A 1,416 1,416 N/A%
Excl. PeakMemUse (bytes) 8,512 8,512 N/A%

Parent/Child Regression/Improvement report for Drupal\Core\SystemListing::scanDirectory@2 [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\SystemListing::scanDirectory@2116 3.8% 63,348 5.7% 63,445 6.0% 196,592 1.0% 164,224 0.8%
Exclusive Metrics Diff for Current Function7,138 11.3% 5,161 8.1% -84,584 -43.0% 8,512 5.2%
Parent function
Drupal\Core\SystemListing::scanDirectory@1116 100.0% 63,348 100.0% 63,445 100.0% 196,592 100.0% 164,224 100.0%
Child functions
Drupal\Core\SystemListing::scanDirectory@3121 4.2% 45,370 71.6% 45,466 71.7% 168,984 86.0% 142,168 86.6%
readdir870 29.9% 3,626 5.7% 4,074 6.4% 28,520 14.5% 1,240 0.8%
is_dir622 21.4% 3,163 5.0% 3,614 5.7% 768 0.4% 1,352 0.8%
preg_match906 31.1% 2,088 3.3% 2,831 4.5% 792 0.4% 1,104 0.7%
opendir116 4.0% 969 1.5% 1,061 1.7% 42,552 21.6% 2,496 1.5%
closedir116 4.0% 524 0.8% 635 1.0% -40,968 -20.8% 608 0.4%
array_merge121 4.2% 270 0.4% 368 0.6% 78,192 39.8% 4,000 2.4%
Drupal\Core\SystemListingInfo::processFile20 0.7% 140 0.2% 154 0.2% 824 0.4% 608 0.4%
pathinfo20 0.7% 60 0.1% 81 0.1% 1,512 0.8% 2,136 1.3%