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

Regression/Improvement summary for str_replace

str_replaceRun #5208407650493Run #520840e157983DiffDiff%
Number of Function Calls280 281 1 0.4%
Incl. Wall Time (microsec)420 410 -10 -2.4%
Incl. Wall Time (microsec) per call 2 1 -0 -2.7%
Excl. Wall Time (microsec)420 410 -10 -2.4%
Incl. CPU (microsecs)632 634 2 0.3%
Incl. CPU (microsecs) per call 2 2 -0 -0.0%
Excl. CPU (microsec)632 634 2 0.3%
Incl. MemUse (bytes)146,768 147,056 288 0.2%
Incl. MemUse (bytes) per call 524 523 -1 -0.2%
Excl. MemUse (bytes)146,768 147,056 288 0.2%
Incl. PeakMemUse (bytes)31,528 30,872 -656 -2.1%
Incl. PeakMemUse (bytes) per call 113 110 -3 -2.4%
Excl. PeakMemUse (bytes)31,528 30,872 -656 -2.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_replace1 100.0% -10 -4.3% 2 0.2% 288 1.0% -656 -2.3%
Exclusive Metrics Diff for Current Function-10 -100.0% 2 100.0% 288 100.0% -656 -100.0%
Parent functions
Drupal\Component\Utility\Xss::filter0 0.0% -6 -60.0% -5 -250.0% 0 0.0% 0 0.0%
Doctrine\Common\Annotations\DocLexer::getType0 0.0% -3 -30.0% -6 -300.0% 0 0.0% 0 0.0%
Drupal\Component\Plugin\Discovery\AnnotatedClassDiscovery::getDefinitions0 0.0% -3 -30.0% -7 -350.0% 0 0.0% -192 -29.3%
Drupal\Core\Database\Connection::prefixTables0 0.0% -2 -20.0% 14 700.0% 0 0.0% 128 19.5%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath1 100.0% 2 20.0% 0 0.0% 176 61.1% 48 7.3%
theme_get_suggestions0 0.0% 1 10.0% -2 -100.0% 24 8.3% 0 0.0%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 0.0% 1 10.0% -1 -50.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Url::encodePath0 0.0% 0 0.0% -4 -200.0% 0 0.0% 0 0.0%
Doctrine\Common\Annotations\AnnotationRegistry::loadAnnotationClass0 0.0% 0 0.0% 2 100.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::generateFromPath0 0.0% 0 0.0% 4 200.0% 0 0.0% -640 -97.6%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 0.0% 0 0.0% 4 200.0% 0 0.0% 0 0.0%
Symfony\Component\ClassLoader\ClassLoader::findFile0 0.0% 0 0.0% 1 50.0% 0 0.0% 0 0.0%
drupal_settings_initialize0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Url::buildQuery0 0.0% 0 0.0% 2 100.0% 88 30.6% 0 0.0%