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

Regression/Improvement summary for substr

substrRun #538e3ac0de109Run #538e3b37c1a66DiffDiff%
Number of Function Calls1,259 1,271 12 1.0%
Incl. Wall Time (microsec)60 57 -3 -5.0%
Incl. Wall Time (microsec) per call 0 0 -0 -5.9%
Excl. Wall Time (microsec)60 57 -3 -5.0%
Incl. CPU (microsecs)1,396 1,382 -14 -1.0%
Incl. CPU (microsecs) per call 1 1 -0 -1.9%
Excl. CPU (microsec)1,396 1,382 -14 -1.0%
Incl. MemUse (bytes)82,664 83,344 680 0.8%
Incl. MemUse (bytes) per call 66 66 -0 -0.1%
Excl. MemUse (bytes)82,664 83,344 680 0.8%
Incl. PeakMemUse (bytes)13,632 13,616 -16 -0.1%
Incl. PeakMemUse (bytes) per call 11 11 -0 -1.1%
Excl. PeakMemUse (bytes)13,632 13,616 -16 -0.1%

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
substr12 100.0% -3 -0.1% -14 -0.4% 680 0.6% -16 -0.0%
Exclusive Metrics Diff for Current Function-3 -100.0% -14 -100.0% 680 100.0% -16 -100.0%
Parent functions
Composer\Autoload\ClassLoader::findFile0 0.0% -7 -233.3% -45 -321.4% -24 -3.5% -56 -350.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath4 33.3% 2 66.7% 7 50.0% 240 35.3% 0 0.0%
Drupal\Core\ParamConverter\EntityConverter::convert0 0.0% 1 33.3% 5 35.7% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% -1 -33.3% 1 7.1% 0 0.0% 0 0.0%
_theme@20 0.0% -1 -33.3% 4 28.6% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionManager::getInsecureName0 0.0% 1 33.3% 2 14.3% 0 0.0% 0 0.0%
twig_render_template@20 0.0% 1 33.3% -1 -7.1% 0 0.0% 0 0.0%
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate0 0.0% 1 33.3% 11 78.6% 0 0.0% 0 0.0%
twig_render_template0 0.0% 0 0.0% 1 7.1% 0 0.0% 0 0.0%
_theme0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
_drupal_request_initialize0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders0 0.0% 0 0.0% 3 21.4% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::attributes0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\Sql\Tables::addField0 0.0% 0 0.0% 1 7.1% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols0 0.0% 0 0.0% 1 7.1% 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% -1 -7.1% 0 0.0% 0 0.0%
_theme@10 0.0% 0 0.0% 1 7.1% 0 0.0% 0 0.0%
Drupal\image\Entity\ImageStyle::getPathToken0 0.0% 0 0.0% 3 21.4% 0 0.0% 0 0.0%
file_uri_scheme0 0.0% 0 0.0% -16 -114.3% 0 0.0% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytes0 0.0% 0 0.0% 2 14.3% 0 0.0% 40 250.0%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% 0 0.0% -2 -14.3% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\Routing\RouteCompiler::compilePattern0 0.0% 0 0.0% 7 50.0% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Twig_Environment::getCacheFilename8 66.7% 0 0.0% 4 28.6% 464 68.2% 0 0.0%
Drupal\Component\Utility\Xss::split0 0.0% 0 0.0% 3 21.4% 0 0.0% 0 0.0%
Drupal\Component\Uuid\Php::generate0 0.0% 0 0.0% -5 -35.7% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::processPath0 0.0% 0 0.0% 2 14.3% 0 0.0% 0 0.0%
request_path0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% 0 0.0% -2 -14.3% 0 0.0% 0 0.0%