chore(napi): remove Read from Uint8Array#2346
Merged
Brooooooklyn merged 1 commit intomainfrom Nov 7, 2024
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 |
3531333 to
7662b48
Compare
Contributor
There was a problem hiding this comment.
Benchmark
Details
| Benchmark suite | Current: 7662b48 | Previous: f2377e2 | Ratio |
|---|---|---|---|
noop#napi-rs |
86922708 ops/sec (±0.36%) |
86502656 ops/sec (±0.15%) |
1.00 |
noop#JavaScript |
822837870 ops/sec (±0.1%) |
818277384 ops/sec (±0.1%) |
0.99 |
Plus number#napi-rs |
23606430 ops/sec (±0.09%) |
22921082 ops/sec (±0.5%) |
0.97 |
Plus number#JavaScript |
821236867 ops/sec (±0.12%) |
815170832 ops/sec (±0.24%) |
0.99 |
Create buffer#napi-rs |
686065 ops/sec (±11.92%) |
617986 ops/sec (±13.66%) |
0.90 |
Create buffer#JavaScript |
3383634 ops/sec (±1.92%) |
3195858 ops/sec (±2.46%) |
0.94 |
createArray#createArrayJson |
54184 ops/sec (±0.5%) |
53212 ops/sec (±0.46%) |
0.98 |
createArray#create array for loop |
9689 ops/sec (±1.05%) |
9895 ops/sec (±0.59%) |
1.02 |
createArray#create array with serde trait |
9891 ops/sec (±0.49%) |
9931 ops/sec (±0.58%) |
1.00 |
getArrayFromJs#get array from json string |
23748 ops/sec (±0.5%) |
23467 ops/sec (±0.55%) |
0.99 |
getArrayFromJs#get array from serde |
13626 ops/sec (±0.47%) |
13617 ops/sec (±0.35%) |
1.00 |
getArrayFromJs#get array with for loop |
16188 ops/sec (±0.19%) |
15974 ops/sec (±0.46%) |
0.99 |
Get Set property#Get Set from native#u32 |
564801 ops/sec (±12.71%) |
543258 ops/sec (±13.02%) |
0.96 |
Get Set property#Get Set from JavaScript#u32 |
552024 ops/sec (±2.55%) |
538847 ops/sec (±2.45%) |
0.98 |
Get Set property#Get Set from native#string |
561339 ops/sec (±12.47%) |
564204 ops/sec (±12.3%) |
1.01 |
Get Set property#Get Set from JavaScript#string |
524790 ops/sec (±1.83%) |
521239 ops/sec (±1.86%) |
0.99 |
Async task#spawn task |
26956 ops/sec (±0.49%) |
26577 ops/sec (±0.66%) |
0.99 |
Async task#ThreadSafeFunction |
9695 ops/sec (±0.74%) |
9339 ops/sec (±0.83%) |
0.96 |
Async task#Tokio future to Promise |
32674 ops/sec (±0.81%) |
32056 ops/sec (±0.82%) |
0.98 |
Query#query * 100 |
3546 ops/sec (±0.53%) |
3554 ops/sec (±0.43%) |
1.00 |
Query#query * 1 |
26636 ops/sec (±0.83%) |
26009 ops/sec (±0.87%) |
0.98 |
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.