-
-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
5 additions
and
1 deletion.
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
294a39b
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
47841688
ops/sec (±0.73%
)55270758
ops/sec (±0.19%
)1.16
noop#JavaScript
611067096
ops/sec (±0.43%
)712617818
ops/sec (±0.16%
)1.17
Plus number#napi-rs
16477835
ops/sec (±0.89%
)19840697
ops/sec (±0.56%
)1.20
Plus number#JavaScript
601978262
ops/sec (±0.44%
)709773557
ops/sec (±0.28%
)1.18
Create buffer#napi-rs
354821
ops/sec (±10.08%
)376424
ops/sec (±9.34%
)1.06
Create buffer#JavaScript
1597814
ops/sec (±5.04%
)1654823
ops/sec (±4.55%
)1.04
createArray#createArrayJson
32894
ops/sec (±0.45%
)38355
ops/sec (±0.11%
)1.17
createArray#create array for loop
6516
ops/sec (±0.49%
)7525
ops/sec (±0.11%
)1.15
createArray#create array with serde trait
6529
ops/sec (±0.51%
)7507
ops/sec (±0.13%
)1.15
getArrayFromJs#get array from json string
14820
ops/sec (±0.52%
)16903
ops/sec (±0.24%
)1.14
getArrayFromJs#get array from serde
8719
ops/sec (±0.51%
)10167
ops/sec (±0.03%
)1.17
getArrayFromJs#get array with for loop
10432
ops/sec (±0.57%
)12185
ops/sec (±0.12%
)1.17
Get Set property#Get Set from native#u32
358080
ops/sec (±5.26%
)402616
ops/sec (±5.68%
)1.12
Get Set property#Get Set from JavaScript#u32
311084
ops/sec (±5.59%
)349716
ops/sec (±5.48%
)1.12
Get Set property#Get Set from native#string
332664
ops/sec (±5.34%
)362021
ops/sec (±5.47%
)1.09
Get Set property#Get Set from JavaScript#string
293477
ops/sec (±6.14%
)333856
ops/sec (±5.75%
)1.14
Async task#spawn task
30741
ops/sec (±1.52%
)35797
ops/sec (±2.1%
)1.16
Async task#ThreadSafeFunction
1096
ops/sec (±23.41%
)1990
ops/sec (±12.78%
)1.82
Async task#Tokio future to Promise
25903
ops/sec (±3.78%
)30478
ops/sec (±3.53%
)1.18
Query#query * 100
1721
ops/sec (±7.45%
)1996
ops/sec (±4.23%
)1.16
Query#query * 1
27629
ops/sec (±0.68%
)31402
ops/sec (±0.64%
)1.14
This comment was automatically generated by workflow using github-action-benchmark.