Prototype Optimization Coach for SpiderMonkey
JavaScript Racket
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
benchmarks
examples
.gitignore
README.md
coach.rkt
element-reports.rkt
js-profile
parsing.rkt
property-reports.rkt
recommendations.rkt
reports.rkt
structs.rkt
utils.rkt

README.md

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.