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

Regression/Improvement summary for str_replace

str_replaceRun #538e3ac0de109Run #538e3b37c1a66DiffDiff%
Number of Function Calls316 320 4 1.3%
Incl. Wall Time (microsec)448 490 42 9.4%
Incl. Wall Time (microsec) per call 1 2 0 8.0%
Excl. Wall Time (microsec)448 490 42 9.4%
Incl. CPU (microsecs)717 734 17 2.4%
Incl. CPU (microsecs) per call 2 2 0 1.1%
Excl. CPU (microsec)717 734 17 2.4%
Incl. MemUse (bytes)277,728 326,312 48,584 17.5%
Incl. MemUse (bytes) per call 879 1,020 141 16.0%
Excl. MemUse (bytes)277,728 326,312 48,584 17.5%
Incl. PeakMemUse (bytes)38,800 60,168 21,368 55.1%
Incl. PeakMemUse (bytes) per call 123 188 65 53.1%
Excl. PeakMemUse (bytes)38,800 60,168 21,368 55.1%

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_replace4 100.0% 42 1.0% 17 0.5% 48,584 45.3% 21,368 18.0%
Exclusive Metrics Diff for Current Function42 100.0% 17 100.0% 48,584 100.0% 21,368 100.0%
Parent functions
Drupal\node\NodeViewBuilder::renderLinks0 0.0% 33 78.6% 34 200.0% 45,600 93.9% 22,736 106.4%
Drupal\Component\Utility\Xss::filter0 0.0% -1 -2.4% 1 5.9% 16 0.0% -840 -3.9%
Drupal\Core\Database\Connection::prefixTables2 50.0% 3 7.1% 3 17.6% 2,496 5.1% -528 -2.5%
Drupal\Component\Utility\UrlHelper::buildQuery0 0.0% 1 2.4% -2 -11.8% 24 0.0% 0 0.0%
Drupal\Core\StreamWrapper\PublicStream::getExternalUrl0 0.0% 0 0.0% 1 5.9% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath2 50.0% 2 4.8% -4 -23.5% 448 0.9% 0 0.0%
theme_get_suggestions0 0.0% 1 2.4% -7 -41.2% 0 0.0% 0 0.0%
Drupal\block\BlockBase::getCacheTags0 0.0% 0 0.0% -5 -29.4% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::encodePath0 0.0% 1 2.4% 5 29.4% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::generateFromPath0 0.0% 0 0.0% -2 -11.8% 0 0.0% 0 0.0%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 0.0% 0 0.0% 1 5.9% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 0.0% 1 2.4% -6 -35.3% 0 0.0% 0 0.0%
Drupal\Core\Database\Query\Select::addJoin0 0.0% 0 0.0% 2 11.8% 0 0.0% 0 0.0%
check_markup0 0.0% 1 2.4% -3 -17.6% 0 0.0% 0 0.0%
_drupal_request_initialize0 0.0% 0 0.0% -1 -5.9% 0 0.0% 0 0.0%