Diff Report
Run #5608318a89619: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #5608311397db4: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for str_replace

str_replaceRun #5608318a89619Run #5608311397db4DiffDiff%
Number of Function Calls6,324 6,324 0 0.0%
Incl. Wall Time (microsec)2,283 2,126 -157 -6.9%
Incl. Wall Time (microsec) per call 0 0 -0 -6.9%
Excl. Wall Time (microsec)2,283 2,126 -157 -6.9%
Incl. MemUse (bytes)3,733,920 3,707,040 -26,880 -0.7%
Incl. MemUse (bytes) per call 590 586 -4 -0.7%
Excl. MemUse (bytes)3,733,272 3,706,392 -26,880 -0.7%
Incl. PeakMemUse (bytes)461,824 456,480 -5,344 -1.2%
Incl. PeakMemUse (bytes) per call 73 72 -1 -1.2%
Excl. PeakMemUse (bytes)461,824 456,480 -5,344 -1.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_replace0 N/A% -157 -3.3% -26,880 -2153.8% -5,344 -204.3%
Exclusive Metrics Diff for Current Function-157 -100.0% -26,880 -100.0% -5,344 -100.0%
Parent functions
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders0 N/A% -151 -96.2% -8 -0.0% -2,760 -51.6%
Drupal\Core\Render\Renderer::renderPlaceholder0 N/A% -87 -55.4% 0 0.0% 80 1.5%
Drupal\Core\Routing\UrlGenerator::doGenerate0 N/A% 48 30.6% 176 0.7% 0 0.0%
Drupal\Component\Utility\Xss::filter0 N/A% 10 6.4% 88 0.3% 0 0.0%
Drupal\Component\Utility\UrlHelper::buildQuery0 N/A% 10 6.4% 0 0.0% 0 0.0%
Drupal\Component\Utility\Html::cleanCssIdentifier0 N/A% 10 6.4% -27,152 -101.0% -2,720 -50.9%
Drupal\Core\Database\Connection::expandArguments0 N/A% 4 2.5% 8 0.0% 0 0.0%
Drupal\Core\Entity\Entity::urlInfo0 N/A% 4 2.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\Html::getId0 N/A% -3 -1.9% 0 0.0% 0 0.0%
_views_query_tag_alter_condition@20 N/A% -3 -1.9% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath0 N/A% -3 -1.9% 0 0.0% 0 0.0%
Twig_Loader_Filesystem::normalizeName0 N/A% -2 -1.3% -72 -0.3% 0 0.0%
Drupal\Core\Database\Connection::prefixTables0 N/A% 2 1.3% -8 -0.0% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase640 N/A% -1 -0.6% 0 0.0% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder@10 N/A% 1 0.6% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::encodePath0 N/A% 1 0.6% 40 0.1% 0 0.0%
Drupal\views\Plugin\views\PluginBase::viewsTokenReplace0 N/A% 1 0.6% 0 0.0% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens0 N/A% 1 0.6% 56 0.2% 56 1.0%
Drupal\filter\Element\ProcessedText::preRenderText0 N/A% 1 0.6% 48 0.2% 0 0.0%
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\Template\Loader\ThemeRegistryLoader::findTemplate0 N/A% 0 0.0% -24 -0.1% 0 0.0%
Drupal\Component\Utility\Crypt::hashBase640 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%
_filter_autop0 N/A% 0 0.0% -8 -0.0% 0 0.0%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Database\Query\Select::addJoin0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Tags::explode0 N/A% 0 0.0% -24 -0.1% 0 0.0%
Drupal\Core\StreamWrapper\PublicStream::getExternalUrl0 N/A% 0 0.0% 0 0.0% 0 0.0%
Child function
Drupal\Core\Render\SafeString::__toString0 N/A% 0 0.0% 0 0.0% 0 0.0%