Diff Report
Run #539201f8938f4: XHProf Run (Namespace=drupal-perf-drupalcon)
vs.
Run #5392041970f3f: XHProf Run (Namespace=drupal-perf-drupalcon)
Tip
Click a function name below to drill down.

Regression/Improvement summary for substr

substrRun #539201f8938f4Run #5392041970f3fDiffDiff%
Number of Function Calls393 406 13 3.3%
Incl. Wall Time (microsec)398 423 25 6.3%
Incl. Wall Time (microsec) per call 1 1 0 2.9%
Excl. Wall Time (microsec)398 423 25 6.3%
Incl. CPU (microsecs)733 780 47 6.4%
Incl. CPU (microsecs) per call 2 2 0 3.0%
Excl. CPU (microsec)733 780 47 6.4%
Incl. MemUse (bytes)23,028 24,004 976 4.2%
Incl. MemUse (bytes) per call 59 59 1 0.9%
Excl. MemUse (bytes)23,028 24,004 976 4.2%
Incl. PeakMemUse (bytes)11,264 11,688 424 3.8%
Incl. PeakMemUse (bytes) per call 29 29 0 0.4%
Excl. PeakMemUse (bytes)11,264 11,688 424 3.8%

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
substr13 100.0% 25 1.7% 47 1.7% 976 1.7% 424 0.7%
Exclusive Metrics Diff for Current Function25 100.0% 47 100.0% 976 100.0% 424 100.0%
Parent functions
Drupal\Component\Utility\Crypt::randomBytes0 0.0% 9 36.0% 1 2.1% 0 0.0% 0 0.0%
_theme@10 0.0% 9 36.0% 7 14.9% 0 0.0% 0 0.0%
Twig_Environment::getCacheFilename8 61.5% 7 28.0% 13 27.7% 360 36.9% 0 0.0%
Symfony\Component\Routing\RouteCompiler::compilePattern0 0.0% -1 -4.0% 5 10.6% 0 0.0% 0 0.0%
_theme@31 7.7% 1 4.0% 3 6.4% 424 43.4% 344 81.1%
Drupal\Core\Config\Entity\Query\Query::loadRecords0 0.0% -1 -4.0% 9 19.1% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath4 30.8% 1 4.0% 12 25.5% 192 19.7% 80 18.9%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols0 0.0% 0 0.0% 1 2.1% 0 0.0% 0 0.0%
_drupal_request_initialize0 0.0% 0 0.0% -2 -4.3% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::generateFromPath0 0.0% 0 0.0% -1 -2.1% 0 0.0% 0 0.0%
file_uri_scheme0 0.0% 0 0.0% 4 8.5% 0 0.0% 0 0.0%
_theme0 0.0% 0 0.0% -1 -2.1% 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\system\Controller\SystemController::setLinkActiveClass0 0.0% 0 0.0% -1 -2.1% 0 0.0% 0 0.0%
_theme@20 0.0% 0 0.0% -3 -6.4% 0 0.0% 0 0.0%
Composer\Autoload\ClassLoader::findFileWithExtension0 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 2.1% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::split0 0.0% 0 0.0% -1 -2.1% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::processPath0 0.0% 0 0.0% -2 -4.3% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Session\SessionManager::getInsecureName0 0.0% 0 0.0% 1 2.1% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::getPort0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% 0 0.0% 2 4.3% 0 0.0% 0 0.0%
Drupal\Core\ParamConverter\EntityConverter::convert0 0.0% 0 0.0% -2 -4.3% 0 0.0% 0 0.0%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate0 0.0% 0 0.0% 3 6.4% 0 0.0% 0 0.0%
request_path0 0.0% 0 0.0% -1 -2.1% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% 0 0.0% -1 -2.1% 0 0.0% 0 0.0%
Drupal\Component\Uuid\Php::generate0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%