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
c58972e
commit 68a804e
Showing
1 changed file
with
8 additions
and
66 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
68a804e
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
54617974
ops/sec (±1.14%
)57061686
ops/sec (±1.04%
)1.04
noop#JavaScript
759137743
ops/sec (±1.2%
)708805415
ops/sec (±1.01%
)0.93
Plus number#napi-rs
15441688
ops/sec (±0.81%
)16587218
ops/sec (±1.3%
)1.07
Plus number#JavaScript
728416984
ops/sec (±0.88%
)703637255
ops/sec (±0.92%
)0.97
Create buffer#napi-rs
303901
ops/sec (±11.39%
)350581
ops/sec (±10.55%
)1.15
Create buffer#JavaScript
1322227
ops/sec (±5.69%
)1840407
ops/sec (±5.05%
)1.39
createArray#createArrayJson
34372
ops/sec (±0.99%
)36883
ops/sec (±1.04%
)1.07
createArray#create array for loop
6314
ops/sec (±0.98%
)6488
ops/sec (±0.9%
)1.03
createArray#create array with serde trait
6312
ops/sec (±1.04%
)6600
ops/sec (±0.88%
)1.05
getArrayFromJs#get array from json string
14994
ops/sec (±0.9%
)16083
ops/sec (±2.6%
)1.07
getArrayFromJs#get array from serde
7777
ops/sec (±1.28%
)8804
ops/sec (±0.8%
)1.13
getArrayFromJs#get array with for loop
9956
ops/sec (±1.08%
)11064
ops/sec (±1.07%
)1.11
Get Set property#Get Set from native#u32
354660
ops/sec (±6.9%
)370432
ops/sec (±6.34%
)1.04
Get Set property#Get Set from JavaScript#u32
298682
ops/sec (±6.76%
)315050
ops/sec (±6.41%
)1.05
Get Set property#Get Set from native#string
315462
ops/sec (±6.37%
)335860
ops/sec (±6.37%
)1.06
Get Set property#Get Set from JavaScript#string
265999
ops/sec (±6.73%
)294619
ops/sec (±6.43%
)1.11
Async task#spawn task
25272
ops/sec (±2.69%
)31200
ops/sec (±2.86%
)1.23
Async task#ThreadSafeFunction
1522
ops/sec (±6.27%
)2356
ops/sec (±4.74%
)1.55
Async task#Tokio future to Promise
23200
ops/sec (±1.81%
)30492
ops/sec (±2.26%
)1.31
Query#query * 100
1488
ops/sec (±3.84%
)1701
ops/sec (±2.66%
)1.14
Query#query * 1
19490
ops/sec (±2.94%
)27477
ops/sec (±2.45%
)1.41
This comment was automatically generated by workflow using github-action-benchmark.