Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop injecting file management settings for io tasks #4980

Merged
merged 1 commit into from Aug 23, 2019
Merged

Stop injecting file management settings for io tasks #4980

merged 1 commit into from Aug 23, 2019

Conversation

eatkins
Copy link
Contributor

@eatkins eatkins commented Aug 23, 2019

It turns out that injecting the keys necessary for incremental tasks
causes a significant startup penalty for many larger projects. For
example, akka starts up about 3 seconds faster if do not inject these
settings for the tasks returning File or Seq[File]. Given that all
of these apis use java.nio.file anyway, it makes sense to not backport
them to older tasks.

This was referenced Aug 23, 2019
It turns out that injecting the keys necessary for incremental tasks
causes a significant startup penalty for many larger projects. For
example, akka starts up about 3 seconds faster if do not inject these
settings for the tasks returning `File` or `Seq[File]`. Given that all
of these apis use java.nio.file anyway, it makes sense to not backport
them to older tasks.
Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eatkins eatkins merged commit 9445961 into sbt:develop Aug 23, 2019
@eatkins eatkins deleted the revert-io-file-management-apis branch August 23, 2019 04:49
@eed3si9n eed3si9n added this to the 1.3.0 milestone Aug 29, 2019
@eed3si9n eed3si9n mentioned this pull request Aug 29, 2019
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.

None yet

2 participants