Skip to content

Better strategy for determining the default of NumThreads - #483

Open
arybczak wants to merge 1 commit into
UnkindPartition:masterfrom
arybczak:check-rts-nx-to-determine-numthreads
Open

Better strategy for determining the default of NumThreads#483
arybczak wants to merge 1 commit into
UnkindPartition:masterfrom
arybczak:check-rts-nx-to-determine-numthreads

Conversation

@arybczak

Copy link
Copy Markdown

Based on #482, but fixes its shortcomings (takes into account -with-rtsopts, -maxN and --RTS as well as GHCRTS env variable) and updates the README with an example how you can force sequential test runs from the code.

@arybczak

Copy link
Copy Markdown
Author

To be honest, I'd still put the default at cores/2 instead of cores because of point 4 from #457 (comment), but I'm not hard pressed about it.

@arybczak

Copy link
Copy Markdown
Author

@Bodigrim ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant