-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): compatible with napi artifacts -d option
- Loading branch information
1 parent
5825dcc
commit d44d6db
Showing
4 changed files
with
5 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
d44d6db
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
86831375
ops/sec (±0.24%
)84740183
ops/sec (±1.99%
)0.98
noop#JavaScript
822361333
ops/sec (±0.25%
)822842777
ops/sec (±0.09%
)1.00
Plus number#napi-rs
24626215
ops/sec (±0.82%
)24539987
ops/sec (±0.14%
)1.00
Plus number#JavaScript
822459401
ops/sec (±0.09%
)822487987
ops/sec (±0.08%
)1.00
Create buffer#napi-rs
670473
ops/sec (±12.79%
)657037
ops/sec (±13%
)0.98
Create buffer#JavaScript
3185858
ops/sec (±6.19%
)3280710
ops/sec (±1.93%
)1.03
createArray#createArrayJson
55314
ops/sec (±0.55%
)55187
ops/sec (±0.44%
)1.00
createArray#create array for loop
9757
ops/sec (±0.54%
)9764
ops/sec (±0.37%
)1.00
createArray#create array with serde trait
9868
ops/sec (±0.57%
)9902
ops/sec (±0.12%
)1.00
getArrayFromJs#get array from json string
24075
ops/sec (±0.55%
)24076
ops/sec (±0.57%
)1.00
getArrayFromJs#get array from serde
13026
ops/sec (±0.33%
)13116
ops/sec (±0.33%
)1.01
getArrayFromJs#get array with for loop
16943
ops/sec (±0.52%
)16652
ops/sec (±0.23%
)0.98
Get Set property#Get Set from native#u32
560816
ops/sec (±12.84%
)567428
ops/sec (±12.66%
)1.01
Get Set property#Get Set from JavaScript#u32
535586
ops/sec (±2.36%
)535754
ops/sec (±2.59%
)1.00
Get Set property#Get Set from native#string
574505
ops/sec (±11.75%
)580099
ops/sec (±10.64%
)1.01
Get Set property#Get Set from JavaScript#string
520632
ops/sec (±1.87%
)523697
ops/sec (±2.1%
)1.01
Async task#spawn task
27329
ops/sec (±0.31%
)26967
ops/sec (±0.86%
)0.99
Async task#ThreadSafeFunction
9318
ops/sec (±1.44%
)9275
ops/sec (±0.87%
)1.00
Async task#Tokio future to Promise
32528
ops/sec (±1.17%
)32416
ops/sec (±0.74%
)1.00
Query#query * 100
3936
ops/sec (±0.37%
)3873
ops/sec (±1.23%
)0.98
Query#query * 1
27831
ops/sec (±1.63%
)27652
ops/sec (±1.13%
)0.99
This comment was automatically generated by workflow using github-action-benchmark.