feat(napi): impl io::Read for Uint8Array#2336
Merged
Merged
Conversation
Member
Author
|
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @Brooooooklyn and the rest of your teammates on |
Contributor
There was a problem hiding this comment.
Benchmark
Details
| Benchmark suite | Current: 6011771 | Previous: ac30f59 | Ratio |
|---|---|---|---|
noop#napi-rs |
86907616 ops/sec (±0.22%) |
86947985 ops/sec (±0.12%) |
1.00 |
noop#JavaScript |
822698375 ops/sec (±0.16%) |
822606548 ops/sec (±0.08%) |
1.00 |
Plus number#napi-rs |
23087804 ops/sec (±0.88%) |
23159841 ops/sec (±0.64%) |
1.00 |
Plus number#JavaScript |
821714997 ops/sec (±0.12%) |
820522103 ops/sec (±0.13%) |
1.00 |
Create buffer#napi-rs |
674480 ops/sec (±11.79%) |
650685 ops/sec (±11.79%) |
0.96 |
Create buffer#JavaScript |
4104605 ops/sec (±2.89%) |
3497565 ops/sec (±2.6%) |
0.85 |
createArray#createArrayJson |
54283 ops/sec (±0.48%) |
53616 ops/sec (±0.53%) |
0.99 |
createArray#create array for loop |
9834 ops/sec (±0.22%) |
9790 ops/sec (±0.45%) |
1.00 |
createArray#create array with serde trait |
9976 ops/sec (±1.24%) |
10019 ops/sec (±0.6%) |
1.00 |
getArrayFromJs#get array from json string |
24068 ops/sec (±0.57%) |
23940 ops/sec (±0.74%) |
0.99 |
getArrayFromJs#get array from serde |
13858 ops/sec (±0.14%) |
13321 ops/sec (±0.67%) |
0.96 |
getArrayFromJs#get array with for loop |
16050 ops/sec (±0.55%) |
15799 ops/sec (±0.45%) |
0.98 |
Get Set property#Get Set from native#u32 |
579708 ops/sec (±12.77%) |
569526 ops/sec (±12.65%) |
0.98 |
Get Set property#Get Set from JavaScript#u32 |
527948 ops/sec (±3.25%) |
545870 ops/sec (±2.43%) |
1.03 |
Get Set property#Get Set from native#string |
552646 ops/sec (±12.16%) |
577604 ops/sec (±11.15%) |
1.05 |
Get Set property#Get Set from JavaScript#string |
501234 ops/sec (±2.86%) |
514295 ops/sec (±2.13%) |
1.03 |
Async task#spawn task |
26979 ops/sec (±0.45%) |
26764 ops/sec (±0.38%) |
0.99 |
Async task#ThreadSafeFunction |
9721 ops/sec (±0.74%) |
9368 ops/sec (±0.76%) |
0.96 |
Async task#Tokio future to Promise |
32725 ops/sec (±1.01%) |
32026 ops/sec (±1.21%) |
0.98 |
Query#query * 100 |
3546 ops/sec (±1.98%) |
3636 ops/sec (±0.58%) |
1.03 |
Query#query * 1 |
26799 ops/sec (±1.27%) |
26756 ops/sec (±0.84%) |
1.00 |
This comment was automatically generated by workflow using github-action-benchmark.
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.

No description provided.