Run Report
Run #560831fb3d4d9: 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,328 99.3% 2,131 0.2% 3,717,888 12.2% 468,008 1.5%
Exclusive Metrics for Current Function2,131 100.0% 3,717,240 100.0% 468,008 100.0%
Parent functions
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders4 0.1% 663 31.1% 1,583,328 42.6% 23,352 5.0%
Drupal\Core\Render\Renderer::renderPlaceholder2 0.0% 478 22.4% 757,816 20.4% 390,864 83.5%
Drupal\Component\Utility\Html::cleanCssIdentifier3,240 51.2% 213 10.0% 378,712 10.2% 12,064 2.6%
Drupal\Core\Routing\UrlGenerator::doGenerate217 3.4% 179 8.4% 30,368 0.8% 776 0.2%
Drupal\Core\Database\Connection::prefixTables149 2.4% 176 8.3% 185,600 5.0% 19,728 4.2%
Drupal\Core\Entity\Entity::urlInfo205 3.2% 99 4.6% 17,048 0.5% 5,432 1.2%
Drupal\filter\Element\ProcessedText::preRenderText29 0.5% 92 4.3% 207,792 5.6% 0 0.0%
Drupal\Component\Utility\Xss::filter1,008 15.9% 71 3.3% 147,048 4.0% 664 0.1%
Drupal\Core\Database\Connection::expandArguments284 4.5% 46 2.2% 48,392 1.3% 6,088 1.3%
_filter_autop29 0.5% 29 1.4% 211,904 5.7% 0 0.0%
Drupal\views\Plugin\views\PluginBase::viewsTokenReplace261 4.1% 28 1.3% 31,056 0.8% 760 0.2%
_views_query_tag_alter_condition@212 0.2% 16 0.8% 10,456 0.3% 336 0.1%
Drupal\Component\Utility\Html::getId38 0.6% 10 0.5% 2,072 0.1% 0 0.0%
Drupal\Component\Utility\UrlHelper::encodePath127 2.0% 6 0.3% 10,224 0.3% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens305 4.8% 6 0.3% 36,048 1.0% 440 0.1%
Drupal\Component\Utility\Crypt::randomBytesBase644 0.1% 4 0.2% 944 0.0% 616 0.1%
Drupal\Core\Render\Renderer::renderPlaceholder@11 0.0% 4 0.2% 5,208 0.1% 0 0.0%
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\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath61 1.0% 2 0.1% 20,648 0.6% 2,384 0.5%
Drupal\Core\Database\Query\Select::addJoin4 0.1% 1 0.0% 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%
Twig_Loader_Filesystem::normalizeName183 2.9% 1 0.0% 14,568 0.4% 400 0.1%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate35 0.6% 0 0.0% 3,296 0.1% 0 0.0%
Drupal\Component\Utility\Tags::explode33 0.5% 0 0.0% 1,728 0.0% 0 0.0%
Drupal\Core\StreamWrapper\PublicStream::getExternalUrl29 0.5% 0 0.0% 2,288 0.1% 0 0.0%
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,560 0.1% 568 0.1%
Child function
Drupal\Core\Render\SafeString::__toString38 100.0% 0 0.0% 648 0.0% 0 0.0%