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

Regression/Improvement summary for Drupal\Component\Utility\Xss::filter

Drupal\Component\Utility\Xss::filterRun #539fd0a78f1b7Run #539fd2b68bc13DiffDiff%
Number of Function Calls52 52 0 0.0%
Incl. Wall Time (microsec)5,886 6,313 427 7.3%
Incl. Wall Time (microsec) per call 113 121 8 7.3%
Excl. Wall Time (microsec)1,812 1,946 134 7.4%
Incl. CPU (microsecs)5,959 6,380 421 7.1%
Incl. CPU (microsecs) per call 115 123 8 7.1%
Excl. CPU (microsec)1,374 1,440 66 4.8%
Incl. MemUse (bytes)466,824 475,544 8,720 1.9%
Incl. MemUse (bytes) per call 8,977 9,145 168 1.9%
Excl. MemUse (bytes)-325,680 -377,104 -51,424 -15.8%
Incl. PeakMemUse (bytes)69,488 74,768 5,280 7.6%
Incl. PeakMemUse (bytes) per call 1,336 1,438 102 7.6%
Excl. PeakMemUse (bytes)5,272 5,656 384 7.3%

Parent/Child Regression/Improvement report for Drupal\Component\Utility\Xss::filter [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\Component\Utility\Xss::filter0 0.0% 427 1.0% 421 1.0% 8,720 0.5% 5,280 0.3%
Exclusive Metrics Diff for Current Function134 31.4% 66 15.7% -51,424 -589.7% 384 7.3%
Parent functions
_filter_html0 N/A% 329 77.0% 323 76.7% 6,240 71.6% 4,584 86.8%
Drupal\Core\Datetime\Date::format0 N/A% 107 25.1% 104 24.7% -16 -0.2% 0 0.0%
Drupal\Component\Utility\Xss::filterAdmin0 N/A% -9 -2.1% -6 -1.4% 2,496 28.6% 696 13.2%
Child functions
Drupal\Component\Utility\SafeMarkup::create52 100.0% 199 46.6% 248 58.9% 59,952 687.5% 5,312 100.6%
preg_replace_callback0 0.0% 120 28.1% 126 29.9% 8 0.1% 0 0.0%
Drupal\Component\Utility\Unicode::validateUtf80 0.0% -31 -7.3% -33 -7.8% 0 0.0% 0 0.0%
preg_replace0 0.0% 24 5.6% 4 1.0% 144 1.7% -320 -6.1%
chr0 0.0% -7 -1.6% 10 2.4% 0 0.0% 0 0.0%
str_replace0 0.0% -7 -1.6% -1 -0.2% 32 0.4% 0 0.0%
array_flip0 0.0% -5 -1.2% 1 0.2% 8 0.1% -96 -1.8%