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

Regression/Improvement summary for str_replace

str_replaceRun #517c76da9b0d3Run #517c75d3de7c7DiffDiff%
Number of Function Calls791 1,251 460 58.2%
Incl. Wall Time (microsec)962 1,654 692 71.9%
Incl. Wall Time (microsec) per call 1 1 0 8.7%
Excl. Wall Time (microsec)962 1,654 692 71.9%
Incl. CPU (microsecs)1,414 2,531 1,117 79.0%
Incl. CPU (microsecs) per call 2 2 0 13.2%
Excl. CPU (microsec)1,414 2,531 1,117 79.0%
Incl. MemUse (bytes)186,008 492,776 306,768 164.9%
Incl. MemUse (bytes) per call 235 394 159 67.5%
Excl. MemUse (bytes)186,008 492,776 306,768 164.9%
Incl. PeakMemUse (bytes)61,104 63,408 2,304 3.8%
Incl. PeakMemUse (bytes) per call 77 51 -27 -34.4%
Excl. PeakMemUse (bytes)61,104 63,408 2,304 3.8%

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_replace460 100.0% 692 0.3% 1,117 1.1% 306,768 126.2% 2,304 0.7%
Exclusive Metrics Diff for Current Function692 100.0% 1,117 100.0% 306,768 100.0% 2,304 100.0%
Parent functions
Drupal\Core\Database\Connection::prefixTables153 33.3% 487 70.4% 643 57.6% 263,120 85.8% 2,256 97.9%
filter_xss300 65.2% 201 29.0% 436 39.0% 43,200 14.1% 0 0.0%
Symfony\Component\ClassLoader\ClassLoader::findFile8 1.7% 5 0.7% 29 2.6% 648 0.2% -112 -4.9%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath-1 -0.2% -1 -0.1% -2 -0.2% -176 -0.1% 0 0.0%
Drupal\block\BlockRenderController::viewMultiple0 0.0% 0 0.0% 0 0.0% 0 0.0% 240 10.4%
theme_get_suggestions0 0.0% 0 0.0% 2 0.2% 0 0.0% 0 0.0%
drupal_http_build_query0 0.0% 0 0.0% -4 -0.4% -24 -0.0% -48 -2.1%
Drupal\Core\Database\Query\Select::addJoin0 0.0% 0 0.0% 3 0.3% 0 0.0% 0 0.0%
Symfony\Component\HttpKernel\Kernel::getRootDir0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
drupal_settings_initialize0 0.0% 0 0.0% 2 0.2% 0 0.0% 0 0.0%
drupal_encode_path0 0.0% 0 0.0% 8 0.7% 0 0.0% -32 -1.4%