-
-
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.
fix(cli,napi-derive): backward compatible with older cli with #1531
- Loading branch information
1 parent
2f4d9d4
commit ee3aa96
Showing
5 changed files
with
33 additions
and
5 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
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
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
ee3aa96
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
65759245
ops/sec (±0.23%
)44114289
ops/sec (±0.89%
)0.67
noop#JavaScript
591733263
ops/sec (±0.94%
)627819334
ops/sec (±0.65%
)1.06
Plus number#napi-rs
19530976
ops/sec (±0.2%
)8319923
ops/sec (±1.37%
)0.43
Plus number#JavaScript
592763484
ops/sec (±0.12%
)625188130
ops/sec (±0.96%
)1.05
Create buffer#napi-rs
423802
ops/sec (±6.55%
)320729
ops/sec (±11.66%
)0.76
Create buffer#JavaScript
2307961
ops/sec (±4.88%
)1487094
ops/sec (±8.92%
)0.64
createArray#createArrayJson
46010
ops/sec (±0.11%
)32663
ops/sec (±0.75%
)0.71
createArray#create array for loop
8587
ops/sec (±0.11%
)5628
ops/sec (±0.95%
)0.66
createArray#create array with serde trait
8574
ops/sec (±0.1%
)5728
ops/sec (±0.81%
)0.67
getArrayFromJs#get array from json string
18469
ops/sec (±0.12%
)14010
ops/sec (±0.83%
)0.76
getArrayFromJs#get array from serde
11476
ops/sec (±0.13%
)7891
ops/sec (±0.81%
)0.69
getArrayFromJs#get array with for loop
13263
ops/sec (±0.54%
)9843
ops/sec (±0.9%
)0.74
Get Set property#Get Set from native#u32
423792
ops/sec (±7.58%
)370559
ops/sec (±8.47%
)0.87
Get Set property#Get Set from JavaScript#u32
362089
ops/sec (±7.64%
)312476
ops/sec (±9.99%
)0.86
Get Set property#Get Set from native#string
389587
ops/sec (±10.59%
)331733
ops/sec (±3.86%
)0.85
Get Set property#Get Set from JavaScript#string
357834
ops/sec (±2.66%
)294474
ops/sec (±15.96%
)0.82
Async task#spawn task
35798
ops/sec (±1.54%
)24655
ops/sec (±2.36%
)0.69
Async task#ThreadSafeFunction
2658
ops/sec (±2.03%
)1902
ops/sec (±3.71%
)0.72
Async task#Tokio future to Promise
32754
ops/sec (±1.28%
)24078
ops/sec (±2.16%
)0.74
Query#query * 100
2109
ops/sec (±1.44%
)1503
ops/sec (±3.27%
)0.71
Query#query * 1
32681
ops/sec (±1.04%
)21749
ops/sec (±2.29%
)0.67
This comment was automatically generated by workflow using github-action-benchmark.