You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0731e00
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
45475943
ops/sec (±1.46%
)54565754
ops/sec (±0.13%
)1.20
noop#JavaScript
691758876
ops/sec (±0.83%
)713125324
ops/sec (±0.13%
)1.03
Plus number#napi-rs
16757891
ops/sec (±1.36%
)18792797
ops/sec (±0.77%
)1.12
Plus number#JavaScript
688194907
ops/sec (±0.94%
)710358283
ops/sec (±0.18%
)1.03
Create buffer#napi-rs
362308
ops/sec (±9.17%
)379999
ops/sec (±9.6%
)1.05
Create buffer#JavaScript
1804082
ops/sec (±2.61%
)1916926
ops/sec (±4.88%
)1.06
createArray#createArrayJson
35603
ops/sec (±0.94%
)39501
ops/sec (±0.11%
)1.11
createArray#create array for loop
6276
ops/sec (±0.85%
)6947
ops/sec (±2.09%
)1.11
createArray#create array with serde trait
6307
ops/sec (±0.8%
)7410
ops/sec (±0.11%
)1.17
getArrayFromJs#get array from json string
15211
ops/sec (±0.98%
)17002
ops/sec (±0.12%
)1.12
getArrayFromJs#get array from serde
8513
ops/sec (±0.66%
)10247
ops/sec (±0.15%
)1.20
getArrayFromJs#get array with for loop
10858
ops/sec (±0.97%
)12264
ops/sec (±0.03%
)1.13
Get Set property#Get Set from native#u32
343539
ops/sec (±5.42%
)390009
ops/sec (±6.09%
)1.14
Get Set property#Get Set from JavaScript#u32
291755
ops/sec (±5.32%
)342237
ops/sec (±5.78%
)1.17
Get Set property#Get Set from native#string
321348
ops/sec (±5.47%
)356025
ops/sec (±5.82%
)1.11
Get Set property#Get Set from JavaScript#string
279362
ops/sec (±5.41%
)327492
ops/sec (±6.26%
)1.17
Async task#spawn task
34543
ops/sec (±4.13%
)35610
ops/sec (±0.81%
)1.03
Async task#ThreadSafeFunction
2023
ops/sec (±2.88%
)1553
ops/sec (±16.69%
)0.77
Async task#Tokio future to Promise
26742
ops/sec (±3.5%
)29071
ops/sec (±4.34%
)1.09
Query#query * 100
1756
ops/sec (±4.17%
)1926
ops/sec (±8.06%
)1.10
Query#query * 1
24920
ops/sec (±4.08%
)30883
ops/sec (±0.62%
)1.24
This comment was automatically generated by workflow using github-action-benchmark.