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

Add a new doc page Why Mill? / How Fast Does Java Compile? #3990

Merged
merged 9 commits into from
Nov 20, 2024

Conversation

lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Nov 19, 2024

No description provided.

@lihaoyi lihaoyi changed the title Add a new doc page Why Mill? / How Fast Should Java Compile? Add a new doc page Why Mill? / How Fast Does Java Compile? Nov 19, 2024
Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

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

Interesting read. Would make a nice blog post. Do you strive for some specific conclusion regarding Mill?

I think a lot of that "overhead" is not spend in wasteful work but in hose-keeping of dependencies and state, such that all possible build results are always up-to-date.

@lihaoyi
Copy link
Member Author

lihaoyi commented Nov 19, 2024

We don't have a blog section on the doc-site so I put it under Why Mill?. If that gets overcrowded we can break out a blog section later, but to some extent this post is an exploration of one facet of the "Why Mill?" question. I wanted it to go on the Mill docsite so it can draw attention and mindshare, which would be less effective if put on my personal blog

The build tool overhead is definitely doing something, it's just a question of how much in can be optimized. For example, for Mill a lot of overhead that I am aware of is (a) starting the JVM client (b) starting the socket connection (somehow jprofiler says this takes 200ms???) and (c) serializing and de-serializing JSON files on disk. All of these things are necessary now, but they can all definitely be optimized if we really wanted to.

@lihaoyi lihaoyi marked this pull request as ready for review November 20, 2024 03:21
@lihaoyi lihaoyi merged commit 1fdabee into com-lihaoyi:main Nov 20, 2024
27 checks passed
@lefou lefou added this to the 0.12.3 milestone Nov 21, 2024
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.

2 participants