Repo: https://github.com/rtfeldman/elm-spa-example
noah@Noahs-MacBook-Pro ~/d/elm-spa-example> time elm-make src/Main.elm --output /dev/null
Success! Compiled 93 modules.
Successfully generated /dev/null
8.44 real 15.88 user 16.76 sys
noah@Noahs-MacBook-Pro ~/d/elm-spa-example> cloc .
242 text files.
233 unique files.
35 files ignored.
github.com/AlDanial/cloc v 1.72 T=1.14 s (182.2 files/s, 42179.3 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
HTML 1 1002 0 16862
Elm 122 5727 4610 11497
JavaScript 22 1036 243 5302
Markdown 27 367 0 880
JSON 28 0 0 498
YAML 4 11 0 75
Bourne Shell 4 13 0 34
-------------------------------------------------------------------------------
SUM: 208 8156 4853 35148
-------------------------------------------------------------------------------
tl;dr
For the last one I removed all type declarations apart from our
mainfunction. I also had to remove a few files as I kept running into an issue with the type inference algorithm of elm-make:Unable to generalize a type variable, it is unranked.cloc
With
+RTS -A512M -H128M -n8m -RTS,3m7s,91Mbuild artifactsWith
+RTS -s -RTS,6m14s,93Mbuild artifactsTypes removed, with
+RTS -A512M -H128M -n8m -RTS,1m22s,13Mbuild artifacts