-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
benchmark: update iterations of benchmark/domain/domain-fn-args.js #51408
benchmark: update iterations of benchmark/domain/domain-fn-args.js #51408
Conversation
Reason is the repetition is too small and the data variance is caused by GC activities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reference, the original intention of the benchmark case was to verify the performance of fn.call
between the size of the sliced argument array: 8c69d7b.
Co-authored-by: Chengzhong Wu <[email protected]>
Landed in fde5534 |
Fixes: #50571 PR-URL: #51408 Reviewed-By: Chengzhong Wu <[email protected]>
Fixes: #50571 PR-URL: #51408 Reviewed-By: Chengzhong Wu <[email protected]>
Fixes: #50571 PR-URL: #51408 Reviewed-By: Chengzhong Wu <[email protected]>
Fixes: nodejs#50571 PR-URL: nodejs#51408 Reviewed-By: Chengzhong Wu <[email protected]>
Fixes: #50571
Found
40% regression on node20 compared with older version:/luc/node_new$ /home/benchmark/.nvm/versions/node/v16.20.2/bin/node benchmark/domain/domain-fn-args.jsbenchmark@benchmark-S2600WFT:
domain/domain-fn-args.js n=10 args=0: 59,126.81519322643
domain/domain-fn-args.js n=10 args=1: 55,949.690038717185
domain/domain-fn-args.js n=10 args=2: 49,182.34353866962
domain/domain-fn-args.js n=10 args=3: 58,395.18356525954
benchmark@benchmark-S2600WFT:~/luc/node_new$ /home/benchmark/.nvm/versions/node/v20.11.1/bin/node benchmark/domain/domain-fn-args.js
domain/domain-fn-args.js n=10 args=0: 38,578.609704063485
domain/domain-fn-args.js n=10 args=1: 38,735.66780291292
domain/domain-fn-args.js n=10 args=2: 39,472.645456698505
domain/domain-fn-args.js n=10 args=3: 39,021.49694266571