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

Regression/Improvement summary for str_replace

str_replaceRun #517c1c27a12c9Run #517c1bb406b02DiffDiff%
Number of Function Calls790 1,251 461 58.4%
Incl. Wall Time (microsec)981 1,725 744 75.8%
Incl. Wall Time (microsec) per call 1 1 0 11.0%
Excl. Wall Time (microsec)981 1,725 744 75.8%
Incl. CPU (microsecs)1,444 2,540 1,096 75.9%
Incl. CPU (microsecs) per call 2 2 0 11.1%
Excl. CPU (microsec)1,444 2,540 1,096 75.9%
Incl. MemUse (bytes)185,824 492,840 307,016 165.2%
Incl. MemUse (bytes) per call 235 394 159 67.5%
Excl. MemUse (bytes)185,824 492,840 307,016 165.2%
Incl. PeakMemUse (bytes)61,296 62,992 1,696 2.8%
Incl. PeakMemUse (bytes) per call 78 50 -27 -35.1%
Excl. PeakMemUse (bytes)61,296 62,992 1,696 2.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_replace461 100.0% 744 0.3% 1,096 0.9% 307,016 69.0% 1,696 0.3%
Exclusive Metrics Diff for Current Function744 100.0% 1,096 100.0% 307,016 100.0% 1,696 100.0%
Parent functions
Drupal\Core\Database\Connection::prefixTables153 33.2% 497 66.8% 633 57.8% 263,136 85.7% 2,192 129.2%
filter_xss300 65.1% 236 31.7% 426 38.9% 43,200 14.1% 0 0.0%
drupal_encode_path0 0.0% 7 0.9% 20 1.8% 0 0.0% 0 0.0%
Symfony\Component\ClassLoader\ClassLoader::findFile8 1.7% 5 0.7% 21 1.9% 696 0.2% -648 -38.2%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath0 0.0% -1 -0.1% -1 -0.1% 0 0.0% 0 0.0%
theme_get_suggestions0 0.0% 0 0.0% -1 -0.1% 0 0.0% 0 0.0%
Drupal\block\BlockRenderController::viewMultiple0 0.0% 0 0.0% 1 0.1% 0 0.0% 152 9.0%
Drupal\Core\Database\Query\Select::addJoin0 0.0% 0 0.0% 1 0.1% 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_http_build_query0 0.0% 0 0.0% -2 -0.2% -16 -0.0% 0 0.0%