Hi!

Worth pinging here in a very recent and awesome advance in Firefox: Finally
as of last night, Firefox Nightly now supports profiling asm.js execution.
This means that when you use the CPU profiler after updating to latest
Nightly, you no longer need to disable asm.js before profiling in order to
get meaningful stack traces from asm.js functions!

Remember to build all your profiling builds with the proper optimization
flags (-O2/-O3/-Os/-Oz) at both compile and link time, and add in the
linker flag -g2 in order to preserve the function names unminified. These
will ensure that you have the fastest output that retains profiling info,
at the expense of output size.

For best profiling UI, make sure you are running the geckoprofiler.xpi
Firefox add-on, documented here:
https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler

Thanks go to Luke Wagner for the hard work of implementing the asm.js
profiling support in to Firefox!

Jukka

-- 
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.

Reply via email to