Hello,

I have a moderately large Go project that performs fine on my development 
machine. However when compiled for WASM the performance drops off 
significantly. I'm hoping someone can help me understand why.

For comparison purposes, on my hardware, the emulator will run uncapped at 
a 110-120fps when compiled for linux/amd64 but the wasm/js binary runs at 
maybe 10fps. 

This is the project on Github

https://github.com/JetSetIlly/Gopher2600-Utils/tree/master/web2600

The only direct module requirement is the parent emulator project. The 
indirect requirements listed in go.mod aren't being used.

I've only done the barest minimum to get the WASM version working and in 
fact know very little about WASM. It's more a proof of concept that 
anything else, but it would be nice to get it performing well.

Regards

Stephen Illingworth

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/790da99b-4818-4204-b55c-96c3d905de3cn%40googlegroups.com.

Reply via email to