Skip to content

Instantly share code, notes, and snippets.

@neslinesli93
Created March 10, 2019 18:28
Show Gist options
  • Save neslinesli93/68862a45fac3473e1b331048bf214a42 to your computer and use it in GitHub Desktop.
Save neslinesli93/68862a45fac3473e1b331048bf214a42 to your computer and use it in GitHub Desktop.

Elm 0.18, no debug

$ time ./node_modules/.bin/elm-make elm/Main.elm
Success! Compiled 278 modules.                                      
Successfully generated index.html
real    3m53.723s
user    11m27.352s
sys     11m5.195s

Elm 0.19, no debug

$ time ./node_modules/.bin/elm make elm/Main.elm
Dependencies loaded from local cache.
Dependencies ready!                
Success! Compiled 216 modules.
real    0m6.645s
user    0m5.786s
sys     0m0.200s

Elm 0.18, debug enabled

$ time ./node_modules/.bin/elm-make --debug elm/Main.elm
Success! Compiled 278 modules.                                      
Successfully generated index.html
real    4m10.209s
user    12m24.108s
sys     11m17.982s

Elm 0.19, debug enabled. We had to use a fork of the compiler since there is an open issue regarding the debug mode

$ time ./elm-fork make --debug elm/Main.elm
Dependencies loaded from local cache.
Dependencies ready!                
Success! Compiled 216 modules.
real    0m5.448s
user    0m4.653s
sys     0m0.235s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment