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

Regression/Improvement summary for str_replace

str_replaceRun #560d7dac0c098Run #560d8088818a3DiffDiff%
Number of Function Calls3,385 3,389 4 0.1%
Incl. Wall Time (microsec)8,232 8,405 173 2.1%
Incl. Wall Time (microsec) per call 2 2 0 2.0%
Excl. Wall Time (microsec)8,232 8,404 172 2.1%
Incl. MemUse (bytes)14,512,736 14,513,464 728 0.0%
Incl. MemUse (bytes) per call 4,287 4,283 -5 -0.1%
Excl. MemUse (bytes)14,512,088 14,512,816 728 0.0%
Incl. PeakMemUse (bytes)579,536 578,544 -992 -0.2%
Incl. PeakMemUse (bytes) per call 171 171 -0 -0.3%
Excl. PeakMemUse (bytes)579,536 578,544 -992 -0.2%

Parent/Child Regression/Improvement report for str_replace [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
str_replace4 100.0% 173 1.2% 728 2.8% -992 -3.6%
Exclusive Metrics Diff for Current Function172 99.4% 728 100.0% -992 -100.0%
Parent functions
Drupal\Component\Utility\Html::getId0 0.0% 124 71.7% 0 0.0% 80 8.1%
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders0 0.0% -81 -46.8% 112 15.4% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder0 0.0% 69 39.9% 0 0.0% 512 51.6%
Drupal\Core\Entity\Entity::urlInfo0 0.0% 38 22.0% -16 -2.2% -1,840 -185.5%
Drupal\Component\Utility\Html::cleanCssIdentifier0 0.0% 14 8.1% 8 1.1% -32 -3.2%
Drupal\Component\Utility\Xss::filter0 0.0% 2 1.2% 120 16.5% 0 0.0%
Drupal\Core\Database\Connection::prefixTables0 0.0% 2 1.2% -16 -2.2% 0 0.0%
Drupal\Core\Database\Connection::expandArguments0 0.0% 2 1.2% 8 1.1% 8 0.8%
Twig_Loader_Filesystem::normalizeName3 75.0% 1 0.6% 208 28.6% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder@10 0.0% 1 0.6% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens0 0.0% 1 0.6% -8 -1.1% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase640 0.0% -1 -0.6% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 0.0% 1 0.6% 0 0.0% 0 0.0%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionConfiguration::getCookieDomain0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::hashBase640 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::encodePath0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::buildQuery0 0.0% 0 0.0% 24 3.3% 56 5.6%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath1 25.0% 0 0.0% 272 37.4% 224 22.6%
Drupal\Core\Routing\UrlGenerator::doGenerate0 0.0% 0 0.0% 16 2.2% 0 0.0%
theme_get_suggestions0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child function
Drupal\Core\Render\SafeString::__toString0 N/A% 1 0.6% 0 0.0% 0 0.0%