Diff Report
Run #521962a927d49: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #5219624c55207: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for Drupal\Core\Routing\UrlGenerator::generateFromPath

Drupal\Core\Routing\UrlGenerator::generateFromPathRun #521962a927d49Run #5219624c55207DiffDiff%
Number of Function Calls8 9 1 12.5%
Incl. Wall Time (microsec)1,222 1,499 277 22.7%
Incl. Wall Time (microsec) per call 153 167 14 9.0%
Excl. Wall Time (microsec)204 223 19 9.3%
Incl. CPU (microsecs)1,028 1,082 54 5.3%
Incl. CPU (microsecs) per call 129 120 -8 -6.4%
Excl. CPU (microsec)156 177 21 13.5%
Incl. MemUse (bytes)43,176 43,216 40 0.1%
Incl. MemUse (bytes) per call 5,397 4,802 -595 -11.0%
Excl. MemUse (bytes)3,048 3,008 -40 -1.3%
Incl. PeakMemUse (bytes)22,024 35,872 13,848 62.9%
Incl. PeakMemUse (bytes) per call 2,753 3,986 1,233 44.8%
Excl. PeakMemUse (bytes)528 3,584 3,056 578.8%

Parent/Child Regression/Improvement report for Drupal\Core\Routing\UrlGenerator::generateFromPath [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\Routing\UrlGenerator::generateFromPath1 14.3% 277 59.6% 54 5.7% 40 0.1% 13,848 47.1%
Exclusive Metrics Diff for Current Function19 6.9% 21 38.9% -40 -100.0% 3,056 22.1%
Parent function
url1 100.0% 277 100.0% 54 100.0% 40 100.0% 13,848 100.0%
Child functions
Drupal\Core\Routing\UrlGenerator::processPath0 0.0% 241 87.0% 15 27.8% 0 0.0% 0 0.0%
Drupal\Component\Utility\Url::stripDangerousProtocols1 16.7% 15 5.4% 13 24.1% 0 0.0% 9,448 68.2%
preg_match1 16.7% 3 1.1% 6 11.1% 0 0.0% 712 5.1%
strpos2 33.3% 2 0.7% 0 0.0% 0 0.0% 0 0.0%
rawurlencode0 0.0% -2 -0.7% -1 -1.9% 0 0.0% 0 0.0%
Drupal\Component\Utility\Url::buildQuery0 0.0% -1 -0.4% -1 -1.9% 0 0.0% 0 0.0%
ltrim0 0.0% 1 0.4% -4 -7.4% 0 0.0% 0 0.0%
rtrim0 0.0% -1 -0.4% -2 -3.7% 0 0.0% 0 0.0%
str_replace0 0.0% 0 0.0% 3 5.6% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::initialized1 16.7% 0 0.0% 1 1.9% 48 120.0% 0 0.0%
substr1 16.7% 0 0.0% 3 5.6% 32 80.0% 632 4.6%