The source is not public, but I think I can share result js if it's useful.

I will try to build WebAssembly and check.

2017-08-09 19:04 GMT+07:00 Jukka Jylänki <juj...@gmail.com>:
> This looks like a performance bug in the browser. It may be possible
> to reduce the compilation time, but without a test case it's not
> possible to know what might be wrong. Is the project public somewhere?
>
> One known source of slow compilation times is if one has very large
> switch-case statements with tens of thousands of cases.
>
> Though FF 54 already supports WebAssembly. Do you have a WebAssembly
> build of the same, does that compile quickly on Firefox?
>
> 2017-08-09 14:52 GMT+03:00 caiiiycuk <caiiiy...@gmail.com>:
>> Hi. I use Firefox 54.0 to test my game that I compile from C++ to js. Js
>> size is 6.3Mb, when I open game in FF, then it compiles asm.js for very long
>> time:
>> Successfully compiled asm.js code (total compilation time 55703ms; stored in
>> cache)
>>
>> As you see I wait one minute before game starts,  all other browsers start
>> game immediately. It's possible to reduce this compilation time?
>>
>> I have very powerfull CPU - i7, os is Ubuntu x64
>>
>> --
>> 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 emscripten-discuss+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to