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
18491fb
commit 335fbfc
Showing
1 changed file
with
8 additions
and
2 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
335fbfc
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
61311825
ops/sec (±0.34%
)64268786
ops/sec (±0.27%
)1.05
noop#JavaScript
710190152
ops/sec (±0.16%
)710252276
ops/sec (±0.1%
)1.00
Plus number#napi-rs
19737077
ops/sec (±0.38%
)19701768
ops/sec (±0.6%
)1.00
Plus number#JavaScript
709234230
ops/sec (±0.13%
)708450052
ops/sec (±0.14%
)1.00
Create buffer#napi-rs
388436
ops/sec (±8.85%
)365131
ops/sec (±10.52%
)0.94
Create buffer#JavaScript
1956314
ops/sec (±6.61%
)1769743
ops/sec (±6.98%
)0.90
createArray#createArrayJson
39080
ops/sec (±0.21%
)38725
ops/sec (±0.11%
)0.99
createArray#create array for loop
7460
ops/sec (±0.1%
)7410
ops/sec (±0.12%
)0.99
createArray#create array with serde trait
7459
ops/sec (±0.46%
)7427
ops/sec (±0.12%
)1.00
getArrayFromJs#get array from json string
17097
ops/sec (±0.36%
)16367
ops/sec (±0.27%
)0.96
getArrayFromJs#get array from serde
10322
ops/sec (±0.03%
)10023
ops/sec (±0.04%
)0.97
getArrayFromJs#get array with for loop
12011
ops/sec (±0.34%
)12256
ops/sec (±0.1%
)1.02
Get Set property#Get Set from native#u32
430113
ops/sec (±5.99%
)415294
ops/sec (±6.57%
)0.97
Get Set property#Get Set from JavaScript#u32
367869
ops/sec (±5.87%
)357080
ops/sec (±6.76%
)0.97
Get Set property#Get Set from native#string
391168
ops/sec (±5.65%
)368692
ops/sec (±6.5%
)0.94
Get Set property#Get Set from JavaScript#string
356654
ops/sec (±6%
)341740
ops/sec (±6.86%
)0.96
Async task#spawn task
37414
ops/sec (±0.83%
)37096
ops/sec (±1.46%
)0.99
Async task#ThreadSafeFunction
2034
ops/sec (±11.05%
)1140
ops/sec (±23.02%
)0.56
Async task#Tokio future to Promise
31896
ops/sec (±1.55%
)31816
ops/sec (±0.65%
)1.00
Query#query * 100
2095
ops/sec (±2.45%
)2058
ops/sec (±3.31%
)0.98
Query#query * 1
31972
ops/sec (±0.32%
)31192
ops/sec (±0.3%
)0.98
This comment was automatically generated by workflow using github-action-benchmark.