Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use BufWriter for emitting MIR #68460

Merged
merged 1 commit into from
Feb 2, 2020
Merged

Conversation

sinkuu
Copy link
Contributor

@sinkuu sinkuu commented Jan 22, 2020

I noticed that --emit=mir takes long time on a large crate. #64344 seem to have fixed -Zdump-mir, but not --emit=mir.

@rust-highfive
Copy link
Collaborator

r? @davidtwco

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 22, 2020
@Mark-Simulacrum
Copy link
Member

Mark-Simulacrum commented Jan 22, 2020

r? @Mark-Simulacrum

A quick grep for " File::create" leads me to believe there are a few more cases of this, could you fix those as well?

@wirelessringo
Copy link

Ping from triage. @Mark-Simulacrum any updates on this? Thanks.

@Mark-Simulacrum
Copy link
Member

Thanks, missed that a second commit was pushed. r=me once they're squashed into one.

@sinkuu sinkuu force-pushed the emit_mir_buffered branch from 05746e0 to 482c761 Compare February 1, 2020 10:33
@sinkuu
Copy link
Contributor Author

sinkuu commented Feb 1, 2020

Squashed.

@Mark-Simulacrum
Copy link
Member

@bors r+ rollup

Thanks!

@bors
Copy link
Contributor

bors commented Feb 1, 2020

📌 Commit 482c761 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 1, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Feb 1, 2020
…mulacrum

Use BufWriter for emitting MIR

I noticed that `--emit=mir` takes long time on a large crate. rust-lang#64344 seem to have fixed `-Zdump-mir`, but not `--emit=mir`.
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Feb 1, 2020
…mulacrum

Use BufWriter for emitting MIR

I noticed that `--emit=mir` takes long time on a large crate. rust-lang#64344 seem to have fixed `-Zdump-mir`, but not `--emit=mir`.
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Feb 1, 2020
…mulacrum

Use BufWriter for emitting MIR

I noticed that `--emit=mir` takes long time on a large crate. rust-lang#64344 seem to have fixed `-Zdump-mir`, but not `--emit=mir`.
bors added a commit that referenced this pull request Feb 1, 2020
Rollup of 7 pull requests

Successful merges:

 - #68460 (Use BufWriter for emitting MIR)
 - #68681 (Suggest path separator for single-colon typos)
 - #68688 ([docs] remind bug reporters to update nightly)
 - #68704 (Ignore `build` dir formatting)
 - #68727 (Remove a comment about pretty printer in formatting tests)
 - #68736 (Remove `Alloc` in favor of `AllocRef`)
 - #68740 (Do not suggest things named underscore)

Failed merges:

r? @ghost
@bors bors merged commit 482c761 into rust-lang:master Feb 2, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants