Skip to content

benchmark: update iterations of benchmark/async_hooks/async-local-sto…

…rage-

propagate-asyncresource.js

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

Increase the iterations to let the test case trigger the real testing logic, not spending most cycles on loading the JS file itself.

<!--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/async-local-storage-propagate-asyncresource.js storageCount=0: 12349870.34 1562324.239 790%
async_hooks/async-local-storage-propagate-asyncresource.js storageCount=1: 7670267.474 685786.8616 1118%
async_hooks/async-local-storage-propagate-asyncresource.js storageCount=10: 2800733.21 350653.7589 799%
async_hooks/async-local-storage-propagate-asyncresource.js storageCount=100: 159107.3396 95701.24369 166%

Merge request reports

Loading