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

Regression/Improvement summary for str_replace

str_replaceRun #5608311397db4Run #560831fb3d4d9DiffDiff%
Number of Function Calls6,324 6,328 4 0.1%
Incl. Wall Time (microsec)2,126 2,131 5 0.2%
Incl. Wall Time (microsec) per call 0 0 0 0.2%
Excl. Wall Time (microsec)2,126 2,131 5 0.2%
Incl. MemUse (bytes)3,707,040 3,717,888 10,848 0.3%
Incl. MemUse (bytes) per call 586 588 1 0.2%
Excl. MemUse (bytes)3,706,392 3,717,240 10,848 0.3%
Incl. PeakMemUse (bytes)456,480 468,008 11,528 2.5%
Incl. PeakMemUse (bytes) per call 72 74 2 2.5%
Excl. PeakMemUse (bytes)456,480 468,008 11,528 2.5%

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% 5 0.0% 10,848 52.8% 11,528 53.8%
Exclusive Metrics Diff for Current Function5 100.0% 10,848 100.0% 11,528 100.0%
Parent functions
Drupal\Component\Utility\Html::cleanCssIdentifier0 0.0% 29 580.0% 9,928 91.5% 4,008 34.8%
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders0 0.0% -19 -380.0% 152 1.4% 7,256 62.9%
Drupal\Core\Routing\UrlGenerator::doGenerate0 0.0% -15 -300.0% 152 1.4% 16 0.1%
Drupal\filter\Element\ProcessedText::preRenderText0 0.0% 10 200.0% -40 -0.4% 0 0.0%
Drupal\Component\Utility\UrlHelper::buildQuery0 0.0% -10 -200.0% 8 0.1% 0 0.0%
Drupal\Core\Entity\Entity::urlInfo0 0.0% 7 140.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::filter0 0.0% -5 -100.0% -8 -0.1% 0 0.0%
Drupal\views\Plugin\views\PluginBase::viewsTokenReplace0 0.0% 3 60.0% 0 0.0% 0 0.0%
Drupal\Core\Database\Connection::expandArguments0 0.0% 2 40.0% -8 -0.1% 120 1.0%
Drupal\Core\Render\Renderer::renderPlaceholder0 0.0% -2 -40.0% 32 0.3% -32 -0.3%
Drupal\Component\Utility\Html::getId0 0.0% 2 40.0% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath1 25.0% 2 40.0% 304 2.8% 240 2.1%
Drupal\Core\Render\Renderer::renderPlaceholder@10 0.0% -1 -20.0% 0 0.0% 0 0.0%
Twig_Loader_Filesystem::normalizeName3 75.0% 1 20.0% 240 2.2% -80 -0.7%
Drupal\Core\Database\Query\Select::addJoin0 0.0% -1 -20.0% 0 0.0% 0 0.0%
Drupal\Core\Database\Connection::prefixTables0 0.0% 1 20.0% 0 0.0% 0 0.0%
_views_query_tag_alter_condition@20 0.0% 1 20.0% 16 0.1% 0 0.0%
Drupal\Core\Session\SessionConfiguration::getCookieDomain0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 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%
theme_get_suggestions0 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\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 0.0% 0 0.0% 0 0.0% 0 0.0%
_filter_autop0 0.0% 0 0.0% -8 -0.1% 0 0.0%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate0 0.0% 0 0.0% 8 0.1% 0 0.0%
Drupal\Core\StreamWrapper\PublicStream::getExternalUrl0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::encodePath0 0.0% 0 0.0% 48 0.4% 0 0.0%
Drupal\Component\Utility\Tags::explode0 0.0% 0 0.0% 8 0.1% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens0 0.0% 0 0.0% 16 0.1% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase640 0.0% 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%