Diff Report
Run #553ba42a8e87e: XHProf Run (Namespace=drupal-perf-lauriii)
vs.
Run #553b9a86a14e1: XHProf Run (Namespace=drupal-perf-lauriii)
Tip
Click a function name below to drill down.

Regression/Improvement summary for substr

substrRun #553ba42a8e87eRun #553b9a86a14e1DiffDiff%
Number of Function Calls44,209 41,977 -2,232 -5.0%
Incl. Wall Time (microsec)134 17 -117 -87.3%
Incl. Wall Time (microsec) per call 0 0 -0 -86.6%
Excl. Wall Time (microsec)134 17 -117 -87.3%
Incl. MemUse (bytes)1,522,816 1,452,152 -70,664 -4.6%
Incl. MemUse (bytes) per call 34 35 0 0.4%
Excl. MemUse (bytes)1,522,816 1,452,152 -70,664 -4.6%
Incl. PeakMemUse (bytes)31,920 26,992 -4,928 -15.4%
Incl. PeakMemUse (bytes) per call 1 1 -0 -10.9%
Excl. PeakMemUse (bytes)31,920 26,992 -4,928 -15.4%

Parent/Child Regression/Improvement report for substr [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
substr-2,232 -100.0% -117 -0.0% -70,664 -4.2% -4,928 -0.3%
Exclusive Metrics Diff for Current Function-117 -100.0% -70,664 -100.0% -4,928 -100.0%
Parent functions
Symfony\Component\Yaml\Parser::getNextEmbedBlock0 0.0% -46 -39.3% 248 0.4% 0 0.0%
Symfony\Component\Yaml\Inline::parseScalar0 0.0% -30 -25.6% 1,312 1.9% -48 -1.0%
Composer\Autoload\ClassLoader::findFileWithExtension0 0.0% -24 -20.5% 16 0.0% -3,128 -63.5%
Symfony\Component\Yaml\Inline::parseQuotedScalar0 0.0% -10 -8.5% 176 0.2% 96 1.9%
Drupal\Core\Database\Connection::expandArguments0 0.0% -9 -7.7% 80 0.1% -688 -14.0%
Symfony\Component\Yaml\Inline::parse0 0.0% 2 1.7% 24 0.0% 0 0.0%
Drupal\Core\Cache\CacheContextsManager::validateTokens0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords0 0.0% 0 0.0% -24 -0.0% 0 0.0%
twig_render_template@20 0.0% 0 0.0% 48 0.1% 0 0.0%
Drupal\Component\Utility\UrlHelper::parse0 0.0% 0 0.0% 0 0.0% -48 -1.0%
Twig_Lexer::lexExpression0 0.0% 0 0.0% 0 0.0% -96 -1.9%
Drupal\Core\Theme\ThemeManager::theme@20 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Theme\Registry::postProcessExtension-2,232 -100.0% 0 0.0% -72,656 -102.8% 0 0.0%
Drupal\Core\Cache\CacheContextsManager::optimizeTokens0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\system\Controller\SystemController::setLinkActiveClass0 0.0% 0 0.0% 0 0.0% 0 0.0%
Twig_Loader_Filesystem::parseName0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\Yaml\Inline::evaluateScalar0 0.0% 0 0.0% 96 0.1% 0 0.0%
Twig_Lexer::lexComment0 0.0% 0 0.0% 16 0.0% 1,848 37.5%
Drupal\Core\Asset\LibraryDiscoveryParser::buildByExtension0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\Yaml\Parser::parseValue0 0.0% 0 0.0% 56 0.1% 0 0.0%
Drupal\Core\ParamConverter\EntityConverter::getEntityTypeFromDefaults0 0.0% 0 0.0% 0 0.0% 0 0.0%
file_scan_directory0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% 0 0.0% 0 0.0% -664 -13.5%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 0.0% 0 0.0% 0 0.0% -568 -11.5%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteMatch::getParameterNames0 0.0% 0 0.0% 0 0.0% -64 -1.3%
Drupal\Core\Session\SessionConfiguration::getUnprefixedName0 0.0% 0 0.0% 0 0.0% -664 -13.5%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% 0 0.0% 0 0.0% -792 -16.1%
Drupal\Core\DrupalKernel::__construct0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytes0 0.0% 0 0.0% 0 0.0% -56 -1.1%
Symfony\Component\Routing\Route::sanitizeRequirement0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\Routing\RouteCompiler::compilePattern0 0.0% 0 0.0% 0 0.0% 0 0.0%
Doctrine\Common\Annotations\DocParser::parse@10 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\views\Plugin\views\query\Sql::addField0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::processPath0 0.0% 0 0.0% -16 -0.0% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders0 0.0% 0 0.0% 0 0.0% 0 0.0%
Doctrine\Common\Annotations\DocLexer::getType0 0.0% 0 0.0% 0 0.0% 0 0.0%
Doctrine\Common\Annotations\DocParser::parse0 0.0% 0 0.0% -40 -0.1% 0 0.0%
devel_silent0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery::getAnnotationReader0 0.0% 0 0.0% 0 0.0% 0 0.0%
Doctrine\Common\Reflection\StaticReflectionParser::__construct0 0.0% 0 0.0% 0 0.0% -56 -1.1%
Twig_Lexer::lexData0 0.0% 0 0.0% 0 0.0% 0 0.0%