Skip to content

fix!(napi): upgrade to ctor 0.3.6#2472

Merged
Brooooooklyn merged 1 commit into
mainfrom
ctor-0.3.6
Feb 20, 2025
Merged

fix!(napi): upgrade to ctor 0.3.6#2472
Brooooooklyn merged 1 commit into
mainfrom
ctor-0.3.6

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.

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: db59afa Previous: 384dcac Ratio
noop#napi-rs 85885035 ops/sec (±0.85%) 86524046 ops/sec (±0.09%) 1.01
noop#JavaScript 817713955 ops/sec (±0.08%) 816807393 ops/sec (±0.11%) 1.00
Plus number#napi-rs 28654026 ops/sec (±0.35%) 26632317 ops/sec (±0.15%) 0.93
Plus number#JavaScript 816577912 ops/sec (±0.15%) 814398570 ops/sec (±0.17%) 1.00
Create buffer#napi-rs 603207 ops/sec (±12.83%) 597985 ops/sec (±12.82%) 0.99
Create buffer#JavaScript 3533478 ops/sec (±2.34%) 3355883 ops/sec (±2.05%) 0.95
createArray#createArrayJson 55211 ops/sec (±0.62%) 55731 ops/sec (±0.16%) 1.01
createArray#create array for loop 10464 ops/sec (±0.44%) 10427 ops/sec (±0.32%) 1.00
createArray#create array with serde trait 10489 ops/sec (±0.32%) 10458 ops/sec (±0.55%) 1.00
getArrayFromJs#get array from json string 23669 ops/sec (±0.49%) 24294 ops/sec (±0.39%) 1.03
getArrayFromJs#get array from serde 13840 ops/sec (±0.43%) 13388 ops/sec (±0.27%) 0.97
getArrayFromJs#get array with for loop 15938 ops/sec (±1%) 15956 ops/sec (±0.3%) 1.00
Get Set property#Get Set from native#u32 562479 ops/sec (±12.13%) 560313 ops/sec (±12.11%) 1.00
Get Set property#Get Set from JavaScript#u32 550513 ops/sec (±2.27%) 525420 ops/sec (±2.32%) 0.95
Get Set property#Get Set from native#string 575626 ops/sec (±10.98%) 545625 ops/sec (±11.08%) 0.95
Get Set property#Get Set from JavaScript#string 523101 ops/sec (±2.04%) 507423 ops/sec (±2.34%) 0.97
Async task#spawn task 26401 ops/sec (±0.32%) 26258 ops/sec (±0.43%) 0.99
Async task#ThreadSafeFunction 9274 ops/sec (±0.68%) 9321 ops/sec (±0.78%) 1.01
Async task#Tokio future to Promise 32131 ops/sec (±1.02%) 31634 ops/sec (±1.35%) 0.98
Query#query * 100 3629 ops/sec (±0.59%) 3637 ops/sec (±1.08%) 1.00
Query#query * 1 27461 ops/sec (±0.75%) 27459 ops/sec (±0.7%) 1.00

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

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