Skip to content

chore(napi): remove once_cell#2271

Merged
Brooooooklyn merged 1 commit into
mainfrom
09-23-chore_napi_remove_once_cell
Sep 23, 2024
Merged

chore(napi): remove once_cell#2271
Brooooooklyn merged 1 commit into
mainfrom
09-23-chore_napi_remove_once_cell

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: 75f4c36 Previous: f704b4a Ratio
noop#napi-rs 84457668 ops/sec (±2.44%) 86062935 ops/sec (±0.25%) 1.02
noop#JavaScript 816039740 ops/sec (±0.14%) 814081017 ops/sec (±0.21%) 1.00
Plus number#napi-rs 22440691 ops/sec (±0.63%) 22716094 ops/sec (±0.19%) 1.01
Plus number#JavaScript 815099823 ops/sec (±0.15%) 813616649 ops/sec (±0.1%) 1.00
Create buffer#napi-rs 659991 ops/sec (±12.75%) 643191 ops/sec (±13.74%) 0.97
Create buffer#JavaScript 3136075 ops/sec (±2.23%) 3067423 ops/sec (±2.43%) 0.98
createArray#createArrayJson 54041 ops/sec (±0.13%) 54421 ops/sec (±0.36%) 1.01
createArray#create array for loop 9896 ops/sec (±0.4%) 9859 ops/sec (±0.57%) 1.00
createArray#create array with serde trait 9906 ops/sec (±0.17%) 9885 ops/sec (±0.55%) 1.00
getArrayFromJs#get array from json string 24345 ops/sec (±0.62%) 24447 ops/sec (±0.31%) 1.00
getArrayFromJs#get array from serde 12282 ops/sec (±0.41%) 12986 ops/sec (±0.39%) 1.06
getArrayFromJs#get array with for loop 16600 ops/sec (±0.41%) 16502 ops/sec (±0.15%) 0.99
Get Set property#Get Set from native#u32 581356 ops/sec (±11.9%) 564109 ops/sec (±12.76%) 0.97
Get Set property#Get Set from JavaScript#u32 542518 ops/sec (±2.37%) 544793 ops/sec (±2.21%) 1.00
Get Set property#Get Set from native#string 564431 ops/sec (±11.4%) 554412 ops/sec (±12.38%) 0.98
Get Set property#Get Set from JavaScript#string 519552 ops/sec (±2.02%) 509594 ops/sec (±1.94%) 0.98
Async task#spawn task 26449 ops/sec (±0.35%) 26223 ops/sec (±0.46%) 0.99
Async task#ThreadSafeFunction 9411 ops/sec (±0.71%) 9352 ops/sec (±0.76%) 0.99
Async task#Tokio future to Promise 32266 ops/sec (±0.84%) 31207 ops/sec (±0.93%) 0.97
Query#query * 100 3555 ops/sec (±1.25%) 3545 ops/sec (±0.51%) 1.00
Query#query * 1 27016 ops/sec (±0.8%) 27040 ops/sec (±0.76%) 1.00

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

@Brooooooklyn Brooooooklyn force-pushed the 09-23-chore_napi_remove_once_cell branch from ac34c7f to 75f4c36 Compare September 23, 2024 08:45
@Brooooooklyn Brooooooklyn merged commit a4a8d31 into main Sep 23, 2024
@Brooooooklyn Brooooooklyn deleted the 09-23-chore_napi_remove_once_cell branch September 23, 2024 08:57
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