Diff Report
Run #519eb486908e7: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #519eb57e9174a: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

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

Drupal\Core\SystemListing::scanDirectoryRun #519eb486908e7Run #519eb57e9174aDiffDiff%
Number of Function Calls 4 4 N/A%
Incl. Wall Time (microsec) 2,622 2,622 N/A%
Incl. Wall Time (microsec) per call N/A 656 656 N/A%
Excl. Wall Time (microsec) 165 165 N/A%
Incl. CPU (microsecs) 2,628 2,628 N/A%
Incl. CPU (microsecs) per call N/A 657 657 N/A%
Excl. CPU (microsec) 121 121 N/A%
Incl. MemUse (bytes) 15,448 15,448 N/A%
Incl. MemUse (bytes) per call N/A 3,862 3,862 N/A%
Excl. MemUse (bytes) -8 -8 N/A%
Incl. PeakMemUse (bytes) 15,396 15,396 N/A%
Incl. PeakMemUse (bytes) per call N/A 3,849 3,849 N/A%
Excl. PeakMemUse (bytes) 1,688 1,688 N/A%

Parent/Child Regression/Improvement report for Drupal\Core\SystemListing::scanDirectory [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::scanDirectory4 9.5% 2,622 149.3% 2,628 136.6% 15,448 6.6% 15,396 9.9%
Exclusive Metrics Diff for Current Function165 6.3% 121 4.6% -8 -0.1% 1,688 11.0%
Parent function
Drupal\Core\SystemListing::scan4 100.0% 2,622 100.0% 2,628 100.0% 15,448 100.0% 15,396 100.0%
Child functions
Drupal\Core\SystemListing::scanDirectory@14 10.5% 2,261 86.2% 2,267 86.3% 11,500 74.4% 11,440 74.3%
readdir11 28.9% 75 2.9% 88 3.3% 588 3.8% 344 2.2%
is_dir9 23.7% 53 2.0% 64 2.4% 212 1.4% 212 1.4%
opendir2 5.3% 34 1.3% 37 1.4% 856 5.5% 676 4.4%
preg_match6 15.8% 16 0.6% 24 0.9% 444 2.9% 344 2.2%
closedir2 5.3% 9 0.3% 11 0.4% 24 0.2% 0 0.0%
array_merge4 10.5% 9 0.3% 16 0.6% 1,832 11.9% 692 4.5%