Skip to content

Instantly share code, notes, and snippets.

@akheron
Last active July 30, 2017 05:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akheron/20e2b174da684c22966ddf942761f282 to your computer and use it in GitHub Desktop.
Save akheron/20e2b174da684c22966ddf942761f282 to your computer and use it in GitHub Desktop.
elm-make benchmark

The test

Clone rtfeldman/elm-spa-example. Download all deps: elm-package install --yes.

Then time the builds running these commands:

rm -rf elm-stuff/build-artifacts
time elm-make --output=elm.js src/Main.elm

Results

Build opts Clean compile time, in seconds, avg of 3
vanilla 6.704
-qg 5.710
-A16M -qg 5.377
-qg -N1 5.725
-A16M -qg -N1 5.389

Hardware: Intel Core i5-6200U CPU @ 2.30GHz, 8 GB RAM

OS: Arch Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment