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

Regression/Improvement summary for substr

substrRun #54f283c5bb5f3Run #54f28d53cc42bDiffDiff%
Number of Function Calls1,120 1,126 6 0.5%
Incl. Wall Time (microsec)2,750 2,350 -400 -14.5%
Incl. Wall Time (microsec) per call 2 2 -0 -15.0%
Excl. Wall Time (microsec)403 198 -205 -50.9%
Incl. MemUse (bytes)90,200 90,584 384 0.4%
Incl. MemUse (bytes) per call 81 80 -0 -0.1%
Excl. MemUse (bytes)73,144 73,528 384 0.5%
Incl. PeakMemUse (bytes)88,912 89,896 984 1.1%
Incl. PeakMemUse (bytes) per call 79 80 0 0.6%
Excl. PeakMemUse (bytes)24,640 25,608 968 3.9%

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% -400 -3.7% 384 0.2% 984 0.6%
Exclusive Metrics Diff for Current Function-205 -51.2% 384 100.0% 968 98.4%
Parent functions
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% 0 0.0% 24 6.2% 728 74.0%
Composer\Autoload\ClassLoader::findFileWithExtension0 0.0% -170 -42.5% -24 -6.2% 184 18.7%
Drupal\Component\Utility\Crypt::randomBytes0 0.0% -2 -0.5% 0 0.0% 56 5.7%
devel_silent0 0.0% -197 -49.2% 0 0.0% 16 1.6%
Twig_Environment::getCacheFilename4 66.7% -7 -1.8% 232 60.4% 0 0.0%
Drupal\Component\Uuid\Php::generate0 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%
Twig_Error::updateRepr0 0.0% -2 -0.5% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::parse0 0.0% -1 -0.2% 0 0.0% 0 0.0%
Drupal\system\Controller\SystemController::setLinkActiveClass0 0.0% -1 -0.2% 0 0.0% 0 0.0%
Drupal\Core\Theme\ThemeManager::theme@20 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols0 0.0% -1 -0.2% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::processPath0 0.0% 0 0.0% 8 2.1% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords0 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%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% -1 -0.2% 0 0.0% 0 0.0%
Drupal\Core\Database\Connection::expandArguments0 0.0% -8 -2.0% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath2 33.3% -4 -1.0% 120 31.2% 0 0.0%
Drupal\Core\DrupalKernel::__construct0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% -4 -1.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders0 0.0% 1 0.2% 0 0.0% 0 0.0%
Symfony\Component\Routing\Route::sanitizeRequirement0 0.0% -1 -0.2% 24 6.2% 0 0.0%
Drupal\Core\Session\SessionConfiguration::getUnprefixedName0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteMatch::getParameterNames0 0.0% -2 -0.5% 0 0.0% 0 0.0%
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate0 0.0% 0 0.0% 0 0.0% 0 0.0%
Child function
Drupal\Core\Url::__toString0 N/A% -195 -48.8% 0 0.0% 16 1.6%