Closed
Conversation
Collaborator
2 tasks
|
any results for >32k? |
Contributor
Author
|
@YurySolovyov No, is there a particular value you have in mind that you would like to see? |
|
I just wonder if it actually degrades for larger inputs |
Contributor
Author
|
FWIW I just tried with 1MB and it seems only then is there a slight regression (~1%) when doing a partial copy. The funny thing is that even deferring to C++ with no parameter/value validation (basically just a My guess is that there are missing optimizations in V8 for some larger values? |
Collaborator
Member
|
@nodejs/buffer |
jasnell
approved these changes
Aug 13, 2019
Trott
approved these changes
Aug 14, 2019
Member
|
Landed in 6d351d4 |
Trott
pushed a commit
to Trott/io.js
that referenced
this pull request
Aug 14, 2019
PR-URL: nodejs#29066 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
targos
pushed a commit
that referenced
this pull request
Aug 19, 2019
PR-URL: #29066 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This was referenced Aug 20, 2019
3 tasks
This was referenced Jan 20, 2021
This was referenced Sep 5, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Results of included benchmark:
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes