Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd support for +RTS/-RTS flags from GHC #65
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Cool, thanks @antew! |
rtfeldman
merged commit 127e3bb
into
rtfeldman:master
Feb 13, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Published as |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Thank you @rtfeldman |
andys8
referenced this pull request
Mar 7, 2018
Closed
Compilation fails when run on a server with 122GB of RAM #164
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
andys8
Mar 7, 2018
@antew @rtfeldman This will only work for self compiled elm compilers, right? Can we somehow enable the flag in the next version of the compiler? Otherwise the added argument in node-elm-compiler will not work for most of the users, right?
andys8
commented
Mar 7, 2018
|
@antew @rtfeldman This will only work for self compiled elm compilers, right? Can we somehow enable the flag in the next version of the compiler? Otherwise the added argument in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
antew commentedFeb 13, 2018
•
edited
Edited 2 times
-
antew
edited Feb 13, 2018 (most recent)
-
antew
edited Feb 13, 2018
Enabling these flags allows for tuning the GHC runtime and can dramatically improve build times when a lot of files have to be recompiled, as well as improving performance on large
casestatements, the main benefit is reducing the time spent in the garbage collector.This does require a version of
elm-makecompiled with the-rtsoptsoption to allow runtime control, if you try to run it on a version without that enabled you'll get the message:Some further information and related issues here:
The current version of elm-make does allow limited RTS options, for instance, you can use
+RTS -s -RTSto profile a run.