rtfeldman / node-test-runner

Runs elm-test suites from Node.js. Get it with npm install -g elm-test
BSD 3-Clause "New" or "Revised" License
132 stars 79 forks source link

Enable RTS flags? #325

Open rtfeldman opened 5 years ago

rtfeldman commented 5 years ago

I've seen reports of elm make running substantially faster when using the RTS flag to configure Haskell's runtime options, e.g.

elm make +RTS -A128M -H128M -n8m -RTS src/Main.elm

We could do this when invoking elm make from elm-test.

It'd be a tiny code change, but I'd like to see some numbers to back it up before committing to it. If anyone would like to run some benchmarks and compare how fast things are before and after using the above (and ideally a few variations of those settings) specifically to run some elm-test suites, please post them here so we can discuss!

andys8 commented 4 years ago

Relevant for trying the flags:

https://github.com/rtfeldman/node-elm-compiler/blob/3dbf0726f6a85b9dab50f63812fae052c6964729/src/index.ts#L191