Skip to content

Conversation

@Brooooooklyn
Copy link
Member

No description provided.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Brooooooklyn and the rest of your teammates on Graphite Graphite

@Brooooooklyn Brooooooklyn force-pushed the 09-21-feat_napi-derive_allow_napi_fn_with_lifetime branch from f0638b7 to a2b9c92 Compare September 21, 2024 03:59
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Details
Benchmark suite Current: a2b9c92 Previous: 511340a Ratio
noop#napi-rs 85325824 ops/sec (±1.09%) 80927598 ops/sec (±1.56%) 0.95
noop#JavaScript 818163931 ops/sec (±0.03%) 814844587 ops/sec (±0.1%) 1.00
Plus number#napi-rs 23260910 ops/sec (±0.57%) 22850452 ops/sec (±0.28%) 0.98
Plus number#JavaScript 816066271 ops/sec (±0.1%) 816896005 ops/sec (±0.1%) 1.00
Create buffer#napi-rs 656347 ops/sec (±13.54%) 627955 ops/sec (±12.66%) 0.96
Create buffer#JavaScript 3224075 ops/sec (±1.69%) 3043404 ops/sec (±2.37%) 0.94
createArray#createArrayJson 54493 ops/sec (±0.42%) 54566 ops/sec (±0.34%) 1.00
createArray#create array for loop 9927 ops/sec (±0.66%) 9930 ops/sec (±0.65%) 1.00
createArray#create array with serde trait 9956 ops/sec (±0.41%) 9982 ops/sec (±0.45%) 1.00
getArrayFromJs#get array from json string 24143 ops/sec (±0.45%) 24267 ops/sec (±0.29%) 1.01
getArrayFromJs#get array from serde 13579 ops/sec (±0.32%) 13612 ops/sec (±0.42%) 1.00
getArrayFromJs#get array with for loop 16559 ops/sec (±0.35%) 16719 ops/sec (±0.15%) 1.01
Get Set property#Get Set from native#u32 587339 ops/sec (±12.51%) 586989 ops/sec (±12.1%) 1.00
Get Set property#Get Set from JavaScript#u32 527456 ops/sec (±11.38%) 553673 ops/sec (±2.36%) 1.05
Get Set property#Get Set from native#string 590469 ops/sec (±1.77%) 578186 ops/sec (±11.21%) 0.98
Get Set property#Get Set from JavaScript#string 521559 ops/sec (±2.02%) 527455 ops/sec (±2.25%) 1.01
Async task#spawn task 26079 ops/sec (±0.75%) 25860 ops/sec (±0.71%) 0.99
Async task#ThreadSafeFunction 9508 ops/sec (±0.33%) 9459 ops/sec (±0.79%) 0.99
Async task#Tokio future to Promise 31451 ops/sec (±0.97%) 32027 ops/sec (±0.83%) 1.02
Query#query * 100 3610 ops/sec (±0.43%) 3575 ops/sec (±0.9%) 0.99
Query#query * 1 26915 ops/sec (±0.87%) 26960 ops/sec (±1.04%) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

@Brooooooklyn Brooooooklyn merged commit 0698bb1 into main Sep 21, 2024
@Brooooooklyn Brooooooklyn deleted the 09-21-feat_napi-derive_allow_napi_fn_with_lifetime branch September 21, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants