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

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: dc56a97 Previous: 27030c8 Ratio
noop#napi-rs 86940516 ops/sec (±0.15%) 84582764 ops/sec (±1.46%) 0.97
noop#JavaScript 822662993 ops/sec (±0.08%) 819099707 ops/sec (±0.08%) 1.00
Plus number#napi-rs 22765689 ops/sec (±0.53%) 21909107 ops/sec (±0.28%) 0.96
Plus number#JavaScript 822320379 ops/sec (±0.09%) 814017840 ops/sec (±0.47%) 0.99
Create buffer#napi-rs 673983 ops/sec (±11.77%) 603205 ops/sec (±13.26%) 0.89
Create buffer#JavaScript 3501524 ops/sec (±3.08%) 3208434 ops/sec (±3.03%) 0.92
createArray#createArrayJson 55915 ops/sec (±0.25%) 53310 ops/sec (±0.34%) 0.95
createArray#create array for loop 9589 ops/sec (±0.2%) 10275 ops/sec (±0.11%) 1.07
createArray#create array with serde trait 9571 ops/sec (±0.36%) 9757 ops/sec (±0.43%) 1.02
getArrayFromJs#get array from json string 23996 ops/sec (±0.41%) 23867 ops/sec (±0.13%) 0.99
getArrayFromJs#get array from serde 13467 ops/sec (±0.44%) 13627 ops/sec (±0.5%) 1.01
getArrayFromJs#get array with for loop 15997 ops/sec (±0.45%) 16183 ops/sec (±0.42%) 1.01
Get Set property#Get Set from native#u32 574641 ops/sec (±12.08%) 549900 ops/sec (±13.44%) 0.96
Get Set property#Get Set from JavaScript#u32 536800 ops/sec (±2.38%) 520570 ops/sec (±2.88%) 0.97
Get Set property#Get Set from native#string 545058 ops/sec (±11.59%) 520389 ops/sec (±12.28%) 0.95
Get Set property#Get Set from JavaScript#string 513730 ops/sec (±1.97%) 498661 ops/sec (±2.78%) 0.97
Async task#spawn task 26401 ops/sec (±0.76%) 26135 ops/sec (±0.33%) 0.99
Async task#ThreadSafeFunction 9416 ops/sec (±0.78%) 9214 ops/sec (±0.82%) 0.98
Async task#Tokio future to Promise 34247 ops/sec (±0.73%) 33419 ops/sec (±1.33%) 0.98
Query#query * 100 3605 ops/sec (±1.61%) 3547 ops/sec (±0.55%) 0.98
Query#query * 1 26580 ops/sec (±0.57%) 26392 ops/sec (±1.31%) 0.99

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

@Brooooooklyn Brooooooklyn merged commit 3a511ba into main Jul 7, 2024
@Brooooooklyn Brooooooklyn deleted the 07-07-fix_napi_promise_callbacks_should_require_static_lifetime branch July 7, 2024 12:42
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