Run Report
Run #55ca015847524: 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
substr1,873 99.8% 402 0.0% 73,124 0.2% 6,656 0.0%
Exclusive Metrics for Current Function402 100.0% 73,124 100.0% 6,656 100.0%
Parent functions
Drupal\Core\Database\Connection::expandArguments568 30.3% 185 46.0% 9,468 12.9% 472 7.1%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath80 4.3% 45 11.2% 4,204 5.7% 404 6.1%
Symfony\Component\Yaml\Parser::getNextEmbedBlock250 13.3% 33 8.2% 7,152 9.8% 0 0.0%
Symfony\Component\Yaml\Inline::parseScalar158 8.4% 26 6.5% 4,268 5.8% 68 1.0%
Doctrine\Common\Reflection\StaticReflectionParser::__construct80 4.3% 20 5.0% 3,304 4.5% 0 0.0%
Doctrine\Common\Annotations\DocParser::parse39 2.1% 16 4.0% 7,940 10.9% 172 2.6%
Drupal\Core\Routing\RouteMatch::getParameterNames17 0.9% 9 2.2% 644 0.9% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens51 2.7% 8 2.0% 1,512 2.1% 384 5.8%
Doctrine\Common\Annotations\DocLexer::getType121 6.5% 8 2.0% 3,836 5.2% 244 3.7%
Twig_Environment::getCacheFilename92 4.9% 7 1.7% 4,496 6.1% 268 4.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::tempnam8 0.4% 6 1.5% 548 0.7% 120 1.8%
Twig_Lexer::lexComment8 0.4% 4 1.0% 6,336 8.7% 0 0.0%
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getAnnotationReader4 0.2% 4 1.0% 560 0.8% 0 0.0%
Symfony\Component\Yaml\Inline::parse92 4.9% 4 1.0% 360 0.5% 96 1.4%
Doctrine\Common\Annotations\DocParser::parse@15 0.3% 4 1.0% 1,124 1.5% 416 6.2%
Twig_Lexer::lexExpression44 2.3% 3 0.7% 1,236 1.7% 404 6.1%
Drupal\Core\Cache\Context\CacheContextsManager::validateTokens6 0.3% 3 0.7% 568 0.8% 268 4.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords13 0.7% 3 0.7% 708 1.0% 68 1.0%
Drupal\Core\Session\SessionConfiguration::getUnprefixedName9 0.5% 2 0.5% 780 1.1% 384 5.8%
Drupal\Core\Theme\ThemeManager::theme6 0.3% 2 0.5% 456 0.6% 0 0.0%
Drupal\Component\Utility\UrlHelper::parse32 1.7% 1 0.2% 2,608 3.6% 324 4.9%
Composer\Autoload\ClassLoader::findFileWithExtension26 1.4% 1 0.2% 1,220 1.7% 28 0.4%
Symfony\Component\HttpFoundation\Request::getPort7 0.4% 1 0.2% 484 0.7% 372 5.6%
Drupal\Core\Theme\ThemeManager::theme@12 0.1% 1 0.2% 396 0.5% 240 3.6%
Drupal\Component\Utility\Crypt::randomBytes6 0.3% 1 0.2% 456 0.6% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders16 0.9% 1 0.2% 696 1.0% 120 1.8%
Drupal\Core\DrupalKernel::__construct1 0.1% 1 0.2% 408 0.6% 0 0.0%
Symfony\Component\Routing\Route::sanitizeRequirement2 0.1% 1 0.2% 408 0.6% 0 0.0%
Twig_Lexer::lexData89 4.8% 1 0.2% 2,124 2.9% 360 5.4%
Drupal\Core\Entity\Query\QueryBase::getNamespaces1 0.1% 1 0.2% 412 0.6% 0 0.0%
Drupal\Core\Asset\CssOptimizer::processFile11 0.6% 0 0.0% 844 1.2% 0 0.0%
Drupal\Core\Asset\LibraryDiscoveryParser::buildByExtension1 0.1% 0 0.0% 444 0.6% 0 0.0%
Twig_Loader_Filesystem::parseName2 0.1% 0 0.0% 432 0.6% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo1 0.1% 0 0.0% 396 0.5% 380 5.7%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols1 0.1% 0 0.0% 400 0.5% 384 5.8%
Symfony\Component\Routing\RouteCompiler::compilePattern10 0.5% 0 0.0% 508 0.7% 0 0.0%
Drupal\Component\Uuid\Php::generate7 0.4% 0 0.0% 512 0.7% 288 4.3%
Drupal\Core\ParamConverter\EntityConverter::getEntityTypeFromDefaults5 0.3% 0 0.0% 472 0.6% 392 5.9%
Drupal\Core\Form\FormState::prepareCallback2 0.1% 0 0.0% 404 0.6% 0 0.0%