Skip to content

fix(napi-derive): object lifetime compile issue#2351

Merged
Brooooooklyn merged 1 commit intomainfrom
11-11-fix_napi-derive_object_lifetime_compile_issue
Nov 11, 2024
Merged

fix(napi-derive): object lifetime compile issue#2351
Brooooooklyn merged 1 commit intomainfrom
11-11-fix_napi-derive_object_lifetime_compile_issue

Conversation

@Brooooooklyn
Copy link
Member

@Brooooooklyn Brooooooklyn commented Nov 11, 2024

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: af7971c Previous: 75ff88c Ratio
noop#napi-rs 86197039 ops/sec (±0.74%) 86335823 ops/sec (±0.32%) 1.00
noop#JavaScript 820670850 ops/sec (±0.11%) 822278860 ops/sec (±0.09%) 1.00
Plus number#napi-rs 23484309 ops/sec (±0.17%) 23086704 ops/sec (±0.95%) 0.98
Plus number#JavaScript 820543788 ops/sec (±0.13%) 821700311 ops/sec (±0.1%) 1.00
Create buffer#napi-rs 633246 ops/sec (±12.57%) 652866 ops/sec (±13.09%) 1.03
Create buffer#JavaScript 3541630 ops/sec (±3.07%) 3173030 ops/sec (±2.34%) 0.90
createArray#createArrayJson 53794 ops/sec (±0.55%) 53882 ops/sec (±1.51%) 1.00
createArray#create array for loop 9928 ops/sec (±0.32%) 9601 ops/sec (±0.16%) 0.97
createArray#create array with serde trait 9867 ops/sec (±0.86%) 9866 ops/sec (±0.09%) 1.00
getArrayFromJs#get array from json string 23492 ops/sec (±0.79%) 23433 ops/sec (±0.35%) 1.00
getArrayFromJs#get array from serde 13090 ops/sec (±0.51%) 13711 ops/sec (±0.34%) 1.05
getArrayFromJs#get array with for loop 16063 ops/sec (±0.4%) 16335 ops/sec (±0.36%) 1.02
Get Set property#Get Set from native#u32 579414 ops/sec (±12.88%) 559825 ops/sec (±13.44%) 0.97
Get Set property#Get Set from JavaScript#u32 546835 ops/sec (±2.61%) 539056 ops/sec (±2.54%) 0.99
Get Set property#Get Set from native#string 579865 ops/sec (±11%) 565745 ops/sec (±11.63%) 0.98
Get Set property#Get Set from JavaScript#string 517209 ops/sec (±1.96%) 508793 ops/sec (±2.12%) 0.98
Async task#spawn task 26833 ops/sec (±0.74%) 26761 ops/sec (±0.53%) 1.00
Async task#ThreadSafeFunction 9339 ops/sec (±0.91%) 9169 ops/sec (±2.82%) 0.98
Async task#Tokio future to Promise 33054 ops/sec (±0.59%) 31641 ops/sec (±1.25%) 0.96
Query#query * 100 3621 ops/sec (±0.6%) 3605 ops/sec (±0.47%) 1.00
Query#query * 1 27112 ops/sec (±0.66%) 26250 ops/sec (±0.73%) 0.97

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

@Brooooooklyn Brooooooklyn merged commit 49ed2dd into main Nov 11, 2024
@Brooooooklyn Brooooooklyn deleted the 11-11-fix_napi-derive_object_lifetime_compile_issue branch November 11, 2024 12:19
@h-a-n-a
Copy link
Contributor

h-a-n-a commented Nov 12, 2024

Hi! I was wondering if you mind if you can create a new release? :-)
Thank you!

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.

NAPI3: Undeclared lifetime in Either which it is actually defined

2 participants