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

Regression/Improvement summary for substr

substrRun #52f30aadf2c65Run #52f30b8747627DiffDiff%
Number of Function Calls343 347 4 1.2%
Incl. Wall Time (microsec)232 284 52 22.4%
Incl. Wall Time (microsec) per call 1 1 0 21.0%
Excl. Wall Time (microsec)232 284 52 22.4%
Incl. CPU (microsecs)512 567 55 10.7%
Incl. CPU (microsecs) per call 1 2 0 9.5%
Excl. CPU (microsec)512 567 55 10.7%
Incl. MemUse (bytes)73,456 73,696 240 0.3%
Incl. MemUse (bytes) per call 214 212 -2 -0.8%
Excl. MemUse (bytes)73,456 73,696 240 0.3%
Incl. PeakMemUse (bytes)42,456 42,616 160 0.4%
Incl. PeakMemUse (bytes) per call 124 123 -1 -0.8%
Excl. PeakMemUse (bytes)42,456 42,616 160 0.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
substr4 100.0% 52 1.2% 55 1.3% 240 0.3% 160 0.2%
Exclusive Metrics Diff for Current Function52 100.0% 55 100.0% 240 100.0% 160 100.0%
Parent functions
Drupal\Component\Utility\Crypt::randomBytes0 0.0% 53 101.9% 54 98.2% 0 0.0% 0 0.0%
Drupal\Core\Config\Entity\Query\Query::execute0 0.0% -12 -23.1% -15 -27.3% 0 0.0% 0 0.0%
Drupal\Component\Uuid\Php::generate0 0.0% 6 11.5% -6 -10.9% 0 0.0% 0 0.0%
Symfony\Component\Routing\RouteCompiler::compilePattern0 0.0% 4 7.7% 7 12.7% 0 0.0% 0 0.0%
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate0 0.0% -1 -1.9% -5 -9.1% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\ServerBag::getHeaders0 0.0% 1 1.9% -1 -1.8% 8 3.3% 160 100.0%
theme@20 0.0% 1 1.9% -1 -1.8% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\AcceptHeaderItem::fromString0 0.0% 1 1.9% -1 -1.8% 0 0.0% 0 0.0%
Symfony\Component\HttpFoundation\Request::preparePathInfo0 0.0% -1 -1.9% 4 7.3% 0 0.0% 0 0.0%
Drupal\system\Controller\SystemController::setLinkActiveClass0 0.0% 0 0.0% 1 1.8% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\Sql\Tables::addField0 0.0% 0 0.0% 3 5.5% 0 0.0% 0 0.0%
Drupal\Core\Entity\Query\QueryBase::getNamespaces0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Utility\Url::stripDangerousProtocols0 0.0% 0 0.0% 4 7.3% 0 0.0% 0 0.0%
Drupal\Core\Authentication\AuthenticationManager::addProvider0 0.0% 0 0.0% -1 -1.8% 0 0.0% 0 0.0%
drupal_settings_initialize0 0.0% 0 0.0% 0 0.0% 0 0.0% 0 0.0%
Composer\Autoload\ClassLoader::findFile0 0.0% 0 0.0% 3 5.5% 0 0.0% 0 0.0%
Drupal\views\Plugin\views\query\Sql::addField0 0.0% 0 0.0% -1 -1.8% 0 0.0% 0 0.0%
Drupal\Core\Routing\UrlGenerator::generateFromPath0 0.0% 0 0.0% -5 -9.1% 0 0.0% 0 0.0%
Twig_Environment::getCacheFilename4 100.0% 0 0.0% 19 34.5% 232 96.7% 0 0.0%
request_path0 0.0% 0 0.0% -1 -1.8% 0 0.0% 0 0.0%
theme@10 0.0% 0 0.0% -3 -5.5% 0 0.0% 0 0.0%