I have the same issue in a physics project. The code is 3 times slower on
chrome 43.
Let me know if you find anything interesting.
Guillaume Leclerc
Le mardi 11 août 2015 14:33:23 UTC+2, Laurent Pugin a écrit :
>
> Hi,
>
> I am having troubles having asm compiled / running in Chrome. My C++ code
> is compiled with the following emscripten options:
>
> -O3 --memory-init-file 0 \
> -s ASM_JS=1 \
> -s TOTAL_MEMORY=128*1024*1024 \
> -s TOTAL_STACK=64*1024*1024"
>
> In FireFox and IE Edge, I can see in the console the message the asm.js is
> successfully compiled:
>
> 14:04:46.658 Successfully compiled asm.js code (total compilation time
> 605ms; unable to cache asm.js in synchronous scripts; try loading asm.js
> via <script async> or createElement('script'))
>
> However, nothing is shown in Chrome and I think it does not use asm since
> it is then much slower. I have tested on Chrome Version 44.0.2403.130
> (64-bit) on Mac and also on Windows 10. Any idea how to double check if
> Chrome does compile and run as asm? Or what is the issue if it does not?
> Any flag to switch on as for IE Edge?
>
> Thanks in advance,
> Laurent
>
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.