Skip to content

Fixes for shootout benchmarks - #7193

Closed
Thiez wants to merge 7 commits into
rust-lang:masterfrom
Thiez:fixbench
Closed

Thiez wants to merge 7 commits into
rust-lang:masterfrom
Thiez:fixbench

Conversation

@Thiez

@Thiez Thiez commented Jun 16, 2013

Copy link
Copy Markdown
Contributor

This PR fixes a few problems with the benchmark, mentioned in #2913. Since I do not have a 4GB RAM machine (I run rust on a puny 2GB RAM VM) I can't test binarytrees with N=20. If it works we can close #2913.

Fixes: 1) binarytrees prints "long lived trees of depth" instead of "long lived tree of depth"
Fixes: 2) chameneosredux -- the whitespace printed by show_number should be the same as printed by show_color
Already fixed: 3) spectralnorm prints an extra \n
Fixes: 4) threadring prints an extra \n
Fixes: 5) fasta -- strangely, output stops half-way through line 169 -- with another 8166 lines still to do.
Could not test: 6) the latest binarytrees fails with input N=20 on a 4GB machine.

r?

@Thiez

Thiez commented Jun 16, 2013

Copy link
Copy Markdown
Contributor Author

I should probably mention this PR changes the API of Arena, it now takes &self instead of &mut self. Bad, but I couldn't think of a cleaner way to fix it.

@Thiez

Thiez commented Jun 16, 2013

Copy link
Copy Markdown
Contributor Author

@cmr has tried the binarytrees benchmark on a machine with sufficient RAM and the correct output was produced.

@brson

brson commented Jun 16, 2013

Copy link
Copy Markdown
Contributor

Thanks a lot for this.

I don't think the problem with threadring is fixed (#5985).

@Thiez

Thiez commented Jun 17, 2013

Copy link
Copy Markdown
Contributor Author

I see you are correct, I have looked at that issue (#5985) and noticed a reference to your (closed) pull request (#6581) and incorrectly assumed it was closed because it had landed, while in reality it was closed because the incoming branch was deleted.

bors added a commit that referenced this pull request Jun 24, 2013
This PR fixes a few problems with the benchmark, mentioned in #2913. Since I do not have a 4GB RAM machine (I run rust on a puny 2GB RAM VM) I can't test binarytrees with N=20. If it works we can close #2913.

Fixes: 1) binarytrees prints "long lived trees of depth" instead of "long lived tree of depth"
Fixes: 2) chameneosredux -- the whitespace printed by show_number should be the same as printed by show_color
Already fixed: 3) spectralnorm prints an extra 

Fixes: 4) threadring prints an extra 

Fixes: 5) fasta -- strangely, output stops half-way through line 169 -- with another 8166 lines still to do.
Could not test: 6) the latest binarytrees fails with input N=20 on a 4GB machine.

r?
@bors bors closed this Jun 24, 2013
@Thiez Thiez mentioned this pull request Jun 24, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request May 20, 2021
…constructor-pedantic, r=camsteffen

Move `inconsistent_struct_constructor` to pedantic

The whole point of named fields is that we don't have to worry about
order. The names, not the position, communicate the information, so
worrying about consistency for consistency's sake is pedantic to a *T*.

Cf. rust-lang#7192.

changelog: [`inconsistent_struct_constructor`] is moved to pedantic.

wchargin-branch: inconsistent-struct-constructor-pedantic
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
7193: Show progress for fetching workspace (cargo-metadata and loadOutDirsFromCheck) r=matklad a=edwin0cheng


![Peek 2021-01-07 21-57](https://user-images.githubusercontent.com/11014119/103902132-0db4c780-5135-11eb-94d3-32429445be87.gif)


Fixes rust-lang#7188 
Fixes rust-lang#3300

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
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.

Fix shootout benchmarks

4 participants