GeezerVison is showing github.com — benchmark: update iterations of benchmark/domain/domain-fn-args.js by lucshi · Pull Request #51408 · nodejs/node
Conversation
lucshi
commented
Jan 9, 2024
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes: #50571
Found 40% regression on node20 compared with older version:
benchmark@benchmark-S2600WFT:/luc/node_new$ /home/benchmark/.nvm/versions/node/v16.20.2/bin/node benchmark/domain/domain-fn-args.js
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
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Reason is the repetition is too small and the data variance is caused by GC activities.
After increasing the repetition, node 20 downgration is fixed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
benchmark
Issues and PRs related to Node.js benchmarks and benchmarking infrastructure.
commit-queue-squash
PRs the Commit Queue should land as one squashed commit.
domain
Issues and PRs related to the domain subsystem.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|