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

Drupal\Core\SystemListing::scanDirectory@3Run #51c6814c41b47Run #51c681e794599DiffDiff%
Number of Function Calls 121 121 N/A%
Incl. Wall Time (microsec) 45,370 45,370 N/A%
Incl. Wall Time (microsec) per call N/A 375 375 N/A%
Excl. Wall Time (microsec) 6,538 6,538 N/A%
Incl. CPU (microsecs) 45,466 45,466 N/A%
Incl. CPU (microsecs) per call N/A 376 376 N/A%
Excl. CPU (microsec) 4,809 4,809 N/A%
Incl. MemUse (bytes) 168,984 168,984 N/A%
Incl. MemUse (bytes) per call N/A 1,397 1,397 N/A%
Excl. MemUse (bytes) -377,400 -377,400 N/A%
Incl. PeakMemUse (bytes) 142,168 142,168 N/A%
Incl. PeakMemUse (bytes) per call N/A 1,175 1,175 N/A%
Excl. PeakMemUse (bytes) 13,952 13,952 N/A%

Parent/Child Regression/Improvement report for Drupal\Core\SystemListing::scanDirectory@3 [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@3121 4.5% 45,370 4.1% 45,466 4.3% 168,984 0.9% 142,168 0.7%
Exclusive Metrics Diff for Current Function6,538 14.4% 4,809 10.6% -377,400 -223.3% 13,952 9.8%
Parent function
Drupal\Core\SystemListing::scanDirectory@2121 100.0% 45,370 100.0% 45,466 100.0% 168,984 100.0% 142,168 100.0%
Child functions
Drupal\Core\SystemListing::scanDirectory@4156 6.1% 28,639 63.1% 28,774 63.3% 150,928 89.3% 100,768 70.9%
readdir781 30.4% 3,402 7.5% 3,884 8.5% 25,272 15.0% 1,544 1.1%
is_dir527 20.5% 2,791 6.2% 3,168 7.0% 176 0.1% 2,400 1.7%
preg_match667 26.0% 1,704 3.8% 2,156 4.7% 792 0.5% 1,624 1.1%
opendir121 4.7% 995 2.2% 1,105 2.4% 44,352 26.2% 3,216 2.3%
closedir121 4.7% 570 1.3% 694 1.5% -42,768 -25.3% 704 0.5%
array_merge156 6.1% 543 1.2% 654 1.4% 365,360 216.2% 13,664 9.6%
Drupal\Core\SystemListingInfo::processFile18 0.7% 126 0.3% 138 0.3% 824 0.5% 776 0.5%
pathinfo18 0.7% 62 0.1% 84 0.2% 1,448 0.9% 3,520 2.5%