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

Regression/Improvement summary for Drupal\Core\Database\Connection::query

Drupal\Core\Database\Connection::queryRun #517c76da9b0d3Run #517c75d3de7c7DiffDiff%
Number of Function Calls98 251 153 156.1%
Incl. Wall Time (microsec)32,624 221,043 188,419 577.5%
Incl. Wall Time (microsec) per call 333 881 548 164.5%
Excl. Wall Time (microsec)1,374 5,527 4,153 302.3%
Incl. CPU (microsecs)13,832 36,252 22,420 162.1%
Incl. CPU (microsecs) per call 141 144 3 2.3%
Excl. CPU (microsec)1,086 4,643 3,557 327.5%
Incl. MemUse (bytes)634,136 657,928 23,792 3.8%
Incl. MemUse (bytes) per call 6,471 2,621 -3,850 -59.5%
Excl. MemUse (bytes)-68,672 -1,034,416 -965,744 -1406.3%
Incl. PeakMemUse (bytes)440,152 603,688 163,536 37.2%
Incl. PeakMemUse (bytes) per call 4,491 2,405 -2,086 -46.4%
Excl. PeakMemUse (bytes)31,800 33,568 1,768 5.6%

Parent/Child Regression/Improvement report for Drupal\Core\Database\Connection::query [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
Drupal\Core\Database\Connection::query153 16.7% 188,419 71.0% 22,420 22.6% 23,792 9.8% 163,536 46.3%
Exclusive Metrics Diff for Current Function4,153 2.2% 3,557 15.9% -965,744 -4059.1% 1,768 1.1%
Parent functions
Drupal\Core\Database\Driver\mysql\Insert::execute151 98.7% 186,070 98.8% 21,771 97.1% 14,000 58.8% 162,480 99.4%
Drupal\Core\Cache\DatabaseBackend::getMultiple1 0.7% 1,541 0.8% 236 1.1% 6,232 26.2% -1,104 -0.7%
Drupal\Core\Database\Query\Select::execute1 0.7% 646 0.3% 250 1.1% 3,568 15.0% 2,600 1.6%
Drupal\Core\Cache\DatabaseBackend::checksumTags0 0.0% 325 0.2% 40 0.2% -8 -0.0% -440 -0.3%
Drupal\Core\KeyValueStore\DatabaseStorage::getMultiple0 0.0% -163 -0.1% 9 0.0% 0 0.0% 0 0.0%
Drupal\Core\Routing\RouteProvider::getRouteCollectionForRequest0 0.0% 128 0.1% 54 0.2% 0 0.0% 0 0.0%
Drupal\Core\Cache\DatabaseBackend::getMultiple@10 0.0% -111 -0.1% 60 0.3% 0 0.0% 0 0.0%
Drupal\Core\Path\AliasManager::lookupPathSource0 0.0% -107 -0.1% -23 -0.1% 0 0.0% 0 0.0%
db_query0 0.0% 98 0.1% 30 0.1% 0 0.0% 0 0.0%
Drupal\Core\Database\Driver\mysql\Connection::queryRange0 0.0% -8 -0.0% -7 -0.0% 0 0.0% 0 0.0%
Child functions
Drupal\Core\Database\Statement::execute153 20.1% 179,426 95.2% 13,382 59.7% 648,576 2726.0% 156,576 95.7%
Drupal\Core\Database\Connection::prepareQuery153 20.1% 2,923 1.6% 3,073 13.7% 219,040 920.6% 2,736 1.7%
Drupal\Core\Database\Connection::expandArguments153 20.1% 1,264 0.7% 1,371 6.1% 8 0.0% 2,984 1.8%
PDO::lastInsertId151 19.8% 505 0.3% 714 3.2% 5,632 23.7% 0 0.0%
Drupal\Core\Database\Connection::defaultOptions153 20.1% 148 0.1% 323 1.4% 116,280 488.7% -528 -0.3%