Skip to content

fix(napi): compatible with Rust 1.85#2477

Merged
Brooooooklyn merged 1 commit into
mainfrom
02-24-fix_napi_compatible_with_rust_1.85
Feb 24, 2025
Merged

fix(napi): compatible with Rust 1.85#2477
Brooooooklyn merged 1 commit into
mainfrom
02-24-fix_napi_compatible_with_rust_1.85

Conversation

@Brooooooklyn
Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

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: 6d74799 Previous: b818da2 Ratio
noop#napi-rs 86318135 ops/sec (±0.47%) 85963355 ops/sec (±0.63%) 1.00
noop#JavaScript 818151053 ops/sec (±0.06%) 814996615 ops/sec (±0.26%) 1.00
Plus number#napi-rs 25865177 ops/sec (±0.86%) 26179967 ops/sec (±0.86%) 1.01
Plus number#JavaScript 817326167 ops/sec (±0.1%) 813968013 ops/sec (±0.23%) 1.00
Create buffer#napi-rs 641754 ops/sec (±13.25%) 648524 ops/sec (±12.47%) 1.01
Create buffer#JavaScript 3507839 ops/sec (±2.29%) 3535744 ops/sec (±2.46%) 1.01
createArray#createArrayJson 56338 ops/sec (±0.13%) 53205 ops/sec (±0.88%) 0.94
createArray#create array for loop 10161 ops/sec (±0.45%) 10247 ops/sec (±0.38%) 1.01
createArray#create array with serde trait 10168 ops/sec (±0.39%) 10428 ops/sec (±0.33%) 1.03
getArrayFromJs#get array from json string 23736 ops/sec (±0.51%) 23598 ops/sec (±0.73%) 0.99
getArrayFromJs#get array from serde 12902 ops/sec (±0.54%) 13561 ops/sec (±0.61%) 1.05
getArrayFromJs#get array with for loop 16215 ops/sec (±0.27%) 16239 ops/sec (±0.34%) 1.00
Get Set property#Get Set from native#u32 558741 ops/sec (±12.54%) 581401 ops/sec (±12.07%) 1.04
Get Set property#Get Set from JavaScript#u32 539447 ops/sec (±2.58%) 540791 ops/sec (±2.39%) 1.00
Get Set property#Get Set from native#string 572791 ops/sec (±11.82%) 561055 ops/sec (±10.2%) 0.98
Get Set property#Get Set from JavaScript#string 530086 ops/sec (±1.89%) 510397 ops/sec (±2.02%) 0.96
Async task#spawn task 25995 ops/sec (±0.31%) 26067 ops/sec (±0.64%) 1.00
Async task#ThreadSafeFunction 9299 ops/sec (±0.64%) 9396 ops/sec (±0.72%) 1.01
Async task#Tokio future to Promise 31408 ops/sec (±1.15%) 31134 ops/sec (±0.92%) 0.99
Query#query * 100 3574 ops/sec (±0.84%) 3677 ops/sec (±0.33%) 1.03
Query#query * 1 27305 ops/sec (±0.85%) 27182 ops/sec (±0.93%) 1.00

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

@Brooooooklyn Brooooooklyn merged commit 8654857 into main Feb 24, 2025
@Brooooooklyn Brooooooklyn deleted the 02-24-fix_napi_compatible_with_rust_1.85 branch February 24, 2025 12:14
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