Does it print out the GFlops somewhere? All I see is "Execution took", which went from 1.628 to 2.172 when I reset.
- Alon On Mon, Feb 10, 2014 at 3:04 AM, Chris <[email protected]> wrote: > Hi all, > I ported a fluid simulation C++ code (command line program) with > emscripten and it works quite fantastic. I never thought JS could run that > efficiently. > However, to re-run my program I wrapped the compiled version in a function > (with pre/post.js) to reset its state. That usually worked nice, but > recently I get at first an awesome performance from FF (~0.3 native > speed!), but after a reset it suffers a drastic performance breakdown of a > factor of 20. > > The site is http://gaia.respawned.com > > You can observe it just by clicking "Run" in the Run tab, the sparse > matrix mul+add performance is measured thoroughly. At first run: > Performance (mul+add): 0.377445 GFlops > > After "Reset" (calling gaia_create() again in the worker): > Performance (mul+add): 0.0187213 GFlops > > On a recent Chrome I do not get a difference, always around 0.26 GFlops. > > Thanks for your help, > Christian > > PS: Native gcc -O3 : 1.17 GFlops. > > > > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
