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
aed2540
commit 18491fb
Showing
9 changed files
with
17 additions
and
17 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
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
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
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
18491fb
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
52456688
ops/sec (±0.75%
)64268786
ops/sec (±0.27%
)1.23
noop#JavaScript
663734834
ops/sec (±0.86%
)710252276
ops/sec (±0.1%
)1.07
Plus number#napi-rs
15953415
ops/sec (±0.69%
)19701768
ops/sec (±0.6%
)1.23
Plus number#JavaScript
661714127
ops/sec (±0.85%
)708450052
ops/sec (±0.14%
)1.07
Create buffer#napi-rs
328130
ops/sec (±11.74%
)365131
ops/sec (±10.52%
)1.11
Create buffer#JavaScript
1773054
ops/sec (±4.66%
)1769743
ops/sec (±6.98%
)1.00
createArray#createArrayJson
35704
ops/sec (±0.68%
)38725
ops/sec (±0.11%
)1.08
createArray#create array for loop
5845
ops/sec (±0.65%
)7410
ops/sec (±0.12%
)1.27
createArray#create array with serde trait
5803
ops/sec (±0.48%
)7427
ops/sec (±0.12%
)1.28
getArrayFromJs#get array from json string
14792
ops/sec (±0.79%
)16367
ops/sec (±0.27%
)1.11
getArrayFromJs#get array from serde
7991
ops/sec (±0.63%
)10023
ops/sec (±0.04%
)1.25
getArrayFromJs#get array with for loop
9651
ops/sec (±1.48%
)12256
ops/sec (±0.1%
)1.27
Get Set property#Get Set from native#u32
371372
ops/sec (±6.45%
)415294
ops/sec (±6.57%
)1.12
Get Set property#Get Set from JavaScript#u32
316615
ops/sec (±6.14%
)357080
ops/sec (±6.76%
)1.13
Get Set property#Get Set from native#string
346715
ops/sec (±5.84%
)368692
ops/sec (±6.5%
)1.06
Get Set property#Get Set from JavaScript#string
285646
ops/sec (±5.72%
)341740
ops/sec (±6.86%
)1.20
Async task#spawn task
30508
ops/sec (±2.14%
)37096
ops/sec (±1.46%
)1.22
Async task#ThreadSafeFunction
2948
ops/sec (±5.57%
)1140
ops/sec (±23.02%
)0.39
Async task#Tokio future to Promise
28379
ops/sec (±2.8%
)31816
ops/sec (±0.65%
)1.12
Query#query * 100
1625
ops/sec (±2.41%
)2058
ops/sec (±3.31%
)1.27
Query#query * 1
26556
ops/sec (±2%
)31192
ops/sec (±0.3%
)1.17
This comment was automatically generated by workflow using github-action-benchmark.