fyne-io / fyne-io/tools

Add an option to automatically run wasm-opt on wasm binaries

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
Go
Stars
27
Forks
25
Avg merge
22h 43m
Merged PRs (30d)
7

Description

It is possible to optimize WASM binaries after they have been built using something like [wasm-opt](https://github.com/WebAssembly/binaryen). There are various modes and different kind of optimizations that can be done (size, speed and some things not enabled by default etc.). We should investigate if this is viable to add in some way in order to improve performance. I am worried that this might take a long time to run.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining how this repository builds and handles WASM binaries, then evaluate integrating wasm-opt and its size, speed, and non-default optimization modes. Determine whether the runtime cost is acceptable and what configuration would be needed; the work is done when a viable, documented approach is established or the integration is shown not to be suitable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, wasm
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.