Skip to content

Conversation

@straight-shoota
Copy link
Member

When running specs with execution contexts, it's annoying to have to explicitly scale the default execution context in order to get actual parallelism. This could be handled in some kind of spec helper, but it would still require extra effort and it'd be easy to miss out on it.

Thus, I'm suggesting to resize the EC in the stdlib spec package (i.e. for any spec program) if the environment variable CRYSTAL_WORKERS is defined.

Extracted from #16339

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant