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

Regression/Improvement summary for Drupal\Core\Utility\LinkGenerator::generate

Drupal\Core\Utility\LinkGenerator::generateRun #560d7dac0c098Run #560d8088818a3DiffDiff%
Number of Function Calls306 306 0 0.0%
Incl. Wall Time (microsec)76,446 75,278 -1,168 -1.5%
Incl. Wall Time (microsec) per call 250 246 -4 -1.5%
Excl. Wall Time (microsec)9,865 9,744 -121 -1.2%
Incl. MemUse (bytes)601,072 601,152 80 0.0%
Incl. MemUse (bytes) per call 1,964 1,965 0 0.0%
Excl. MemUse (bytes)-101,440 -101,400 40 0.0%
Incl. PeakMemUse (bytes)104,000 104,472 472 0.5%
Incl. PeakMemUse (bytes) per call 340 341 2 0.5%
Excl. PeakMemUse (bytes)5,944 6,256 312 5.2%

Parent/Child Regression/Improvement report for Drupal\Core\Utility\LinkGenerator::generate [View Callgraph Diff]


Function NameCalls DiffCalls
Diff%
Incl. Wall
Diff
(microsec)
IWall
Diff%
Incl.
MemUse
Diff
(bytes)
IMemUse
Diff%
Incl.
PeakMemUse
Diff
(bytes)
IPeakMemUse
Diff%
Current Function
Drupal\Core\Utility\LinkGenerator::generate0 N/A% -1,168 -8.3% 80 0.3% 472 1.7%
Exclusive Metrics Diff for Current Function-121 -10.4% 40 50.0% 312 66.1%
Parent functions
Drupal\Core\Render\Element\Link::preRenderLink0 N/A% -1,444 -123.6% 80 100.0% 472 100.0%
Drupal::l0 N/A% 276 23.6% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Url::toString0 N/A% -894 -76.5% 32 40.0% 440 93.2%
Drupal\Core\Template\Attribute::__construct0 N/A% -60 -5.1% -56 -70.0% 88 18.6%
Drupal\Core\Template\Attribute::__toString0 N/A% -59 -5.1% 8 10.0% -184 -39.0%
Drupal\Core\StringTranslation\TranslatableString::__toString0 N/A% -57 -4.9% 0 0.0% 0 0.0%
Drupal\Core\Render\BubbleableMetadata::createFromObject0 N/A% -33 -2.8% 0 0.0% 0 0.0%
Drupal\Component\Utility\SafeMarkup::isSafe0 N/A% 15 1.3% 0 0.0% 0 0.0%
spl_autoload_call0 N/A% 14 1.2% -8 -10.0% 104 22.0%
Drupal\Component\Utility\Html::escape0 N/A% 13 1.1% 0 0.0% 0 0.0%
Drupal\Core\Url::getInternalPath0 N/A% 10 0.9% 0 0.0% 0 0.0%
strpos0 N/A% 10 0.9% 0 0.0% -144 -30.5%
Drupal\Core\Url::setUrlGenerator0 N/A% -6 -0.5% 0 0.0% 0 0.0%
Drupal\Core\Extension\ModuleHandler::alter0 N/A% -6 -0.5% 0 0.0% -144 -30.5%
array_walk0 N/A% 4 0.3% 64 80.0% 0 0.0%
Drupal\Core\GeneratedLink::setGeneratedLink0 N/A% 2 0.2% 0 0.0% 0 0.0%
Drupal\Core\Language\Language::getId0 N/A% 1 0.1% 0 0.0% 0 0.0%
Drupal\Core\GeneratedUrl::getGeneratedUrl0 N/A% -1 -0.1% 0 0.0% 0 0.0%
Drupal\Core\Url::isExternal0 N/A% -1 -0.1% 0 0.0% 0 0.0%
Drupal\Core\Url::setOptions0 N/A% 1 0.1% 0 0.0% 0 0.0%
ksort0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Component\Serialization\Json::encode0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Url::isRouted0 N/A% 0 0.0% 0 0.0% 0 0.0%
Drupal\Core\Url::getOptions0 N/A% 0 0.0% 0 0.0% 0 0.0%
is_array0 N/A% 0 0.0% 0 0.0% 0 0.0%