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

Don't set mtime on toolchain files #1847

Merged
merged 1 commit into from
May 11, 2019
Merged

Conversation

rbtcollins
Copy link
Contributor

We don't depend on file times in the toolchains for any of our
operations, so making them match the time from the tar archive isn't
particularly useful. My bench machine here dropped from 31/32s for
rust-docs to 26/27s with this change.

We don't depend on file times in the toolchains for any of our
operations, so making them match the time from the tar archive isn't
particularly useful. My bench machine here dropped from 31/32s for
rust-docs to 26/27s with this change.
Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

I've had a rummage and I'm fairly sure this is safe, and the speedup on Windows is impressive.

@kinnison kinnison merged commit 232413c into rust-lang:master May 11, 2019
@rbtcollins rbtcollins deleted the no-mtime branch May 11, 2019 10:25
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