-
-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): always generate typedef file even native code never changes
- Loading branch information
Showing
2 changed files
with
64 additions
and
28 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
aefb529
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
46405604
ops/sec (±4.02%
)62667857
ops/sec (±0.18%
)1.35
noop#JavaScript
721392069
ops/sec (±0.85%
)710441767
ops/sec (±0.14%
)0.98
Plus number#napi-rs
13720124
ops/sec (±1.46%
)18777991
ops/sec (±0.94%
)1.37
Plus number#JavaScript
715950534
ops/sec (±1.09%
)708303095
ops/sec (±0.45%
)0.99
Create buffer#napi-rs
297992
ops/sec (±11.44%
)380066
ops/sec (±8.13%
)1.28
Create buffer#JavaScript
1474908
ops/sec (±7.11%
)1965375
ops/sec (±6.94%
)1.33
createArray#createArrayJson
33894
ops/sec (±0.5%
)40434
ops/sec (±0.12%
)1.19
createArray#create array for loop
5686
ops/sec (±0.73%
)7395
ops/sec (±0.1%
)1.30
createArray#create array with serde trait
5810
ops/sec (±0.72%
)7388
ops/sec (±0.15%
)1.27
getArrayFromJs#get array from json string
13667
ops/sec (±0.86%
)16823
ops/sec (±0.38%
)1.23
getArrayFromJs#get array from serde
8154
ops/sec (±0.54%
)10352
ops/sec (±0.02%
)1.27
getArrayFromJs#get array with for loop
9780
ops/sec (±0.98%
)12478
ops/sec (±0.02%
)1.28
Get Set property#Get Set from native#u32
367013
ops/sec (±9.36%
)468107
ops/sec (±7.26%
)1.28
Get Set property#Get Set from JavaScript#u32
322349
ops/sec (±10.61%
)386123
ops/sec (±9.67%
)1.20
Get Set property#Get Set from native#string
339461
ops/sec (±3.39%
)424293
ops/sec (±14.78%
)1.25
Get Set property#Get Set from JavaScript#string
292984
ops/sec (±18.87%
)395800
ops/sec (±2.91%
)1.35
Async task#spawn task
29117
ops/sec (±2.04%
)37161
ops/sec (±1.22%
)1.28
Async task#ThreadSafeFunction
1551
ops/sec (±4.05%
)2879
ops/sec (±8.58%
)1.86
Async task#Tokio future to Promise
26338
ops/sec (±2.69%
)32295
ops/sec (±0.81%
)1.23
Query#query * 100
1475
ops/sec (±2.49%
)2111
ops/sec (±2.15%
)1.43
Query#query * 1
21861
ops/sec (±2.54%
)31642
ops/sec (±0.38%
)1.45
This comment was automatically generated by workflow using github-action-benchmark.