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

We should allow clients to overriding classpath hashing #400

Closed
romanowski opened this issue Aug 23, 2017 · 1 comment
Closed

We should allow clients to overriding classpath hashing #400

romanowski opened this issue Aug 23, 2017 · 1 comment

Comments

@romanowski
Copy link
Contributor

Zinc has a lot hooks to improve incremental compilation performance in case of really big projects. However when we hash classpath we just do tons of IO operations without any way to e.g. reuse libs hashed before.

In case of 100+ projects with 100+ libs and on slower IO (e.g. windows) it takes a while during each compilation (even no-op ones).

I haven't found a way to do it without breaking binary compatibility but simple proposal how it can be done is here: https://github.com/romanowski/zinc/tree/hashing-classpath-proposal

@stuhood I think pants may also benefit from caching classpath hashes.

@jvican
Copy link
Member

jvican commented Aug 30, 2017

Related to #371.

I agree this is a legit use case.

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

No branches or pull requests

2 participants