Skip to content

feat(napi-derive): add async_runtime attribute#2270

Merged
Brooooooklyn merged 1 commit intomainfrom
09-23-feat_napi-derive_add_async_runtime_attribute
Sep 23, 2024
Merged

feat(napi-derive): add async_runtime attribute#2270
Brooooooklyn merged 1 commit intomainfrom
09-23-feat_napi-derive_add_async_runtime_attribute

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

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: aa31616 Previous: fec8ff4 Ratio
noop#napi-rs 84819978 ops/sec (±1.34%) 85775384 ops/sec (±0.29%) 1.01
noop#JavaScript 815151648 ops/sec (±0.21%) 812064072 ops/sec (±0.23%) 1.00
Plus number#napi-rs 22784178 ops/sec (±0.62%) 22309906 ops/sec (±0.21%) 0.98
Plus number#JavaScript 814508900 ops/sec (±0.21%) 814895050 ops/sec (±0.11%) 1.00
Create buffer#napi-rs 663232 ops/sec (±12.3%) 632913 ops/sec (±12.39%) 0.95
Create buffer#JavaScript 3378155 ops/sec (±2.1%) 3169904 ops/sec (±2.29%) 0.94
createArray#createArrayJson 54147 ops/sec (±0.46%) 53796 ops/sec (±0.39%) 0.99
createArray#create array for loop 9905 ops/sec (±0.29%) 9939 ops/sec (±0.35%) 1.00
createArray#create array with serde trait 9845 ops/sec (±0.72%) 9945 ops/sec (±0.35%) 1.01
getArrayFromJs#get array from json string 24536 ops/sec (±0.36%) 24248 ops/sec (±0.71%) 0.99
getArrayFromJs#get array from serde 13026 ops/sec (±0.25%) 12856 ops/sec (±0.88%) 0.99
getArrayFromJs#get array with for loop 16314 ops/sec (±0.48%) 16110 ops/sec (±0.1%) 0.99
Get Set property#Get Set from native#u32 570491 ops/sec (±12.23%) 579033 ops/sec (±12.27%) 1.01
Get Set property#Get Set from JavaScript#u32 551092 ops/sec (±2.21%) 540394 ops/sec (±2.08%) 0.98
Get Set property#Get Set from native#string 564309 ops/sec (±10.97%) 567182 ops/sec (±10.79%) 1.01
Get Set property#Get Set from JavaScript#string 518194 ops/sec (±1.87%) 516065 ops/sec (±1.82%) 1.00
Async task#spawn task 26052 ops/sec (±0.39%) 26294 ops/sec (±0.57%) 1.01
Async task#ThreadSafeFunction 9488 ops/sec (±0.72%) 9410 ops/sec (±0.74%) 0.99
Async task#Tokio future to Promise 32275 ops/sec (±0.89%) 32734 ops/sec (±0.73%) 1.01
Query#query * 100 3563 ops/sec (±0.3%) 3615 ops/sec (±0.41%) 1.01
Query#query * 1 27086 ops/sec (±0.91%) 26959 ops/sec (±0.74%) 1.00

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

@Brooooooklyn Brooooooklyn force-pushed the 09-23-feat_napi-derive_add_async_runtime_attribute branch from 06c20e3 to aa31616 Compare September 23, 2024 04:25
@Brooooooklyn Brooooooklyn merged commit f704b4a into main Sep 23, 2024
@Brooooooklyn Brooooooklyn deleted the 09-23-feat_napi-derive_add_async_runtime_attribute branch September 23, 2024 08:21
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.

1 participant