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

Regression/Improvement summary for str_replace

str_replaceRun #51c6814c41b47Run #51c681e794599DiffDiff%
Number of Function Calls 1,858 1,858 N/A%
Incl. Wall Time (microsec) 4,159 4,159 N/A%
Incl. Wall Time (microsec) per call N/A 2 2 N/A%
Excl. Wall Time (microsec) 4,159 4,159 N/A%
Incl. CPU (microsecs) 5,543 5,543 N/A%
Incl. CPU (microsecs) per call N/A 3 3 N/A%
Excl. CPU (microsec) 5,543 5,543 N/A%
Incl. MemUse (bytes) 444,096 444,096 N/A%
Incl. MemUse (bytes) per call N/A 239 239 N/A%
Excl. MemUse (bytes) 444,096 444,096 N/A%
Incl. PeakMemUse (bytes) 69,704 69,704 N/A%
Incl. PeakMemUse (bytes) per call N/A 38 38 N/A%
Excl. PeakMemUse (bytes) 69,704 69,704 N/A%

Parent/Child Regression/Improvement report for str_replace [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
str_replace1,858 99.5% 4,159 0.4% 5,543 0.5% 444,096 2.3% 69,704 0.4%
Exclusive Metrics Diff for Current Function4,159 100.0% 5,543 100.0% 444,096 100.0% 69,704 100.0%
Parent functions
Symfony\Component\ClassLoader\ClassLoader::findFile898 48.3% 1,767 42.5% 2,261 40.8% 77,224 17.4% 39,392 56.5%
Symfony\Component\Yaml\Parser::cleanup252 13.6% 695 16.7% 933 16.8% 88,808 20.0% 48 0.1%
Symfony\Component\Yaml\Unescaper::unescapeSingleQuotedString294 15.8% 590 14.2% 904 16.3% 48,016 10.8% 1,000 1.4%
Drupal\Core\Database\Connection::prefixTables157 8.4% 589 14.2% 720 13.0% 195,560 44.0% 23,808 34.2%
Drupal\Core\Routing\UrlGenerator::generateFromPath106 5.7% 224 5.4% 316 5.7% 9,296 2.1% 0 0.0%
drupal_encode_path66 3.6% 132 3.2% 168 3.0% 4,952 1.1% 504 0.7%
Drupal\Component\Utility\Xss::filter44 2.4% 71 1.7% 103 1.9% 5,688 1.3% 0 0.0%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults11 0.6% 29 0.7% 42 0.8% 6,472 1.5% 904 1.3%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct12 0.6% 25 0.6% 39 0.7% 2,024 0.5% 1,080 1.5%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath8 0.4% 16 0.4% 29 0.5% 2,216 0.5% 944 1.4%
drupal_settings_initialize3 0.2% 8 0.2% 10 0.2% 896 0.2% 864 1.2%
theme_get_suggestions3 0.2% 6 0.1% 8 0.1% 1,112 0.3% 448 0.6%
Drupal\Core\Routing\UrlGenerator::httpBuildQuery3 0.2% 5 0.1% 8 0.1% 960 0.2% 0 0.0%
Symfony\Component\HttpKernel\Kernel::getRootDir1 0.1% 2 0.0% 2 0.0% 872 0.2% 712 1.0%