Run Report
Run #55ca0153deabc: XHProf Run (Namespace=drupal-perf-moshe)
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
substr11,248 100.0% 1,770 0.1% 321,984 0.7% 6,884 0.0%
Exclusive Metrics for Current Function1,770 100.0% 321,984 100.0% 6,884 100.0%
Parent functions
Drupal\Core\Database\Connection::expandArguments3,156 28.1% 755 42.7% 50,884 15.8% 500 7.3%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath146 1.3% 154 8.7% 7,372 2.3% 404 5.9%
Symfony\Component\Yaml\Parser::getNextEmbedBlock2,161 19.2% 144 8.1% 68,356 21.2% 0 0.0%
Doctrine\Common\Annotations\DocLexer::getType438 3.9% 106 6.0% 10,788 3.4% 304 4.4%
Doctrine\Common\Reflection\StaticReflectionParser::__construct454 4.0% 102 5.8% 14,948 4.6% 56 0.8%
Symfony\Component\Yaml\Inline::parseScalar2,052 18.2% 96 5.4% 53,224 16.5% 16 0.2%
Composer\Autoload\ClassLoader::findFileWithExtension285 2.5% 81 4.6% 11,148 3.5% 724 10.5%
Doctrine\Common\Annotations\DocParser::parse206 1.8% 76 4.3% 25,640 8.0% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords60 0.5% 28 1.6% 1,836 0.6% 24 0.3%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens87 0.8% 27 1.5% 2,328 0.7% 268 3.9%
Symfony\Component\Yaml\Inline::parseQuotedScalar190 1.7% 22 1.2% 4,548 1.4% 296 4.3%
Twig_Environment::getCacheFilename96 0.9% 20 1.1% 4,676 1.5% 268 3.9%
Drupal\Core\Config\Entity\Query\Query::Drupal\Core\Config\Entity\Query\{closure}82 0.7% 20 1.1% 2,808 0.9% 24 0.3%
Twig_Lexer::lexData418 3.7% 19 1.1% 12,252 3.8% 300 4.4%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::tempnam24 0.2% 17 1.0% 868 0.3% 120 1.7%
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getAnnotationReader14 0.1% 15 0.8% 900 0.3% 0 0.0%
Symfony\Component\Yaml\Inline::parse898 8.0% 14 0.8% 360 0.1% 0 0.0%
Twig_Lexer::lexComment38 0.3% 13 0.7% 26,208 8.1% 0 0.0%
Drupal\Core\Asset\CssOptimizer::processFile45 0.4% 11 0.6% 2,280 0.7% 0 0.0%
Twig_Lexer::lexExpression119 1.1% 9 0.5% 2,700 0.8% 400 5.8%
Doctrine\Common\Annotations\DocParser::parse@116 0.1% 9 0.5% 2,604 0.8% 544 7.9%
Drupal\Core\Routing\RouteMatch::getParameterNames38 0.3% 5 0.3% 980 0.3% 268 3.9%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens8 0.1% 5 0.3% 628 0.2% 412 6.0%
Drupal\views\Plugin\views\query\Sql::addField5 0.0% 4 0.2% 480 0.1% 316 4.6%
Symfony\Component\HttpFoundation\Request::getPort7 0.1% 4 0.2% 484 0.2% 372 5.4%
Drupal\Core\Session\SessionConfiguration::getUnprefixedName8 0.1% 3 0.2% 736 0.2% 384 5.6%
Twig_Loader_Filesystem::parseName4 0.0% 2 0.1% 480 0.1% 0 0.0%
Symfony\Component\Yaml\Inline::evaluateScalar27 0.2% 2 0.1% 808 0.3% 0 0.0%
file_scan_directory2 0.0% 2 0.1% 380 0.1% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@24 0.0% 2 0.1% 428 0.1% 0 0.0%
Drupal\Component\Utility\Xss::split4 0.0% 1 0.1% 424 0.1% 0 0.0%
Drupal\Core\DrupalKernel::__construct1 0.0% 1 0.1% 408 0.1% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytes2 0.0% 1 0.1% 384 0.1% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme1 0.0% 0 0.0% 376 0.1% 0 0.0%
Symfony\Component\Yaml\Parser::parseValue74 0.7% 0 0.0% 2,436 0.8% 0 0.0%
Drupal\Core\Asset\LibraryDiscoveryParser::buildByExtension3 0.0% 0 0.0% 428 0.1% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders16 0.1% 0 0.0% 696 0.2% 120 1.7%
Drupal\Component\Utility\Xss::attributes2 0.0% 0 0.0% 396 0.1% 0 0.0%
Drupal\Component\Utility\UrlHelper::parse51 0.5% 0 0.0% 2,628 0.8% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo1 0.0% 0 0.0% 396 0.1% 380 5.5%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols2 0.0% 0 0.0% 416 0.1% 384 5.6%
Drupal\Core\ParamConverter\EntityConverter::getEntityTypeFromDefaults1 0.0% 0 0.0% 412 0.1% 0 0.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces2 0.0% 0 0.0% 452 0.1% 0 0.0%