javascriptfirefoxionmonkey

Firefox - log ionmonkey compilation and bailouts


I can start Google Chrome with --js-flags="--trace-opt --trace-deopt" to get a log of what the V8 optimizer is compiling and what is falling out of the optimized execution, but is there anything comparable for Firefox IonMonkey?


Solution

  • SpiderMonkey has IONFLAGS environment variable (but not in the regular build, you have to build with ac_add_options --enable-jitspew to enable it, then run with IONFLAGS=help to see the available flags). It will probably take some time to learn how to use it though, since there is not much documentation.

    For web developers work is underway on JIT support in the Performance tool, dubbed "JIT Coach", and I could only find

    You can follow the dependencies of bug 1143804 to see the progress.