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

Parent/Child report for in_array [View Callgraph ]


Function NameCallsCalls%Incl. Wall Time
(microsec)
IWall%Incl.
MemUse
(bytes)
IMemUse%Incl.
PeakMemUse
(bytes)
IPeakMemUse%
Current Function
in_array17,934 100.0% 5,534 0.1% 35,416 0.1% 11,176 0.0%
Exclusive Metrics for Current Function5,534 100.0% 35,416 100.0% 11,176 100.0%
Parent functions
drupal_find_theme_templates13,675 76.3% 1,581 28.6% 632 1.8% 0 0.0%
Symfony\Component\Yaml\Inline::parseScalar1,282 7.1% 1,009 18.2% 648 1.8% 0 0.0%
Twig_NodeVisitor_Optimizer::enterOptimizeFor85 0.5% 780 14.1% 648 1.8% 416 3.7%
Doctrine\Common\Annotations\DocParser::Annotations314 1.8% 395 7.1% 656 1.9% 344 3.1%
Doctrine\Common\Lexer\AbstractLexer::isNextTokenAny514 2.9% 324 5.9% 656 1.9% 344 3.1%
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys102 0.6% 214 3.9% 672 1.9% 584 5.2%
Twig_NodeVisitor_SafeAnalysis::leaveNode84 0.5% 188 3.4% 648 1.8% 512 4.6%
Twig_NodeVisitor_Escaper::isSafeFor336 1.9% 126 2.3% 640 1.8% 496 4.4%
Twig_ExpressionParser::parseAssignmentExpression35 0.2% 105 1.9% 656 1.9% 656 5.9%
Drupal\user\Entity\Role::hasPermission49 0.3% 96 1.7% 664 1.9% 0 0.0%
Drupal\Core\Asset\CssOptimizer::optimize45 0.3% 78 1.4% 648 1.8% 336 3.0%
Doctrine\Common\Annotations\DocParser::Annotations@158 0.3% 72 1.3% 656 1.9% 344 3.1%
Twig_NodeVisitor_SafeAnalysis::getSafe209 1.2% 59 1.1% 648 1.8% 464 4.2%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens109 0.6% 59 1.1% 672 1.9% 528 4.7%
Twig_Token::test113 0.6% 57 1.0% 624 1.8% 504 4.5%
file_scan_directory@216 0.1% 48 0.9% 640 1.8% 0 0.0%
Drupal\Core\Cache\Cache::mergeMaxAges51 0.3% 30 0.5% 648 1.8% 0 0.0%
Drupal\Core\Render\Element\HtmlTag::preRenderHtmlTag15 0.1% 27 0.5% 656 1.9% 0 0.0%
Drupal\Core\Access\CheckProvider::loadCheck5 0.0% 25 0.5% 648 1.8% 504 4.5%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies36 0.2% 25 0.5% 672 1.9% 0 0.0%
Symfony\Component\HttpFoundation\Request::isMethodSafe22 0.1% 24 0.4% 664 1.9% 664 5.9%
Drupal\Core\Entity\Sql\DefaultTableMapping::getFieldColumnName55 0.3% 23 0.4% 672 1.9% 584 5.2%
Drupal\Core\Plugin\DefaultPluginManager::findDefinitions382 2.1% 22 0.4% 664 1.9% 0 0.0%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@140 0.2% 18 0.3% 672 1.9% 0 0.0%
file_scan_directory@17 0.0% 18 0.3% 640 1.8% 0 0.0%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@237 0.2% 15 0.3% 672 1.9% 0 0.0%
Symfony\Component\HttpFoundation\ResponseHeaderBag::set14 0.1% 14 0.3% 664 1.9% 352 3.1%
Drupal\Core\Field\FormatterPluginManager::getInstance7 0.0% 13 0.2% 664 1.9% 496 4.4%
Drupal\user\UserAccessControlHandler::checkFieldAccess1 0.0% 13 0.2% 664 1.9% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords8 0.0% 8 0.1% 656 1.9% 0 0.0%
Drupal\views\Plugin\Derivative\ViewsLocalTask::getDerivativeDefinitions7 0.0% 7 0.1% 680 1.9% 0 0.0%
Drupal\Core\Menu\MenuTreeStorage::treeDataRecursive7 0.0% 7 0.1% 656 1.9% 0 0.0%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@325 0.1% 5 0.1% 672 1.9% 0 0.0%
views_theme16 0.1% 5 0.1% 616 1.7% 504 4.5%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@415 0.1% 4 0.1% 672 1.9% 0 0.0%
Symfony\Component\HttpFoundation\Response::isEmpty1 0.0% 4 0.1% 664 1.9% 0 0.0%
file_scan_directory2 0.0% 4 0.1% 632 1.8% 0 0.0%
Symfony\Component\Routing\Matcher\UrlMatcher::matchCollection1 0.0% 4 0.1% 672 1.9% 592 5.3%
Twig_Parser::setMacro1 0.0% 3 0.1% 632 1.8% 192 1.7%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getPropertyDefinitions3 0.0% 3 0.1% 680 1.9% 416 3.7%
Twig_NodeVisitor_SafeAnalysis::intersectSafe11 0.1% 3 0.1% 648 1.8% 0 0.0%
Drupal\Core\Menu\LocalActionManager::getActionsForRoute30 0.2% 3 0.1% 664 1.9% 0 0.0%
views_add_contextual_links2 0.0% 3 0.1% 632 1.8% 336 3.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext1 0.0% 3 0.1% 664 1.9% 0 0.0%
theme_get_setting7 0.0% 3 0.1% 624 1.8% 0 0.0%
Symfony\Component\HttpFoundation\ResponseHeaderBag::getCookies1 0.0% 2 0.0% 680 1.9% 0 0.0%
Drupal\search\SearchPageAccessControlHandler::checkAccess1 0.0% 1 0.0% 664 1.9% 0 0.0%
Drupal\Core\Asset\AssetResolver::getJsAssets13 0.1% 1 0.0% 648 1.8% 0 0.0%
Drupal\Component\Utility\Xss::attributes1 0.0% 1 0.0% 648 1.8% 0 0.0%
Drupal\Core\StreamWrapper\StreamWrapperManager::registerWrapper2 0.0% 1 0.0% 672 1.9% 672 6.0%
Drupal\views\Plugin\Derivative\ViewsLocalTask::alterLocalTasks7 0.0% 1 0.0% 672 1.9% 0 0.0%
Drupal\views\Views::getApplicableViews30 0.2% 0 0.0% 648 1.8% 336 3.0%
Drupal\Core\Asset\LibraryDependencyResolver::getMinimalRepresentativeSubset38 0.2% 0 0.0% 680 1.9% 0 0.0%
color_library_info_alter6 0.0% 0 0.0% 632 1.8% 0 0.0%