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

Parent/Child report for str_replace [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
str_replace6,324 99.3% 2,283 0.2% 3,733,920 12.3% 461,824 1.5%
Exclusive Metrics for Current Function2,283 100.0% 3,733,272 100.0% 461,824 100.0%
Parent functions
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders4 0.1% 833 36.5% 1,583,184 42.4% 18,856 4.1%
Drupal\Core\Render\Renderer::renderPlaceholder2 0.0% 567 24.8% 757,784 20.3% 390,816 84.6%
Drupal\Component\Utility\Html::cleanCssIdentifier3,240 51.2% 174 7.6% 395,936 10.6% 10,776 2.3%
Drupal\Core\Database\Connection::prefixTables149 2.4% 173 7.6% 185,608 5.0% 19,728 4.3%
Drupal\Core\Routing\UrlGenerator::doGenerate217 3.4% 146 6.4% 30,040 0.8% 760 0.2%
Drupal\Core\Entity\Entity::urlInfo205 3.2% 88 3.9% 17,048 0.5% 5,432 1.2%
Drupal\filter\Element\ProcessedText::preRenderText29 0.5% 81 3.5% 207,784 5.6% 0 0.0%
Drupal\Component\Utility\Xss::filter1,008 15.9% 66 2.9% 146,968 3.9% 664 0.1%
Drupal\Core\Database\Connection::expandArguments284 4.5% 40 1.8% 48,392 1.3% 5,968 1.3%
_filter_autop29 0.5% 29 1.3% 211,920 5.7% 0 0.0%
Drupal\views\Plugin\views\PluginBase::viewsTokenReplace261 4.1% 24 1.1% 31,056 0.8% 760 0.2%
_views_query_tag_alter_condition@212 0.2% 18 0.8% 10,440 0.3% 336 0.1%
Drupal\Component\Utility\Html::getId38 0.6% 11 0.5% 2,072 0.1% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase644 0.1% 5 0.2% 944 0.0% 616 0.1%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens305 4.8% 5 0.2% 35,976 1.0% 384 0.1%
Drupal\Component\Utility\UrlHelper::encodePath127 2.0% 5 0.2% 10,136 0.3% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder@11 0.0% 4 0.2% 5,208 0.1% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath60 0.9% 3 0.1% 20,344 0.5% 2,144 0.5%
Twig_Loader_Filesystem::normalizeName180 2.8% 2 0.1% 14,400 0.4% 480 0.1%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults2 0.0% 2 0.1% 2,712 0.1% 712 0.2%
Drupal\Component\Utility\Crypt::hashBase642 0.0% 2 0.1% 1,008 0.0% 0 0.0%
Drupal\Core\Database\Query\Select::addJoin4 0.1% 2 0.1% 1,968 0.1% 1,200 0.3%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct1 0.0% 1 0.0% 784 0.0% 632 0.1%
Drupal\Core\Session\SessionConfiguration::getCookieDomain1 0.0% 1 0.0% 776 0.0% 448 0.1%
Drupal\Core\DrupalKernel::initializeRequestGlobals2 0.0% 1 0.0% 744 0.0% 496 0.1%
theme_get_suggestions2 0.0% 0 0.0% 792 0.0% 48 0.0%
Drupal\Component\Utility\UrlHelper::buildQuery58 0.9% 0 0.0% 2,552 0.1% 568 0.1%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate35 0.6% 0 0.0% 3,312 0.1% 0 0.0%
Drupal\Component\Utility\Tags::explode33 0.5% 0 0.0% 1,744 0.0% 0 0.0%
Drupal\Core\StreamWrapper\PublicStream::getExternalUrl29 0.5% 0 0.0% 2,288 0.1% 0 0.0%
Child function
Drupal\Core\Render\SafeString::__toString38 100.0% 0 0.0% 648 0.0% 0 0.0%