Skip to content

Don't set mtime on toolchain files#1847

Merged
kinnison merged 1 commit intorust-lang:masterfrom
rbtcollins:no-mtime
May 11, 2019
Merged

Don't set mtime on toolchain files#1847
kinnison merged 1 commit intorust-lang:masterfrom
rbtcollins:no-mtime

Conversation

@rbtcollins
Copy link
Copy Markdown
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
Copy Markdown
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