Diff Report
Run #5659123816918: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5659177493c27: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for str_replace

str_replaceRun #5659123816918Run #5659177493c27DiffDiff%
Number of Function Calls2,754 2,754 0 0.0%
Incl. Wall Time (microsec)1,658 1,666 8 0.5%
Incl. Wall Time (microsec) per call 1 1 0 0.5%
Excl. Wall Time (microsec)1,658 1,666 8 0.5%
Incl. MemUse (bytes)3,424,264 3,424,960 696 0.0%
Incl. MemUse (bytes) per call 1,243 1,244 0 0.0%
Excl. MemUse (bytes)3,423,616 3,424,312 696 0.0%
Incl. PeakMemUse (bytes)1,155,120 1,156,480 1,360 0.1%
Incl. PeakMemUse (bytes) per call 419 420 0 0.1%
Excl. PeakMemUse (bytes)1,155,120 1,156,480 1,360 0.1%

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% 8 0.1% 696 4.3% 1,360 8.3%
Exclusive Metrics Diff for Current Function8 100.0% 696 100.0% 1,360 100.0%
Parent functions
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders0 N/A% -16 -200.0% 32 4.6% 1,368 100.6%
Drupal\Core\Database\Connection::prefixTables0 N/A% 12 150.0% 312 44.8% 0 0.0%
Drupal\Core\Database\Connection::expandArguments0 N/A% 10 125.0% 0 0.0% 0 0.0%
Drupal\Core\Entity\Entity::toUrl0 N/A% 10 125.0% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath0 N/A% -5 -62.5% 88 12.6% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens0 N/A% -4 -50.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::filter0 N/A% 3 37.5% 88 12.6% 0 0.0%
Twig_Loader_Filesystem::normalizeName0 N/A% -2 -25.0% 0 0.0% 56 4.1%
Drupal\Component\Utility\UrlHelper::encodePath0 N/A% -1 -12.5% 0 0.0% 0 0.0%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate0 N/A% -1 -12.5% 8 1.1% 0 0.0%
Drupal\Component\Utility\Html::getId0 N/A% 1 12.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::hashBase640 N/A% 1 12.5% 0 0.0% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder0 N/A% 0 0.0% 48 6.9% -64 -4.7%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionConfiguration::getCookieDomain0 N/A% 0 0.0% 0 0.0% 0 0.0%
theme_get_suggestions0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Html::cleanCssIdentifier0 N/A% 0 0.0% -56 -8.0% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase640 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::doGenerate0 N/A% 0 0.0% 168 24.1% 0 0.0%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::buildQuery0 N/A% 0 0.0% 8 1.1% 0 0.0%
Child function
Drupal\Core\Render\Markup::__toString0 N/A% 0 0.0% 0 0.0% 0 0.0%