Diff Report
Run #536ffcbacf96d: XHProf Run (Namespace=drupal-perf-joelpittet)
vs.
Run #536ffbe232db1: XHProf Run (Namespace=drupal-perf-joelpittet)
Tip
Click a function name below to drill down.

Regression/Improvement summary for substr

substrRun #536ffcbacf96dRun #536ffbe232db1DiffDiff%
Number of Function Calls1,255 1,249 -6 -0.5%
Incl. Wall Time (microsec)878 912 34 3.9%
Incl. Wall Time (microsec) per call 1 1 0 4.4%
Excl. Wall Time (microsec)878 912 34 3.9%
Incl. CPU (microsecs)1,673 1,679 6 0.4%
Incl. CPU (microsecs) per call 1 1 0 0.8%
Excl. CPU (microsec)1,673 1,679 6 0.4%
Incl. MemUse (bytes)82,208 81,856 -352 -0.4%
Incl. MemUse (bytes) per call 66 66 0 0.1%
Excl. MemUse (bytes)82,208 81,856 -352 -0.4%
Incl. PeakMemUse (bytes)13,400 13,440 40 0.3%
Incl. PeakMemUse (bytes) per call 11 11 0 0.8%
Excl. PeakMemUse (bytes)13,400 13,440 40 0.3%

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
substr-6 -100.0% 34 2.1% 6 0.3% -352 -1.0% 40 0.1%
Exclusive Metrics Diff for Current Function34 100.0% 6 100.0% -352 -100.0% 40 100.0%
Parent functions
Composer\Autoload\ClassLoader::findFileWithExtension0 0.0% 13 38.2% 8 133.3% -8 -2.3% 40 100.0%
_drupal_request_initialize0 0.0% 5 14.7% 4 66.7% 0 0.0% 0 0.0%
Symfony\Component\Routing\RouteCompiler::compilePattern0 0.0% 4 11.8% 2 33.3% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% 3 8.8% 4 66.7% 0 0.0% 0 0.0%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath-2 -33.3% 3 8.8% -3 -50.0% -120 -34.1% 0 0.0%
_theme@20 0.0% -3 -8.8% -1 -16.7% 0 0.0% 0 0.0%
Drupal\Component\Uuid\Php::generate0 0.0% 3 8.8% 11 183.3% 0 0.0% 0 0.0%
file_uri_scheme0 0.0% 2 5.9% -7 -116.7% 8 2.3% 0 0.0%
Drupal\Component\Utility\Crypt::randomBytes0 0.0% 2 5.9% 7 116.7% 0 0.0% 0 0.0%
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate0 0.0% -2 -5.9% -3 -50.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::processPath0 0.0% 1 2.9% 2 33.3% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::loadRecords0 0.0% 1 2.9% 4 66.7% 0 0.0% 0 0.0%
Drupal\Core\ParamConverter\EntityConverter::convert0 0.0% 1 2.9% -1 -16.7% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\Sql\Tables::addField0 0.0% 1 2.9% -7 -116.7% 0 0.0% 0 0.0%
Drupal\Component\Utility\UrlHelper::stripDangerousProtocols0 0.0% 0 0.0% -1 -16.7% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::split0 0.0% 0 0.0% -1 -16.7% 0 0.0% 0 0.0%
Drupal\system\Controller\SystemController::setLinkActiveClass0 0.0% 0 0.0% 1 16.7% 0 0.0% 0 0.0%
_theme@10 0.0% 0 0.0% -1 -16.7% 0 0.0% 0 0.0%
Drupal\Component\Utility\Xss::attributes0 0.0% 0 0.0% -3 -50.0% 0 0.0% 0 0.0%
_theme0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Twig_Environment::getCacheFilename-4 -66.7% 0 0.0% -6 -100.0% -232 -65.9% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% 0 0.0% -1 -16.7% 0 0.0% 0 0.0%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% 0 0.0% -1 -16.7% 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% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% 0 0.0% 1 16.7% 0 0.0% 0 0.0%
_theme@30 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
request_path0 0.0% 0 0.0% -2 -33.3% 0 0.0% 0 0.0%
twig_escape_filter0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%