Run Report
Run #55b92b7b69e68: XHProf Run (Namespace=drupal-perf-cthos)
Tip
Click a function name below to drill down.

Parent/Child report for substr [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
substr1,840 99.6% 918 0.1% 105,600 0.4% 17,528 0.1%
Exclusive Metrics for Current Function918 100.0% 105,600 100.0% 17,528 100.0%
Parent functions
Drupal\Core\Database\Connection::expandArguments548 29.8% 429 46.7% 18,192 17.2% 664 3.8%
Doctrine\Common\Annotations\DocParser::parse39 2.1% 138 15.0% 8,600 8.1% 504 2.9%
Doctrine\Common\Reflection\StaticReflectionParser::__construct80 4.3% 64 7.0% 4,424 4.2% 576 3.3%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath80 4.3% 48 5.2% 5,448 5.2% 528 3.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::tempnam8 0.4% 39 4.2% 928 0.9% 360 2.1%
Symfony\Component\Yaml\Inline::parseScalar158 8.6% 30 3.3% 6,744 6.4% 0 0.0%
Twig_Lexer::lexData89 4.8% 26 2.8% 3,664 3.5% 656 3.7%
Twig_Lexer::lexComment8 0.4% 18 2.0% 6,696 6.3% 1,816 10.4%
Doctrine\Common\Annotations\DocLexer::getType121 6.6% 15 1.6% 5,504 5.2% 192 1.1%
Twig_Lexer::lexExpression44 2.4% 15 1.6% 2,056 1.9% 856 4.9%
Symfony\Component\Yaml\Parser::getNextEmbedBlock250 13.6% 12 1.3% 9,768 9.2% 0 0.0%
Drupal\Core\Asset\CssOptimizer::processFile11 0.6% 12 1.3% 1,240 1.2% 0 0.0%
Doctrine\Common\Annotations\DocParser::parse@15 0.3% 9 1.0% 1,456 1.4% 1,152 6.6%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens6 0.3% 7 0.8% 920 0.9% 664 3.8%
Twig_Environment::getCacheFilename92 5.0% 6 0.7% 5,976 5.7% 808 4.6%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens48 2.6% 5 0.5% 2,344 2.2% 664 3.8%
Drupal\Core\Theme\ThemeManager::theme6 0.3% 5 0.5% 832 0.8% 0 0.0%
Drupal\Core\Routing\RouteMatch::getParameterNames17 0.9% 5 0.5% 1,200 1.1% 376 2.1%
Drupal\Component\Utility\UrlHelper::parse32 1.7% 4 0.4% 3,208 3.0% 696 4.0%
Symfony\Component\Yaml\Inline::parse92 5.0% 4 0.4% 640 0.6% 0 0.0%
Composer\Autoload\ClassLoader::findFileWithExtension22 1.2% 4 0.4% 1,592 1.5% 752 4.3%
Drupal\Core\Session\SessionConfiguration::getUnprefixedName9 0.5% 4 0.4% 1,168 1.1% 664 3.8%
Drupal\Core\ParamConverter\EntityConverter::getEntityTypeFromDefaults5 0.3% 3 0.3% 832 0.8% 672 3.8%
Symfony\Component\HttpFoundation\ServerBag::getHeaders16 0.9% 3 0.3% 1,168 1.1% 672 3.8%
Drupal\Core\Theme\ThemeManager::theme@12 0.1% 2 0.2% 712 0.7% 416 2.4%
Symfony\Component\Routing\Route::sanitizeRequirement2 0.1% 2 0.2% 720 0.7% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords13 0.7% 2 0.2% 1,112 1.1% 344 2.0%
Symfony\Component\Routing\RouteCompiler::compilePattern10 0.5% 2 0.2% 920 0.9% 0 0.0%
Drupal\Core\DrupalKernel::__construct1 0.1% 1 0.1% 688 0.7% 688 3.9%
Drupal\Core\Entity\Query\QueryBase::getNamespaces1 0.1% 1 0.1% 704 0.7% 616 3.5%
Drupal\Core\Form\FormState::prepareCallback2 0.1% 1 0.1% 712 0.7% 0 0.0%
Drupal\Core\Asset\LibraryDiscoveryParser::buildByExtension1 0.1% 1 0.1% 736 0.7% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytes6 0.3% 1 0.1% 776 0.7% 40 0.2%
Drupal\Component\Uuid\Php::generate7 0.4% 0 0.0% 888 0.8% 552 3.1%
Symfony\Component\HttpFoundation\Request::preparePathInfo2 0.1% 0 0.0% 728 0.7% 664 3.8%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols1 0.1% 0 0.0% 696 0.7% 576 3.3%
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getAnnotationReader4 0.2% 0 0.0% 888 0.8% 360 2.1%
Twig_Loader_Filesystem::parseName2 0.1% 0 0.0% 720 0.7% 0 0.0%