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

Regression/Improvement summary for str_replace

str_replaceRun #51c6814c41b47Run #51c6824f48b42DiffDiff%
Number of Function Calls 1,859 1,859 N/A%
Incl. Wall Time (microsec) 4,177 4,177 N/A%
Incl. Wall Time (microsec) per call N/A 2 2 N/A%
Excl. Wall Time (microsec) 4,177 4,177 N/A%
Incl. CPU (microsecs) 5,648 5,648 N/A%
Incl. CPU (microsecs) per call N/A 3 3 N/A%
Excl. CPU (microsec) 5,648 5,648 N/A%
Incl. MemUse (bytes) 444,328 444,328 N/A%
Incl. MemUse (bytes) per call N/A 239 239 N/A%
Excl. MemUse (bytes) 444,328 444,328 N/A%
Incl. PeakMemUse (bytes) 69,736 69,736 N/A%
Incl. PeakMemUse (bytes) per call N/A 38 38 N/A%
Excl. PeakMemUse (bytes) 69,736 69,736 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,859 99.5% 4,177 0.4% 5,648 0.5% 444,328 2.3% 69,736 0.4%
Exclusive Metrics Diff for Current Function4,177 100.0% 5,648 100.0% 444,328 100.0% 69,736 100.0%
Parent functions
Symfony\Component\ClassLoader\ClassLoader::findFile898 48.3% 1,785 42.7% 2,332 41.3% 77,232 17.4% 39,424 56.5%
Symfony\Component\Yaml\Parser::cleanup252 13.6% 700 16.8% 929 16.4% 88,808 20.0% 48 0.1%
Symfony\Component\Yaml\Unescaper::unescapeSingleQuotedString294 15.8% 594 14.2% 899 15.9% 48,016 10.8% 1,000 1.4%
Drupal\Core\Database\Connection::prefixTables157 8.4% 578 13.8% 749 13.3% 195,560 44.0% 23,808 34.1%
Drupal\Core\Routing\UrlGenerator::generateFromPath106 5.7% 220 5.3% 318 5.6% 9,296 2.1% 0 0.0%
drupal_encode_path66 3.6% 132 3.2% 160 2.8% 4,952 1.1% 504 0.7%
Drupal\Component\Utility\Xss::filter44 2.4% 72 1.7% 98 1.7% 5,688 1.3% 0 0.0%
Drupal\Core\Routing\RouteCompiler::getPathWithoutDefaults11 0.6% 29 0.7% 42 0.7% 6,472 1.5% 904 1.3%
Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery::__construct12 0.6% 27 0.6% 51 0.9% 2,024 0.5% 1,080 1.5%
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::getContainingDirectoryFullPath9 0.5% 19 0.5% 32 0.6% 2,392 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% 14 0.2% 1,112 0.3% 448 0.6%
Drupal\Core\Routing\UrlGenerator::httpBuildQuery3 0.2% 5 0.1% 10 0.2% 1,008 0.2% 0 0.0%
Symfony\Component\HttpKernel\Kernel::getRootDir1 0.1% 2 0.0% 4 0.1% 872 0.2% 712 1.0%