Skip to content

stamourv/jit-coach

Repository files navigation

Prototype Optimization Coach for SpiderMonkey

Requires

Instructions

  • Build Firefox. The JIT coach gets its data from the Gecko profiler, so building only the JS shell is not enough.
  • Gather profile data using ./js-profile <path-to-firefox-obj-dir> <program>, redirecting the output to a file. (Look at the run-*.js files in the examples subdirectory for programs to try the coach on, or use one of the provided profile files directly. Note: when using run-*.js, you need to run js-profile from the example directory.) Running the profiler from the browser may work, but hasn't been tested.
  • racket coach.rkt <profile-file>

To run benchmarks, see README.md in the benchmarks subdirectory.

About

Prototype Optimization Coach for SpiderMonkey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published