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@5

Drupal\Core\SystemListing::scanDirectory@5Run #51c6814c41b47Run #51c681e794599DiffDiff%
Number of Function Calls 41 41 N/A%
Incl. Wall Time (microsec) 7,635 7,635 N/A%
Incl. Wall Time (microsec) per call N/A 186 186 N/A%
Excl. Wall Time (microsec) 2,592 2,592 N/A%
Incl. CPU (microsecs) 7,664 7,664 N/A%
Incl. CPU (microsecs) per call N/A 187 187 N/A%
Excl. CPU (microsec) 1,900 1,900 N/A%
Incl. MemUse (bytes) 31,648 31,648 N/A%
Incl. MemUse (bytes) per call N/A 772 772 N/A%
Excl. MemUse (bytes) -4,784 -4,784 N/A%
Incl. PeakMemUse (bytes) 31,760 31,760 N/A%
Incl. PeakMemUse (bytes) per call N/A 775 775 N/A%
Excl. PeakMemUse (bytes) 11,072 11,072 N/A%

Parent/Child Regression/Improvement report for Drupal\Core\SystemListing::scanDirectory@5 [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@541 3.7% 7,635 0.7% 7,664 0.7% 31,648 0.2% 31,760 0.2%
Exclusive Metrics Diff for Current Function2,592 33.9% 1,900 24.8% -4,784 -15.1% 11,072 34.9%
Parent function
Drupal\Core\SystemListing::scanDirectory@441 100.0% 7,635 100.0% 7,664 100.0% 31,648 100.0% 31,760 100.0%
Child functions
readdir326 30.6% 1,312 17.2% 1,479 19.3% 13,432 42.4% 2,464 7.8%
is_dir244 22.9% 1,286 16.8% 1,449 18.9% 1,960 6.2% 1,688 5.3%
preg_match400 37.5% 913 12.0% 1,215 15.9% 792 2.5% 928 2.9%
Drupal\Core\SystemListing::scanDirectory@66 0.6% 960 12.6% 963 12.6% 14,800 46.8% 9,936 31.3%
opendir41 3.8% 345 4.5% 381 5.0% 15,624 49.4% 2,792 8.8%
closedir41 3.8% 204 2.7% 248 3.2% -13,976 -44.2% 576 1.8%
array_merge6 0.6% 12 0.2% 14 0.2% 2,144 6.8% 696 2.2%
Drupal\Core\SystemListingInfo::processFile1 0.1% 8 0.1% 10 0.1% 824 2.6% 776 2.4%
pathinfo1 0.1% 3 0.0% 5 0.1% 832 2.6% 832 2.6%