#builtin.returnError() is really slow while targeting Emscripten
1 messages · Page 1 of 1 (latest)
My question is, is it possible to disable this thing? jsStackTrace() from Emscripten is pretty slow which I think is the reason.
-fno-error-tracing or .error_tracing = false,
Thanks for the quick reply, is this a zig only option?
I added .error_tracing = false to my build, but can still see jsStackTrace() from profiling
I build my app as a static library, and then use emcc to link and produce js/wasm.
Wow, a lot less jsStackTrace() after the config. The only fews left come from ArenaAllocator. Which is not so annoying any more.