Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): optimize wasm output binary #2049

Merged
merged 1 commit into from Apr 17, 2024

Conversation

Brooooooklyn
Copy link
Sponsor Member

@Brooooooklyn Brooooooklyn commented Apr 17, 2024

Copy link

@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

Benchmark suite Current: d687566 Previous: 27134b8 Ratio
noop#napi-rs 86693904 ops/sec (±0.27%) 86612058 ops/sec (±0.51%) 1.00
noop#JavaScript 821050266 ops/sec (±0.07%) 823476207 ops/sec (±0.07%) 1.00
Plus number#napi-rs 20464721 ops/sec (±0.2%) 20521870 ops/sec (±0.51%) 1.00
Plus number#JavaScript 819656165 ops/sec (±0.11%) 818470051 ops/sec (±0.67%) 1.00
Create buffer#napi-rs 657227 ops/sec (±13.01%) 660079 ops/sec (±12.39%) 1.00
Create buffer#JavaScript 3380239 ops/sec (±1.92%) 3646377 ops/sec (±2.85%) 1.08
createArray#createArrayJson 54162 ops/sec (±0.95%) 54935 ops/sec (±0.44%) 1.01
createArray#create array for loop 10390 ops/sec (±0.45%) 9875 ops/sec (±0.46%) 0.95
createArray#create array with serde trait 10408 ops/sec (±0.25%) 9713 ops/sec (±1.47%) 0.93
getArrayFromJs#get array from json string 23974 ops/sec (±0.54%) 23879 ops/sec (±0.55%) 1.00
getArrayFromJs#get array from serde 13367 ops/sec (±0.12%) 12959 ops/sec (±0.63%) 0.97
getArrayFromJs#get array with for loop 16305 ops/sec (±0.06%) 16125 ops/sec (±0.19%) 0.99
Get Set property#Get Set from native#u32 570943 ops/sec (±12.94%) 547235 ops/sec (±12.68%) 0.96
Get Set property#Get Set from JavaScript#u32 543506 ops/sec (±2.63%) 549672 ops/sec (±2.25%) 1.01
Get Set property#Get Set from native#string 565821 ops/sec (±11.57%) 556949 ops/sec (±11.56%) 0.98
Get Set property#Get Set from JavaScript#string 521944 ops/sec (±2.16%) 512293 ops/sec (±2.02%) 0.98
Async task#spawn task 26679 ops/sec (±0.77%) 26703 ops/sec (±0.34%) 1.00
Async task#ThreadSafeFunction 9081 ops/sec (±0.98%) 9277 ops/sec (±1.43%) 1.02
Async task#Tokio future to Promise 32649 ops/sec (±1.21%) 32868 ops/sec (±1%) 1.01
Query#query * 100 3973 ops/sec (±0.34%) 3929 ops/sec (±0.49%) 0.99
Query#query * 1 28111 ops/sec (±1.68%) 27857 ops/sec (±1.61%) 0.99

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

@Brooooooklyn Brooooooklyn force-pushed the 04-17-feat_cli_optimize_wasm_output_binary branch from bc7f45f to d687566 Compare April 17, 2024 11:41
Copy link
Sponsor 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

@Brooooooklyn Brooooooklyn merged commit 7e33eb7 into main Apr 17, 2024
51 checks passed
@Brooooooklyn Brooooooklyn deleted the 04-17-feat_cli_optimize_wasm_output_binary branch April 17, 2024 12:13
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.

DWARF support
1 participant