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

travis: Don't set RUST_LOG globally #40686

Merged
merged 1 commit into from
Mar 21, 2017
Merged

Conversation

alexcrichton
Copy link
Member

I have a suspicion that this caused a large regression in cycle times by forcing
the compiler to perform more checks on every debug! statement, so let's test
this out by removing the RUST_LOG env var globally.

This regression in cycle time was witnessed between two builds where the
PR in question didn't do much suspicious. Judging by how the stage0 times
also regressed though then this is my best guess.

@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

I have a suspicion that this caused a large regression in cycle times by forcing
the compiler to perform more checks on every `debug!` statement, so let's test
this out by removing the `RUST_LOG` env var globally.

This regression in cycle time was witnessed between [two] [builds] where the
[PR] in question didn't do much suspicious. Judging by how the stage0 times
*also* regressed though then this is my best guess.

[two]: https://travis-ci.org/rust-lang/rust/builds/210149932
[builds]: https://travis-ci.org/rust-lang/rust/builds/210179995
[PR]: rust-lang#40446
@brson
Copy link
Contributor

brson commented Mar 20, 2017

@bors r+ p=1

@bors
Copy link
Contributor

bors commented Mar 20, 2017

📌 Commit 7305ca3 has been approved by brson

@bors
Copy link
Contributor

bors commented Mar 21, 2017

⌛ Testing commit 7305ca3 with merge 3d94584...

@bors
Copy link
Contributor

bors commented Mar 21, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member Author

alexcrichton commented Mar 21, 2017 via email

@bors
Copy link
Contributor

bors commented Mar 21, 2017

⌛ Testing commit 7305ca3 with merge 53eb08b...

bors added a commit that referenced this pull request Mar 21, 2017
travis: Don't set `RUST_LOG` globally

I have a suspicion that this caused a large regression in cycle times by forcing
the compiler to perform more checks on every `debug!` statement, so let's test
this out by removing the `RUST_LOG` env var globally.

This regression in cycle time was witnessed between [two] [builds] where the
[PR] in question didn't do much suspicious. Judging by how the stage0 times
*also* regressed though then this is my best guess.

[two]: https://travis-ci.org/rust-lang/rust/builds/210149932
[builds]: https://travis-ci.org/rust-lang/rust/builds/210179995
[PR]: #40446
@bors
Copy link
Contributor

bors commented Mar 21, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: brson
Pushing 53eb08b to master...

@bors bors merged commit 7305ca3 into rust-lang:master Mar 21, 2017
@alexcrichton alexcrichton deleted the less-logging branch April 4, 2017 23:08
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.

4 participants