Diff Report
Run #565918537d922: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5659186b7d6e0: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for str_replace

str_replaceRun #565918537d922Run #5659186b7d6e0DiffDiff%
Number of Function Calls275,631 275,631 0 0.0%
Incl. Wall Time (microsec)177,316 179,511 2,195 1.2%
Incl. Wall Time (microsec) per call 1 1 0 1.2%
Excl. Wall Time (microsec)177,302 179,498 2,196 1.2%
Incl. MemUse (bytes)342,552,280 342,605,216 52,936 0.0%
Incl. MemUse (bytes) per call 1,243 1,243 0 0.0%
Excl. MemUse (bytes)342,485,048 342,540,376 55,328 0.0%
Incl. PeakMemUse (bytes)115,435,296 115,430,432 -4,864 -0.0%
Incl. PeakMemUse (bytes) per call 419 419 -0 -0.0%
Excl. PeakMemUse (bytes)115,435,296 115,430,432 -4,864 -0.0%

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_replace0 N/A% 2,195 0.5% 52,936 3.4% -4,864 -0.3%
Exclusive Metrics Diff for Current Function2,196 100.0% 55,328 104.5% -4,864 -100.0%
Parent functions
Drupal\Core\Entity\Entity::toUrl0 N/A% 1,339 61.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::filter0 N/A% 659 30.0% 4,880 9.2% 0 0.0%
Drupal\Core\Database\Connection::prefixTables0 N/A% 651 29.7% 29,720 56.1% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath0 N/A% -460 -21.0% 8,376 15.8% -432 -8.9%
Drupal\Component\Utility\Html::cleanCssIdentifier0 N/A% -288 -13.1% -5,328 -10.1% 0 0.0%
Drupal\Component\Utility\Html::getId0 N/A% 202 9.2% 0 0.0% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder0 N/A% -156 -7.1% 2,176 4.1% 3,336 68.6%
Drupal\Component\Utility\UrlHelper::encodePath0 N/A% -133 -6.1% -24 -0.0% 0 0.0%
Drupal\Core\Database\Connection::expandArguments0 N/A% 125 5.7% 16 0.0% 0 0.0%
Twig_Loader_Filesystem::normalizeName0 N/A% 121 5.5% 0 0.0% 5,128 105.4%
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders0 N/A% -117 -5.3% 3,192 6.0% -12,896 -265.1%
Drupal\Core\Routing\UrlGenerator::doGenerate0 N/A% 96 4.4% 8,368 15.8% 0 0.0%
Drupal\Component\Utility\UrlHelper::buildQuery0 N/A% 90 4.1% 800 1.5% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens0 N/A% 39 1.8% 16 0.0% 0 0.0%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 N/A% 8 0.4% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 N/A% 5 0.2% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase640 N/A% 5 0.2% 0 0.0% 0 0.0%
theme_get_suggestions0 N/A% 5 0.2% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionConfiguration::getCookieDomain0 N/A% 4 0.2% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 N/A% -3 -0.1% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::hashBase640 N/A% 2 0.1% 0 0.0% 0 0.0%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate0 N/A% 1 0.0% 744 1.4% 0 0.0%
Child function
Drupal\Core\Render\Markup::__toString0 N/A% -1 -0.0% -2,392 -4.5% 0 0.0%