Skip to content

chore(napi): env doesn't need to be mut#2292

Merged
Brooooooklyn merged 1 commit intomainfrom
10-07-chore_napi_env_doesn_t_need_to_be_mut
Oct 7, 2024
Merged

chore(napi): env doesn't need to be mut#2292
Brooooooklyn merged 1 commit intomainfrom
10-07-chore_napi_env_doesn_t_need_to_be_mut

Conversation

@Brooooooklyn
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
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
Copy Markdown
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: 54c4af5 Previous: 9a6f01a Ratio
noop#napi-rs 85941192 ops/sec (±0.31%) 85956557 ops/sec (±0.25%) 1.00
noop#JavaScript 812236508 ops/sec (±0.26%) 814653153 ops/sec (±0.11%) 1.00
Plus number#napi-rs 22828597 ops/sec (±0.47%) 22891046 ops/sec (±0.18%) 1.00
Plus number#JavaScript 811353582 ops/sec (±0.26%) 814724831 ops/sec (±0.12%) 1.00
Create buffer#napi-rs 619791 ops/sec (±12.86%) 586542 ops/sec (±14.23%) 0.95
Create buffer#JavaScript 3171018 ops/sec (±2.38%) 3051601 ops/sec (±3.23%) 0.96
createArray#createArrayJson 53722 ops/sec (±0.43%) 53369 ops/sec (±0.56%) 0.99
createArray#create array for loop 9797 ops/sec (±0.42%) 9945 ops/sec (±0.5%) 1.02
createArray#create array with serde trait 9888 ops/sec (±0.17%) 9953 ops/sec (±0.51%) 1.01
getArrayFromJs#get array from json string 23977 ops/sec (±0.28%) 23810 ops/sec (±0.72%) 0.99
getArrayFromJs#get array from serde 12973 ops/sec (±0.27%) 13650 ops/sec (±0.46%) 1.05
getArrayFromJs#get array with for loop 16490 ops/sec (±0.48%) 16189 ops/sec (±0.43%) 0.98
Get Set property#Get Set from native#u32 602317 ops/sec (±8.09%) 565598 ops/sec (±8.78%) 0.94
Get Set property#Get Set from JavaScript#u32 540380 ops/sec (±2.41%) 524347 ops/sec (±9.15%) 0.97
Get Set property#Get Set from native#string 563382 ops/sec (±10.52%) 562594 ops/sec (±11.88%) 1.00
Get Set property#Get Set from JavaScript#string 520144 ops/sec (±1.94%) 511704 ops/sec (±2.32%) 0.98
Async task#spawn task 26055 ops/sec (±0.71%) 26303 ops/sec (±0.62%) 1.01
Async task#ThreadSafeFunction 9028 ops/sec (±1.43%) 9179 ops/sec (±1.08%) 1.02
Async task#Tokio future to Promise 32337 ops/sec (±1.03%) 32589 ops/sec (±1.01%) 1.01
Query#query * 100 3572 ops/sec (±0.35%) 3436 ops/sec (±1.06%) 0.96
Query#query * 1 27210 ops/sec (±1%) 26877 ops/sec (±0.73%) 0.99

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

Copy link
Copy Markdown
Member Author

Brooooooklyn commented Oct 7, 2024

Merge activity

@Brooooooklyn Brooooooklyn merged commit eba0b52 into main Oct 7, 2024
@Brooooooklyn Brooooooklyn deleted the 10-07-chore_napi_env_doesn_t_need_to_be_mut branch October 7, 2024 17:20
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