popmd/wasm: reduce size of binary #147
Labels
area: popm/wasm
This is a change to the WASM popm (PoP Miner)
area: popm
This is a change to popm (PoP Miner)
type: enhancement
This improves existing functionality
type: refactor
This refactors existing functionality
Confirmation
Problem
The WASM PoP Miner binary is currently around 11M.
#146 reduces the size to 10M.
This not only requires a lot of bandwidth to distribute, but will also make things slow to load for end-users (especially those with slow download speeds).
Suggested solution
We should reduce the amount of external packages (especially large ones) that are used by
service/popmd
andweb/popminer
. This allows us to reduce the binary size as much as possible.TinyGo would also help reduce the binary size, however it is currently a lot buggier than Go and contains several major memory leaks in their WASM implementation.
Additional Information
No response
The text was updated successfully, but these errors were encountered: