Skip to content

benchmark: updates iterations of benchmark/async_hooks/gc-tracking.js

Fixes: https://github.com/nodejs/node/issues/50571

The original iteration is too small to trigger the async hooks code logic. Most of CPU is spent on JS test file loading.

<!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} @page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;} tr {mso-height-source:auto;} col {mso-width-source:auto;} br {mso-data-placement:same-cell;} td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:11.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;} .xl65 {mso-number-format:0%;} -->
    after PR before PR benefit
async_hooks/gc-tracking.js method="trackingEnabled" 33158974.16 27051514.5 123%
async_hooks/gc-tracking.js method="trackingEnabledWithDestroyHook" 2308431.69 2173549.22 106%
async_hooks/gc-tracking.js method="trackingDisabled" 214547979.3 80271748.77 267%

Merge request reports

Loading