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\String::checkPlain

Drupal\Component\Utility\String::checkPlainRun #539fd0a78f1b7Run #539fd2b68bc13DiffDiff%
Number of Function Calls2,230 2,234 4 0.2%
Incl. Wall Time (microsec)9,331 18,840 9,509 101.9%
Incl. Wall Time (microsec) per call 4 8 4 101.5%
Excl. Wall Time (microsec)6,044 11,401 5,357 88.6%
Incl. CPU (microsecs)11,478 20,872 9,394 81.8%
Incl. CPU (microsecs) per call 5 9 4 81.5%
Excl. CPU (microsec)6,715 9,914 3,199 47.6%
Incl. MemUse (bytes)480,968 435,256 -45,712 -9.5%
Incl. MemUse (bytes) per call 216 195 -21 -9.7%
Excl. MemUse (bytes)118,952 2,277,360 2,158,408 1814.5%
Incl. PeakMemUse (bytes)15,120 179,136 164,016 1084.8%
Incl. PeakMemUse (bytes) per call 7 80 73 1082.6%
Excl. PeakMemUse (bytes)11,936 129,424 117,488 984.3%

Parent/Child Regression/Improvement report for Drupal\Component\Utility\String::checkPlain [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\String::checkPlain4 0.2% 9,509 23.2% 9,394 23.1% -45,712 -2.7% 164,016 9.9%
Exclusive Metrics Diff for Current Function5,357 56.3% 3,199 34.1% 2,158,408 4721.8% 117,488 71.6%
Parent functions
Drupal\Core\Template\AttributeValueBase::render0 0.0% 3,903 41.0% 3,870 41.2% -91,600 -200.4% 9,448 5.8%
Drupal\Core\Template\AttributeArray::__toString0 0.0% 2,005 21.1% 1,946 20.7% -25,928 -56.7% 8,528 5.2%
Drupal\Core\Template\AttributeString::__toString0 0.0% 1,806 19.0% 1,770 18.8% 49,960 109.3% 9,560 5.8%
l0 0.0% 368 3.9% 371 3.9% 10,200 22.3% 16,824 10.3%
Drupal\Component\Utility\String::format0 0.0% 327 3.4% 334 3.6% 3,712 8.1% 0 0.0%
template_preprocess_field0 0.0% 215 2.3% 221 2.4% -4,176 -9.1% 40 0.0%
template_preprocess_username0 0.0% 197 2.1% 197 2.1% -2,816 -6.2% 240 0.1%
Drupal\views\Plugin\views\HandlerBase::sanitizeValue0 0.0% 139 1.5% 144 1.5% 952 2.1% 0 0.0%
Drupal\views\Plugin\views\field\FieldPluginBase::renderAsLink0 0.0% 134 1.4% 130 1.4% -2,400 -5.3% 116,504 71.0%
Drupal\Core\Field\Plugin\Field\FieldFormatter\StringFormatter::viewElements0 0.0% 130 1.4% 133 1.4% 8,664 19.0% 0 0.0%
template_preprocess_views_view_fields0 0.0% 60 0.6% 60 0.6% -2,400 -5.3% 0 0.0%
Drupal\block\BlockViewBuilder::viewMultiple0 0.0% 48 0.5% 43 0.5% 1,800 3.9% 904 0.6%
Drupal\views\Plugin\views\field\FieldPluginBase::elementType0 0.0% 44 0.5% 40 0.4% -752 -1.6% 0 0.0%
Drupal\Component\Utility\String::placeholder0 0.0% 36 0.4% 37 0.4% 1,536 3.4% 0 0.0%
twig_drupal_escape_filter@12 50.0% 22 0.2% 25 0.3% 2,008 4.4% 0 0.0%
template_preprocess_html0 0.0% 15 0.2% 16 0.2% -120 -0.3% 0 0.0%
Drupal\Core\Utility\LinkGenerator::generateFromUrl0 0.0% 13 0.1% 12 0.1% 1,408 3.1% 0 0.0%
template_preprocess_views_view_table0 0.0% 13 0.1% 11 0.1% -360 -0.8% 0 0.0%
twig_drupal_escape_filter1 25.0% 12 0.1% 12 0.1% 1,408 3.1% 848 0.5%
twig_drupal_escape_filter@21 25.0% 9 0.1% 11 0.1% 1,344 2.9% 1,120 0.7%
_filter_html_escape0 0.0% 8 0.1% 6 0.1% 2,208 4.8% 0 0.0%
template_preprocess_page0 0.0% 6 0.1% 7 0.1% -120 -0.3% 0 0.0%
template_preprocess_links0 0.0% -1 -0.0% -2 -0.0% -240 -0.5% 0 0.0%
Child functions
Drupal\Component\Utility\SafeMarkup::create2,234 99.8% 4,081 42.9% 6,008 64.0% -2,204,760 -4823.2% 46,456 28.3%
htmlspecialchars4 0.2% 71 0.7% 187 2.0% 640 1.4% 72 0.0%