Run Report
Run #5608311397db4: 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,126 0.2% 3,707,040 12.2% 456,480 1.5%
Exclusive Metrics for Current Function2,126 100.0% 3,706,392 100.0% 456,480 100.0%
Parent functions
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::renderHtmlResponseAttachmentPlaceholders4 0.1% 682 32.1% 1,583,176 42.7% 16,096 3.5%
Drupal\Core\Render\Renderer::renderPlaceholder2 0.0% 480 22.6% 757,784 20.4% 390,896 85.6%
Drupal\Core\Routing\UrlGenerator::doGenerate217 3.4% 194 9.1% 30,216 0.8% 760 0.2%
Drupal\Component\Utility\Html::cleanCssIdentifier3,240 51.2% 184 8.7% 368,784 9.9% 8,056 1.8%
Drupal\Core\Database\Connection::prefixTables149 2.4% 175 8.2% 185,600 5.0% 19,728 4.3%
Drupal\Core\Entity\Entity::urlInfo205 3.2% 92 4.3% 17,048 0.5% 5,432 1.2%
Drupal\filter\Element\ProcessedText::preRenderText29 0.5% 82 3.9% 207,832 5.6% 0 0.0%
Drupal\Component\Utility\Xss::filter1,008 15.9% 76 3.6% 147,056 4.0% 664 0.1%
Drupal\Core\Database\Connection::expandArguments284 4.5% 44 2.1% 48,400 1.3% 5,968 1.3%
_filter_autop29 0.5% 29 1.4% 211,912 5.7% 0 0.0%
Drupal\views\Plugin\views\PluginBase::viewsTokenReplace261 4.1% 25 1.2% 31,056 0.8% 760 0.2%
_views_query_tag_alter_condition@212 0.2% 15 0.7% 10,440 0.3% 336 0.1%
Drupal\Component\Utility\UrlHelper::buildQuery58 0.9% 10 0.5% 2,552 0.1% 568 0.1%
Drupal\Component\Utility\Html::getId38 0.6% 8 0.4% 2,072 0.1% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens305 4.8% 6 0.3% 36,032 1.0% 440 0.1%
Drupal\Component\Utility\UrlHelper::encodePath127 2.0% 6 0.3% 10,176 0.3% 0 0.0%
Drupal\Core\Render\Renderer::renderPlaceholder@11 0.0% 5 0.2% 5,208 0.1% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytesBase644 0.1% 4 0.2% 944 0.0% 616 0.1%
Drupal\Core\Database\Query\Select::addJoin4 0.1% 2 0.1% 1,968 0.1% 1,200 0.3%
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\DrupalKernel::initializeRequestGlobals2 0.0% 1 0.0% 744 0.0% 496 0.1%
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\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath60 0.9% 0 0.0% 20,344 0.5% 2,144 0.5%
Twig_Loader_Filesystem::normalizeName180 2.8% 0 0.0% 14,328 0.4% 480 0.1%
Drupal\Core\Template\Loader\ThemeRegistryLoader::findTemplate35 0.6% 0 0.0% 3,288 0.1% 0 0.0%
Drupal\Core\StreamWrapper\PublicStream::getExternalUrl29 0.5% 0 0.0% 2,288 0.1% 0 0.0%
Drupal\Component\Utility\Tags::explode33 0.5% 0 0.0% 1,720 0.0% 0 0.0%
theme_get_suggestions2 0.0% 0 0.0% 792 0.0% 48 0.0%
Child function
Drupal\Core\Render\SafeString::__toString38 100.0% 0 0.0% 648 0.0% 0 0.0%