Skip to content

feat(napi): impl into_unknown for External#2598

Merged
Brooooooklyn merged 1 commit into
mainfrom
05-05-feat_napi_impl_into_unknown_for_external
May 5, 2025
Merged

feat(napi): impl into_unknown for External#2598
Brooooooklyn merged 1 commit into
mainfrom
05-05-feat_napi_impl_into_unknown_for_external

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.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

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: 1d40d02 Previous: 407a400 Ratio
noop#napi-rs 83826362 ops/sec (±0.12%) 82596466 ops/sec (±0.87%) 0.99
noop#JavaScript 818028562 ops/sec (±0.06%) 817128270 ops/sec (±0.09%) 1.00
Plus number#napi-rs 26482033 ops/sec (±1.58%) 26790479 ops/sec (±0.28%) 1.01
Plus number#JavaScript 815303590 ops/sec (±0.21%) 812223964 ops/sec (±0.22%) 1.00
Create buffer#napi-rs 630739 ops/sec (±12.4%) 659102 ops/sec (±12.21%) 1.04
Create buffer#JavaScript 3619856 ops/sec (±2.13%) 3622632 ops/sec (±2.39%) 1.00
createArray#createArrayJson 55880 ops/sec (±0.33%) 54970 ops/sec (±0.31%) 0.98
createArray#create array for loop 9963 ops/sec (±0.22%) 9926 ops/sec (±0.52%) 1.00
createArray#create array with serde trait 9970 ops/sec (±0.16%) 9946 ops/sec (±0.46%) 1.00
getArrayFromJs#get array from json string 23165 ops/sec (±0.5%) 23147 ops/sec (±0.58%) 1.00
getArrayFromJs#get array from serde 12987 ops/sec (±0.54%) 13100 ops/sec (±0.34%) 1.01
getArrayFromJs#get array with for loop 16014 ops/sec (±0.49%) 16147 ops/sec (±0.34%) 1.01
Get Set property#Get Set from native#u32 582194 ops/sec (±11.14%) 566072 ops/sec (±12.21%) 0.97
Get Set property#Get Set from JavaScript#u32 536038 ops/sec (±2.22%) 527480 ops/sec (±2.32%) 0.98
Get Set property#Get Set from native#string 557155 ops/sec (±10.4%) 561878 ops/sec (±11.7%) 1.01
Get Set property#Get Set from JavaScript#string 516978 ops/sec (±1.77%) 517117 ops/sec (±2.07%) 1.00
Async task#spawn task 26370 ops/sec (±0.26%) 26371 ops/sec (±0.52%) 1.00
Async task#ThreadSafeFunction 9533 ops/sec (±0.67%) 9360 ops/sec (±0.83%) 0.98
Async task#Tokio future to Promise 32010 ops/sec (±1.01%) 31549 ops/sec (±0.74%) 0.99
Query#query * 100 3645 ops/sec (±0.63%) 3684 ops/sec (±0.35%) 1.01
Query#query * 1 27494 ops/sec (±0.53%) 27760 ops/sec (±0.76%) 1.01

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

@Brooooooklyn
Brooooooklyn merged commit 4681ac9 into main May 5, 2025
@Brooooooklyn
Brooooooklyn deleted the 05-05-feat_napi_impl_into_unknown_for_external branch May 5, 2025 04:29
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