Run Report
Run #55ca0153deabc: XHProf Run (Namespace=drupal-perf-moshe)
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_array18,762 100.0% 2,788 0.1% 20,116 0.0% 5,936 0.0%
Exclusive Metrics for Current Function2,788 100.0% 20,116 100.0% 5,936 100.0%
Parent functions
drupal_find_theme_templates13,675 72.9% 1,484 53.2% 352 1.7% 0 0.0%
Symfony\Component\Yaml\Inline::parseScalar2,147 11.4% 178 6.4% 368 1.8% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys80 0.4% 113 4.1% 392 1.9% 392 6.6%
Doctrine\Common\Annotations\DocParser::Annotations316 1.7% 112 4.0% 376 1.9% 144 2.4%
Twig_Token::test113 0.6% 94 3.4% 340 1.7% 268 4.5%
Doctrine\Common\Lexer\AbstractLexer::isNextTokenAny518 2.8% 93 3.3% 376 1.9% 252 4.2%
Drupal\user\Entity\Role::hasPermission49 0.3% 85 3.0% 364 1.8% 0 0.0%
Drupal\Core\Cache\Context\CacheContextsManager::optimizeTokens87 0.5% 80 2.9% 388 1.9% 172 2.9%
Drupal\Core\Plugin\DefaultPluginManager::findDefinitions383 2.0% 41 1.5% 380 1.9% 0 0.0%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@140 0.2% 37 1.3% 388 1.9% 0 0.0%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@237 0.2% 36 1.3% 388 1.9% 0 0.0%
Twig_NodeVisitor_Optimizer::enterOptimizeFor85 0.5% 35 1.3% 368 1.8% 0 0.0%
Drupal\Core\Asset\CssOptimizer::optimize45 0.2% 33 1.2% 364 1.8% 268 4.5%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies36 0.2% 32 1.1% 388 1.9% 0 0.0%
Drupal\Core\Menu\LocalActionManager::getActionsForRoute30 0.2% 31 1.1% 380 1.9% 0 0.0%
Twig_ExpressionParser::parseAssignmentExpression35 0.2% 29 1.0% 372 1.8% 268 4.5%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@325 0.1% 25 0.9% 388 1.9% 0 0.0%
Drupal\Core\Entity\Sql\DefaultTableMapping::getFieldColumnName55 0.3% 23 0.8% 388 1.9% 388 6.5%
Drupal\Core\Render\Element\HtmlTag::preRenderHtmlTag15 0.1% 19 0.7% 376 1.9% 0 0.0%
Drupal\Core\Cache\Cache::mergeMaxAges51 0.3% 18 0.6% 364 1.8% 0 0.0%
Symfony\Component\HttpFoundation\Request::isMethodSafe22 0.1% 17 0.6% 380 1.9% 268 4.5%
Twig_NodeVisitor_SafeAnalysis::getSafe209 1.1% 16 0.6% 364 1.8% 364 6.1%
Drupal\Core\Access\CheckProvider::loadCheck5 0.0% 15 0.5% 368 1.8% 12 0.2%
Drupal\views\Views::getApplicableViews30 0.2% 14 0.5% 364 1.8% 240 4.0%
Drupal\Core\Asset\LibraryDependencyResolver::doGetDependencies@415 0.1% 14 0.5% 388 1.9% 0 0.0%
Doctrine\Common\Annotations\DocParser::Annotations@158 0.3% 11 0.4% 376 1.9% 108 1.8%
Symfony\Component\HttpFoundation\ResponseHeaderBag::set14 0.1% 11 0.4% 380 1.9% 144 2.4%
Drupal\Core\Asset\LibraryDependencyResolver::getMinimalRepresentativeSubset38 0.2% 10 0.4% 400 2.0% 0 0.0%
Drupal\Core\Field\FormatterPluginManager::getInstance7 0.0% 10 0.4% 380 1.9% 380 6.4%
file_scan_directory@17 0.0% 7 0.3% 348 1.7% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords8 0.0% 7 0.3% 376 1.9% 376 6.3%
Twig_NodeVisitor_SafeAnalysis::leaveNode84 0.4% 7 0.3% 364 1.8% 324 5.5%
Drupal\views\Plugin\Derivative\ViewsLocalTask::alterLocalTasks7 0.0% 7 0.3% 388 1.9% 0 0.0%
Drupal\Core\Menu\MenuTreeStorage::treeDataRecursive7 0.0% 5 0.2% 376 1.9% 0 0.0%
Twig_NodeVisitor_Escaper::isSafeFor336 1.8% 5 0.2% 360 1.8% 184 3.1%
Drupal\views\Plugin\Derivative\ViewsLocalTask::getDerivativeDefinitions7 0.0% 5 0.2% 396 2.0% 0 0.0%
file_scan_directory2 0.0% 4 0.1% 344 1.7% 0 0.0%
Drupal\Core\Entity\TypedData\EntityDataDefinition::getPropertyDefinitions3 0.0% 3 0.1% 400 2.0% 400 6.7%
views_theme16 0.1% 2 0.1% 336 1.7% 268 4.5%
theme_get_setting7 0.0% 2 0.1% 344 1.7% 0 0.0%
Drupal\Core\StreamWrapper\StreamWrapperManager::registerWrapper2 0.0% 2 0.1% 388 1.9% 268 4.5%
Symfony\Component\HttpFoundation\ResponseHeaderBag::getCookies1 0.0% 2 0.1% 388 1.9% 0 0.0%
Symfony\Component\HttpFoundation\Response::isEmpty1 0.0% 2 0.1% 376 1.9% 0 0.0%
Twig_Parser::setMacro1 0.0% 2 0.1% 348 1.7% 0 0.0%
views_add_contextual_links2 0.0% 2 0.1% 352 1.7% 180 3.0%
Symfony\Component\Routing\Matcher\UrlMatcher::matchCollection1 0.0% 1 0.0% 388 1.9% 268 4.5%
Drupal\Core\Asset\AssetResolver::getJsAssets13 0.1% 1 0.0% 368 1.8% 0 0.0%
file_scan_directory@216 0.1% 1 0.0% 348 1.7% 0 0.0%
Drupal\user\UserAccessControlHandler::checkFieldAccess1 0.0% 1 0.0% 380 1.9% 0 0.0%
Drupal\Core\Cache\Context\UserRolesCacheContext::getContext1 0.0% 1 0.0% 384 1.9% 0 0.0%
Drupal\search\SearchPageAccessControlHandler::checkAccess1 0.0% 1 0.0% 384 1.9% 0 0.0%
color_library_info_alter6 0.0% 1 0.0% 348 1.7% 0 0.0%
Drupal\Component\Utility\Xss::attributes1 0.0% 1 0.0% 364 1.8% 0 0.0%
Twig_NodeVisitor_SafeAnalysis::intersectSafe11 0.1% 0 0.0% 368 1.8% 0 0.0%