-
-
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(napi-derive,cli): register function cross crates
- Loading branch information
1 parent
589d959
commit 6a73868
Showing
14 changed files
with
531 additions
and
761 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
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
Oops, something went wrong.
6a73868
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
85112250
ops/sec (±2.02%
)86551753
ops/sec (±0.3%
)1.02
noop#JavaScript
823471418
ops/sec (±0.07%
)822661730
ops/sec (±0.09%
)1.00
Plus number#napi-rs
24677092
ops/sec (±0.35%
)24047360
ops/sec (±0.27%
)0.97
Plus number#JavaScript
822752850
ops/sec (±0.09%
)821877453
ops/sec (±0.12%
)1.00
Create buffer#napi-rs
656337
ops/sec (±13.03%
)661045
ops/sec (±12.15%
)1.01
Create buffer#JavaScript
3764338
ops/sec (±2.3%
)3426355
ops/sec (±2.89%
)0.91
createArray#createArrayJson
55747
ops/sec (±0.56%
)53388
ops/sec (±0.73%
)0.96
createArray#create array for loop
10311
ops/sec (±0.35%
)10296
ops/sec (±0.47%
)1.00
createArray#create array with serde trait
10226
ops/sec (±0.49%
)10207
ops/sec (±0.65%
)1.00
getArrayFromJs#get array from json string
23231
ops/sec (±0.74%
)23653
ops/sec (±0.53%
)1.02
getArrayFromJs#get array from serde
13344
ops/sec (±0.41%
)11689
ops/sec (±0.41%
)0.88
getArrayFromJs#get array with for loop
16239
ops/sec (±0.69%
)16636
ops/sec (±0.5%
)1.02
Get Set property#Get Set from native#u32
573904
ops/sec (±12.89%
)564982
ops/sec (±12.28%
)0.98
Get Set property#Get Set from JavaScript#u32
541456
ops/sec (±2.32%
)546365
ops/sec (±2.3%
)1.01
Get Set property#Get Set from native#string
565145
ops/sec (±11.88%
)547550
ops/sec (±11.62%
)0.97
Get Set property#Get Set from JavaScript#string
520484
ops/sec (±1.97%
)511606
ops/sec (±1.99%
)0.98
Async task#spawn task
26765
ops/sec (±0.87%
)26688
ops/sec (±0.66%
)1.00
Async task#ThreadSafeFunction
9538
ops/sec (±0.67%
)9357
ops/sec (±1.16%
)0.98
Async task#Tokio future to Promise
32175
ops/sec (±0.99%
)32918
ops/sec (±0.7%
)1.02
Query#query * 100
3953
ops/sec (±0.5%
)3936
ops/sec (±1.32%
)1.00
Query#query * 1
28029
ops/sec (±1.49%
)28384
ops/sec (±1.19%
)1.01
This comment was automatically generated by workflow using github-action-benchmark.