Diff Report
Run #541de5cbd937a: XHProf Run (Namespace=drupal-perf-cottser)
vs.
Run #541de429e5ab1: XHProf Run (Namespace=drupal-perf-cottser)
Tip
Click a function name below to drill down.

Regression/Improvement summary for substr

substrRun #541de5cbd937aRun #541de429e5ab1DiffDiff%
Number of Function Calls1,636 1,638 2 0.1%
Incl. Wall Time (microsec)1,650 1,655 5 0.3%
Incl. Wall Time (microsec) per call 1 1 0 0.2%
Excl. Wall Time (microsec)1,650 1,655 5 0.3%
Incl. CPU (microsecs)2,808 2,862 54 1.9%
Incl. CPU (microsecs) per call 2 2 0 1.8%
Excl. CPU (microsec)2,808 2,862 54 1.9%
Incl. MemUse (bytes)100,176 100,248 72 0.1%
Incl. MemUse (bytes) per call 61 61 -0 -0.1%
Excl. MemUse (bytes)100,176 100,248 72 0.1%
Incl. PeakMemUse (bytes)15,704 15,920 216 1.4%
Incl. PeakMemUse (bytes) per call 10 10 0 1.3%
Excl. PeakMemUse (bytes)15,704 15,920 216 1.4%

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


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl. CPU Diff
(microsec)
ICpu
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
substr2 100.0% 5 0.1% 54 0.7% 72 0.1% 216 0.2%
Exclusive Metrics Diff for Current Function5 100.0% 54 100.0% 72 100.0% 216 100.0%
Parent functions
Composer\Autoload\ClassLoader::findFileWithExtension0 0.0% -3 -60.0% 17 31.5% 8 11.1% -8 -3.7%
Drupal\Component\Utility\Crypt::randomBytes0 0.0% 2 40.0% 3 5.6% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath0 0.0% 2 40.0% 3 5.6% 0 0.0% 0 0.0%
twig_render_template0 0.0% 1 20.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteMatch::getParameterNames0 0.0% 1 20.0% 10 18.5% 0 0.0% 0 0.0%
twig_render_template@21 50.0% 1 20.0% 1 1.9% 32 44.4% 0 0.0%
_theme@21 50.0% 1 20.0% 4 7.4% 32 44.4% 0 0.0%
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate0 0.0% 0 0.0% -3 -5.6% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::processPath0 0.0% 0 0.0% 11 20.4% 0 0.0% 0 0.0%
_theme0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::generateFromPath0 0.0% 0 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% 0 0.0%
Drupal\system\Controller\SystemController::setLinkActiveClass0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
twig_render_template@10 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
_theme@10 0.0% 0 0.0% 2 3.7% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols0 0.0% 0 0.0% -4 -7.4% 0 0.0% 0 0.0%
Drupal\Component\Uuid\Php::generate0 0.0% 0 0.0% -2 -3.7% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% 0 0.0% -3 -5.6% 0 0.0% 0 0.0%
request_path0 0.0% 0 0.0% 1 1.9% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeRequestGlobals0 0.0% 0 0.0% 1 1.9% 0 0.0% 0 0.0%
Drupal\Core\DrupalKernel::initializeCookieGlobals0 0.0% 0 0.0% 1 1.9% 0 0.0% 0 0.0%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% 0 0.0% -2 -3.7% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders0 0.0% 0 0.0% -1 -1.9% 0 0.0% 224 103.7%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% 0 0.0% 2 3.7% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionManager::getInsecureName0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords0 0.0% 0 0.0% 3 5.6% 0 0.0% 0 0.0%
Drupal\views\Plugin\views\query\Sql::addField0 0.0% 0 0.0% -1 -1.9% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% 0 0.0% 1 1.9% 0 0.0% 0 0.0%
Symfony\Component\Routing\RouteCompiler::compilePattern0 0.0% 0 0.0% 9 16.7% 0 0.0% 0 0.0%
Twig_Environment::getCacheFilename0 0.0% 0 0.0% 1 1.9% 0 0.0% 0 0.0%