Diff Report
Run #54df8d322535a: XHProf Run (Namespace=drupal-perf-davidhernandez)
vs.
Run #54df8f50b2e01: XHProf Run (Namespace=drupal-perf-davidhernandez)
Tip
Click a function name below to drill down.

Regression/Improvement summary for substr

substrRun #54df8d322535aRun #54df8f50b2e01DiffDiff%
Number of Function Calls2,565 2,571 6 0.2%
Incl. Wall Time (microsec)5 27 22 440.0%
Incl. Wall Time (microsec) per call 0 0 0 438.7%
Excl. Wall Time (microsec)5 27 22 440.0%
Incl. MemUse (bytes)159,520 159,816 296 0.2%
Incl. MemUse (bytes) per call 62 62 -0 -0.0%
Excl. MemUse (bytes)159,520 159,816 296 0.2%
Incl. PeakMemUse (bytes)11,264 14,016 2,752 24.4%
Incl. PeakMemUse (bytes) per call 4 5 1 24.1%
Excl. PeakMemUse (bytes)11,264 14,016 2,752 24.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
substr6 100.0% 22 0.3% 296 0.0% 2,752 0.0%
Exclusive Metrics Diff for Current Function22 100.0% 296 100.0% 2,752 100.0%
Parent functions
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath2 33.3% 11 50.0% 120 40.5% 0 0.0%
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate0 0.0% 9 40.9% 0 0.0% 0 0.0%
Drupal\Core\Database\Connection::expandArguments0 0.0% 2 9.1% -24 -8.1% 0 0.0%
Composer\Autoload\ClassLoader::findFileWithExtension0 0.0% -1 -4.5% -16 -5.4% 1,248 45.3%
Twig_Error::updateRepr0 0.0% 1 4.5% 0 0.0% 128 4.7%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% -1 -4.5% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::__construct0 0.0% 1 4.5% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\system\Controller\SystemController::setLinkActiveClass0 0.0% 0 0.0% 0 0.0% 192 7.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% 0 0.0% -8 -2.7% 0 0.0%
Drupal\Component\Uuid\Php::generate0 0.0% 0 0.0% 0 0.0% 88 3.2%
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% 576 20.9%
Twig_Loader_Filesystem::parseName0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\ParamConverter\EntityConverter::getEntityTypeFromDefaults0 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\Routing\UrlGenerator::processPath0 0.0% 0 0.0% -8 -2.7% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@20 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%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytes0 0.0% 0 0.0% 0 0.0% -40 -1.5%
Symfony\Component\HttpFoundation\ServerBag::getHeaders0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteMatch::getParameterNames0 0.0% 0 0.0% 0 0.0% 0 0.0%
Twig_Environment::getCacheFilename4 66.7% 0 0.0% 232 78.4% 0 0.0%
devel_silent0 0.0% 0 0.0% 0 0.0% 0 0.0%
request_path0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionConfiguration::getUnprefixedName0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::parse0 0.0% 0 0.0% 0 0.0% 560 20.3%