Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.35 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.35 KB

Clojurescript Benchmarks

This project contains code to run certain micro benchmarks against various version of ClojureScript on different JavaScript engines.

A good article about benchmarking JS code is here.

How to run these benchmarks

  1. Install the 3 JavaScript engines - JavaScriptCore, v8 and SpiderMonkey. Installation notes for Linux and OS X. Also set the appropriate environment variables - V8_HOME, SPIDERMONKEY_HOME and JSC_HOME.

  2. Clone this repo.

  3. To run full benchmarks using Benchmark.js, change quick? in src/bench/core.clj to false.

  4. To select which versions to run the benchmarks against, edit versions variable in run.py. By default, it'll run it against all releases since 1.7+.

  5. Run python run.py. This will produce a file data_YYYYMMDD_HHmmSS.csv which has all the results.

Inspiration

License

Copyright © 2014 FIXME

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.