8000 Extract binary assets to server for WASM · Issue #387 · lukexor/tetanes · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Extract binary assets to server for WASM #387

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

Open
lukexor opened this issue Mar 14, 2025 · 0 comments
Open

Extract binary assets to server for WASM #387

lukexor opened this issue Mar 14, 2025 · 0 comments
Labels
tetanes web Web platform related

Comments

@lukexor
Copy link
Owner
lukexor commented Mar 14, 2025

While 21M isn't huge for a emulator binary, it's not exactly small either.

Some of this size comes from the baked-in homebrew ROMs, providing a basic out-of-the-box experience after installation without forcing users into legality issues with copyrighted ROMs. This will only get worse if thumbnails are added to the homebrew info window.

While this might be acceptable for desktop operating systems, the web version, with fewer dependencies, still comes in at 15M and is very large for a web download.

Stripping out all of the binary includes shaves off about 4M, and these assets could be hosted and gzipped on https://lukeworks.tech for download when the emulator needs them. This would result in a faster load time for TetaNES Web

https://www.warp.dev/blog/reducing-wasm-binary-size

@lukexor lukexor added tetanes web Web platform related labels Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tetanes web Web platform related
Projects
None yet
Development

No branches or pull requests

1 participant
0