[go-nuts] Re: syscall/js: wasm perf question

2022-06-02 Thread atd...@gmail.com
Really weird, for a same TODOMVC react app, Chrome (101.0.4951.64) seems to be faster than Firefox (77.0.1) at handling a same DOM event (~12ms vs ~30ms). But with my implementation of the same TODOMVC app in wasm, built with Go, the same event is handled much faster in Firefox than in Chrome (

[go-nuts] Re: syscall/js: wasm perf question

2022-06-01 Thread atd...@gmail.com
Seems like it might be a slow handling of wasm in Chrome. Firefox is almost twice as fast. There seems to be almost no overhead. On Tuesday, May 31, 2022 at 3:19:24 PM UTC+2 atd...@gmail.com wrote: > Hi, > > I am trying to optimize some wasm code that runs into the browser. > So far, the perform