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

Regression/Improvement summary for str_replace

str_replaceRun #55f2450b58930Run #55f2459f810afDiffDiff%
Number of Function Calls1,440 1,441 1 0.1%
Incl. Wall Time (microsec)1,851 1,784 -67 -3.6%
Incl. Wall Time (microsec) per call 1 1 -0 -3.7%
Excl. Wall Time (microsec)1,851 1,784 -67 -3.6%
Incl. MemUse (bytes)1,674,768 1,673,272 -1,496 -0.1%
Incl. MemUse (bytes) per call 1,163 1,161 -2 -0.2%
Excl. MemUse (bytes)1,674,120 1,672,624 -1,496 -0.1%
Incl. PeakMemUse (bytes)323,296 325,792 2,496 0.8%
Incl. PeakMemUse (bytes) per call 225 226 2 0.7%
Excl. PeakMemUse (bytes)323,296 325,792 2,496 0.8%

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_replace1 100.0% -67 -0.7% -1,496 -1.5% 2,496 2.5%
Exclusive Metrics Diff for Current Function-67 -100.0% -1,496 -100.0% 2,496 100.0%
Parent functions
Drupal\Core\Render\Renderer::renderPlaceholder0 0.0% -34 -50.7% -920 -61.5% 1,400 56.1%
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders0 0.0% -15 -22.4% -904 -60.4% 608 24.4%
Drupal\Core\Database\Connection::prefixTables0 0.0% 0 0.0% 0 0.0% 464 18.6%
_views_query_tag_alter_condition@20 0.0% 1 1.5% 0 0.0% 48 1.9%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens0 0.0% -4 -6.0% 24 1.6% -24 -1.0%
Drupal\Component\Utility\UrlHelper::buildQuery0 0.0% -1 -1.5% 16 1.1% 0 0.0%
Drupal\views\Plugin\views\PluginBase::viewsTokenReplace0 0.0% -3 -4.5% 0 0.0% 0 0.0%
Drupal\Core\StreamWrapper\PublicStream::getExternalUrl0 0.0% 1 1.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::encodePath0 0.0% -2 -3.0% 0 0.0% 0 0.0%
theme_get_suggestions0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::hashBase640 0.0% 1 1.5% 0 0.0% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder@10 0.0% 3 4.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\Html::getId0 0.0% -4 -6.0% 0 0.0% 0 0.0%
_filter_autop0 0.0% -1 -1.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\Tags::explode0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate0 0.0% 2 3.0% 0 0.0% 0 0.0%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults0 0.0% -1 -1.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase640 0.0% -1 -1.5% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionConfiguration::getCookieDomain0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 0.0% 1 1.5% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::doGenerate0 0.0% -3 -4.5% 0 0.0% 0 0.0%
Drupal\Core\Database\Query\Select::addJoin0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath1 100.0% -5 -7.5% 288 19.3% 0 0.0%
Drupal\Core\Database\Connection::expandArguments0 0.0% -3 -4.5% 0 0.0% 0 0.0%
Drupal\Core\Entity\Entity::urlInfo0 0.0% -1 -1.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::filter0 0.0% 6 9.0% 0 0.0% 0 0.0%
Drupal\filter\Element\ProcessedText::preRenderText0 0.0% -4 -6.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%