Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
618d0f8
commit d3b2d4a
Showing
7 changed files
with
8 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Binary file not shown.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,5 +40,4 @@ mod string; | |
mod symbol; | ||
mod task; | ||
mod threadsafe_function; | ||
mod tokio_outside_async; | ||
mod typed_array; |
This file was deleted.
Oops, something went wrong.
d3b2d4a
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.
Benchmark
noop#napi-rs
60655818
ops/sec (±0.27%
)45447890
ops/sec (±0.28%
)0.75
noop#JavaScript
591261192
ops/sec (±0.4%
)590595038
ops/sec (±0.23%
)1.00
Plus number#napi-rs
21526750
ops/sec (±0.3%
)16263518
ops/sec (±1.15%
)0.76
Plus number#JavaScript
591219796
ops/sec (±0.34%
)579851743
ops/sec (±0.92%
)0.98
Create buffer#napi-rs
454738
ops/sec (±6.87%
)336864
ops/sec (±10.45%
)0.74
Create buffer#JavaScript
1953351
ops/sec (±5.59%
)1515749
ops/sec (±4.34%
)0.78
createArray#createArrayJson
43472
ops/sec (±0.11%
)31565
ops/sec (±0.47%
)0.73
createArray#create array for loop
8245
ops/sec (±0.09%
)6354
ops/sec (±0.15%
)0.77
createArray#create array with serde trait
8238
ops/sec (±0.09%
)6415
ops/sec (±0.15%
)0.78
getArrayFromJs#get array from json string
17963
ops/sec (±0.11%
)13919
ops/sec (±0.4%
)0.77
getArrayFromJs#get array from serde
10796
ops/sec (±0.11%
)8343
ops/sec (±0.1%
)0.77
getArrayFromJs#get array with for loop
12403
ops/sec (±0.33%
)9978
ops/sec (±0.25%
)0.80
Get Set property#Get Set from native#u32
368469
ops/sec (±4.37%
)336441
ops/sec (±5.89%
)0.91
Get Set property#Get Set from JavaScript#u32
344705
ops/sec (±4%
)304214
ops/sec (±5.45%
)0.88
Get Set property#Get Set from native#string
354188
ops/sec (±4.35%
)319101
ops/sec (±5.48%
)0.90
Get Set property#Get Set from JavaScript#string
312187
ops/sec (±4.24%
)292832
ops/sec (±5.28%
)0.94
Async task#spawn task
36428
ops/sec (±0.92%
)28072
ops/sec (±2.74%
)0.77
Async task#ThreadSafeFunction
3052
ops/sec (±3.1%
)1909
ops/sec (±17.73%
)0.63
Async task#Tokio future to Promise
30898
ops/sec (±3.18%
)24707
ops/sec (±3.07%
)0.80
Query#query * 100
2015
ops/sec (±6%
)1664
ops/sec (±4.26%
)0.83
Query#query * 1
32563
ops/sec (±0.43%
)24647
ops/sec (±1.72%
)0.76
This comment was automatically generated by workflow using github-action-benchmark.