purescript-deprecated / gulp-purescript

Gulp plugin providing PureScript compiler tasks
34 stars 8 forks source link

Add option to set number of threads psc will use #56

Closed garyb closed 8 years ago

garyb commented 8 years ago

Ideally this should be something we can read from the command line args rather than something that is set in the gulpfile.

The motivation for this is to limit the threads used on Travis, at it seems whatever default it is using is crippling the compiler performance currently (10x slower at compiling purescript-halogen), as of psc 0.7.5.

I'm only thinking of the RTS -N option here, but maybe we should allow the use of any RTS arguments, it could be useful for debugging too.

ethul commented 8 years ago

Good idea!

On Thursday, 5 November 2015, Gary Burgess notifications@github.com wrote:

Ideally this should be something we can read from the command line args rather than something that is set in the gulpfile.

The motivation for this is to limit the threads used on Travis, at it seems whatever default it is using is crippling the compiler performance currently, as of psc 0.7.5.

I'm only thinking of the RTS -N option here, but maybe we should allow the use of any RTS arguments, it could be useful for debugging too.

— Reply to this email directly or view it on GitHub https://github.com/purescript-contrib/gulp-purescript/issues/56.

garyb commented 8 years ago

Resolved by #57