Diff Report
Run #541de5cbd937a: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #541de429e5ab1: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for str_replace

str_replaceRun #541de5cbd937aRun #541de429e5ab1DiffDiff%
Number of Function Calls388 385 -3 -0.8%
Incl. Wall Time (microsec)1,331 1,451 120 9.0%
Incl. Wall Time (microsec) per call 3 4 0 9.9%
Excl. Wall Time (microsec)1,331 1,451 120 9.0%
Incl. CPU (microsecs)1,625 1,786 161 9.9%
Incl. CPU (microsecs) per call 4 5 0 10.8%
Excl. CPU (microsec)1,625 1,786 161 9.9%
Incl. MemUse (bytes)1,371,928 1,329,128 -42,800 -3.1%
Incl. MemUse (bytes) per call 3,536 3,452 -84 -2.4%
Excl. MemUse (bytes)1,371,928 1,329,128 -42,800 -3.1%
Incl. PeakMemUse (bytes)210,392 199,848 -10,544 -5.0%
Incl. PeakMemUse (bytes) per call 542 519 -23 -4.3%
Excl. PeakMemUse (bytes)210,392 199,848 -10,544 -5.0%

Parent/Child Regression/Improvement report for str_replace [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
str_replace-3 -100.0% 120 1.3% 161 2.0% -42,800 -35.8% -10,544 -8.8%
Exclusive Metrics Diff for Current Function120 100.0% 161 100.0% -42,800 -100.0% -10,544 -100.0%
Parent functions
Drupal\node\NodeViewBuilder::renderLinks0 0.0% 99 82.5% 103 64.0% -42,480 -99.3% -10,608 -100.6%
Drupal\Core\Database\Connection::prefixTables0 0.0% 19 15.8% 29 18.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::buildQuery-2 -66.7% -3 -2.5% 2 1.2% -288 -0.7% 64 0.6%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 0.0% 2 1.7% 4 2.5% 0 0.0% 0 0.0%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 0.0% 2 1.7% 7 4.3% 0 0.0% 0 0.0%
_views_query_tag_alter_condition@20 0.0% 1 0.8% -2 -1.2% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::filter0 0.0% -1 -0.8% -1 -0.6% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::generateFromPath-1 -33.3% 1 0.8% 9 5.6% -32 -0.1% 0 0.0%
Drupal\Core\DrupalKernel::initializeCookieGlobals0 0.0% 0 0.0% -1 -0.6% 0 0.0% 0 0.0%
Drupal\Core\Block\BlockBase::getCacheTags0 0.0% 0 0.0% 3 1.9% 0 0.0% 0 0.0%
theme_get_suggestions0 0.0% 0 0.0% -3 -1.9% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::encodePath0 0.0% 0 0.0% 4 2.5% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 0.0% 0 0.0% 1 0.6% 0 0.0% 0 0.0%
Drupal\Core\Database\Query\Select::addJoin0 0.0% 0 0.0% -1 -0.6% 0 0.0% 0 0.0%
Drupal\Component\Utility\Tags::explode0 0.0% 0 0.0% 2 1.2% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath0 0.0% 0 0.0% 5 3.1% 0 0.0% 0 0.0%