Skip to content

Instantly share code, notes, and snippets.

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

Elm 0.18, change the main Model

$ time ./node_modules/.bin/elm-make elm/Crash.elm 
Success! Compiled 53 modules.                                       
Successfully generated index.html
real    2m51.611s
user    8m19.937s
sys     6m31.779s

Elm 0.19, change the main Model

$ time ./node_modules/.bin/elm make elm/Main.elm
Success! Compiled 39 modules.
real 0m4.080s
user 0m3.879s
sys 0m0.196s

Elm 0.18, change the main Msg and change the main Update

$ time ./node_modules/.bin/elm-make elm/Crash.elm 
Success! Compiled 53 modules.                                       
Successfully generated index.html
real    2m34.221s
user    7m17.199s
sys     6m19.469s

Elm 0.19, change the main Msg and change the main Update

$ time ./node_modules/.bin/elm make elm/Main.elm 
Success! Compiled 39 modules.
real    0m3.928s
user    0m3.666s
sys     0m0.259s

Elm 0.18, change the main View

$ time ./node_modules/.bin/elm-make elm/Crash.elm
Success! Compiled 2 modules.                                        
Successfully generated index.html
real    0m10.046s
user    0m29.823s
sys     0m26.757s

Elm 0.19, change the main View

$ time ./node_modules/.bin/elm make elm/Main.elm 
Success! Compiled 2 modules.
real    0m1.180s
user    0m1.063s
sys     0m0.116s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment