-
-
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
60 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
9daaf60
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
63902223
ops/sec (±0.24%
)62667857
ops/sec (±0.18%
)0.98
noop#JavaScript
711081311
ops/sec (±0.11%
)710441767
ops/sec (±0.14%
)1.00
Plus number#napi-rs
18641722
ops/sec (±0.31%
)18777991
ops/sec (±0.94%
)1.01
Plus number#JavaScript
708675843
ops/sec (±0.14%
)708303095
ops/sec (±0.45%
)1.00
Create buffer#napi-rs
375173
ops/sec (±9.65%
)380066
ops/sec (±8.13%
)1.01
Create buffer#JavaScript
1943144
ops/sec (±6.87%
)1965375
ops/sec (±6.94%
)1.01
createArray#createArrayJson
40430
ops/sec (±0.13%
)40434
ops/sec (±0.12%
)1.00
createArray#create array for loop
7435
ops/sec (±0.11%
)7395
ops/sec (±0.1%
)0.99
createArray#create array with serde trait
7436
ops/sec (±0.11%
)7388
ops/sec (±0.15%
)0.99
getArrayFromJs#get array from json string
16563
ops/sec (±0.12%
)16823
ops/sec (±0.38%
)1.02
getArrayFromJs#get array from serde
10087
ops/sec (±0.03%
)10352
ops/sec (±0.02%
)1.03
getArrayFromJs#get array with for loop
12553
ops/sec (±0.03%
)12478
ops/sec (±0.02%
)0.99
Get Set property#Get Set from native#u32
456308
ops/sec (±7.92%
)468107
ops/sec (±7.26%
)1.03
Get Set property#Get Set from JavaScript#u32
395228
ops/sec (±9.3%
)386123
ops/sec (±9.67%
)0.98
Get Set property#Get Set from native#string
414867
ops/sec (±14.71%
)424293
ops/sec (±14.78%
)1.02
Get Set property#Get Set from JavaScript#string
396114
ops/sec (±3.14%
)395800
ops/sec (±2.91%
)1.00
Async task#spawn task
36412
ops/sec (±2.54%
)37161
ops/sec (±1.22%
)1.02
Async task#ThreadSafeFunction
2107
ops/sec (±13.36%
)2879
ops/sec (±8.58%
)1.37
Async task#Tokio future to Promise
31028
ops/sec (±0.68%
)32295
ops/sec (±0.81%
)1.04
Query#query * 100
2058
ops/sec (±1.92%
)2111
ops/sec (±2.15%
)1.03
Query#query * 1
30862
ops/sec (±0.35%
)31642
ops/sec (±0.38%
)1.03
This comment was automatically generated by workflow using github-action-benchmark.