Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25fb299
commit ed2c892
Showing
16 changed files
with
53 additions
and
129 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
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.
ed2c892
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
64065999
ops/sec (±0.28%
)59122567
ops/sec (±0.3%
)0.92
noop#JavaScript
710751551
ops/sec (±0.17%
)594391664
ops/sec (±0.12%
)0.84
Plus number#napi-rs
20036180
ops/sec (±0.64%
)20889332
ops/sec (±0.18%
)1.04
Plus number#JavaScript
706058341
ops/sec (±0.26%
)594034114
ops/sec (±0.21%
)0.84
Create buffer#napi-rs
383244
ops/sec (±9.31%
)443872
ops/sec (±6.96%
)1.16
Create buffer#JavaScript
1760764
ops/sec (±5.4%
)1962245
ops/sec (±7.79%
)1.11
createArray#createArrayJson
39637
ops/sec (±0.09%
)43683
ops/sec (±0.15%
)1.10
createArray#create array for loop
7619
ops/sec (±0.11%
)8440
ops/sec (±0.13%
)1.11
createArray#create array with serde trait
7638
ops/sec (±0.11%
)8512
ops/sec (±0.16%
)1.11
getArrayFromJs#get array from json string
16780
ops/sec (±0.13%
)17231
ops/sec (±0.14%
)1.03
getArrayFromJs#get array from serde
10403
ops/sec (±0.08%
)11179
ops/sec (±0.09%
)1.07
getArrayFromJs#get array with for loop
12456
ops/sec (±0.05%
)12367
ops/sec (±0.15%
)0.99
Get Set property#Get Set from native#u32
425926
ops/sec (±6%
)375666
ops/sec (±4.19%
)0.88
Get Set property#Get Set from JavaScript#u32
358682
ops/sec (±6.16%
)330761
ops/sec (±4.86%
)0.92
Get Set property#Get Set from native#string
390619
ops/sec (±6.01%
)352694
ops/sec (±4.76%
)0.90
Get Set property#Get Set from JavaScript#string
349749
ops/sec (±6.29%
)316919
ops/sec (±4.73%
)0.91
Async task#spawn task
36806
ops/sec (±0.86%
)34650
ops/sec (±1.16%
)0.94
Async task#ThreadSafeFunction
1251
ops/sec (±16.51%
)2327
ops/sec (±1.75%
)1.86
Async task#Tokio future to Promise
31055
ops/sec (±2.85%
)30343
ops/sec (±3.25%
)0.98
Query#query * 100
1913
ops/sec (±5.38%
)1994
ops/sec (±3.92%
)1.04
Query#query * 1
29500
ops/sec (±6.91%
)31675
ops/sec (±0.44%
)1.07
This comment was automatically generated by workflow using github-action-benchmark.