Skip to content

Extract collections benchmarks to libcollections/bench - #39561

Merged
bors merged 1 commit into
rust-lang:masterfrom
phungleson:libcollectionsbench
Feb 8, 2017
Merged

Extract collections benchmarks to libcollections/bench#39561
bors merged 1 commit into
rust-lang:masterfrom
phungleson:libcollectionsbench

Conversation

@phungleson

Copy link
Copy Markdown
Contributor

@rust-highfive

Copy link
Copy Markdown
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@ghost

ghost commented Feb 5, 2017

Copy link
Copy Markdown

Thanks for the PR!

Just two concerns with this:

  1. Naming the subdirectory "bench" instead of "benches" is inconsistent with Cargo's naming conventions - Cargo uses "tests" and "benches" rather than "test" and "bench".
  2. Why do libcollectionstest and libcoretest live in their own directories rather than libcollections/test and libcore/test? Isn't that another consistency: having tests in their own directories but benches in subdirectories?

@alexcrichton Thoughts?

@bors

bors commented Feb 5, 2017

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #39567) made this pull request unmergeable. Please resolve the merge conflicts.

@alexcrichton

Copy link
Copy Markdown
Member

@stjepang yeah using benches and tests sounds good to me! The libcoretest/libcollectionstest are historical artifacts at this point (thank the makefiles), they can be moved whenever though now at this point!

@phungleson

Copy link
Copy Markdown
ContributorAuthor

@alexcrichton@stjepang I have extracted to libcollections/benches and libcore/benches.

libcollections/tests and libcore/tests perhaps can be a PR after this.

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

Thanks!

@bors

bors commented Feb 6, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 7c8c45e has been approved by alexcrichton

@frewsxcvfrewsxcv mentioned this pull request Feb 7, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 7, 2017
…lexcrichton
Extract collections benchmarks to libcollections/bench
Good suggestion from @stjepangrust-lang#39484 (comment)
r? @alexcrichton
@frewsxcvfrewsxcv mentioned this pull request Feb 7, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 7, 2017
…lexcrichton
Extract collections benchmarks to libcollections/bench
Good suggestion from @stjepangrust-lang#39484 (comment)
r? @alexcrichton
@frewsxcvfrewsxcv mentioned this pull request Feb 7, 2017
bors added a commit that referenced this pull request Feb 7, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 8, 2017
…lexcrichton
Extract collections benchmarks to libcollections/bench
Good suggestion from @stjepangrust-lang#39484 (comment)
r? @alexcrichton
@frewsxcvfrewsxcv mentioned this pull request Feb 8, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 8, 2017
…lexcrichton
Extract collections benchmarks to libcollections/bench
Good suggestion from @stjepangrust-lang#39484 (comment)
r? @alexcrichton
@frewsxcvfrewsxcv mentioned this pull request Feb 8, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 8, 2017
…lexcrichton
Extract collections benchmarks to libcollections/bench
Good suggestion from @stjepangrust-lang#39484 (comment)
r? @alexcrichton
@frewsxcvfrewsxcv mentioned this pull request Feb 8, 2017
bors added a commit that referenced this pull request Feb 8, 2017
Rollup of 11 pull requests
- Successful merges: #39462, #39512, #39529, #39557, #39561, #39582, #39583, #39597, #39622, #39624, #39630
- Failed merges:
@bors
bors merged commit 7c8c45e into rust-lang:masterFeb 8, 2017
@ghostghost mentioned this pull request Apr 3, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 6, 2017
Move libXtest into libX/tests
This change moves:
1. `libcoretest` into `libcore/tests`
2. `libcollectionstest` into `libcollections/tests`
This is a follow-up to rust-lang#39561.
r? @alexcrichton
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Apr 6, 2017
Move libXtest into libX/tests
This change moves:
1. `libcoretest` into `libcore/tests`
2. `libcollectionstest` into `libcollections/tests`
This is a follow-up to rust-lang#39561.
r? @alexcrichton
Sign up for freeto 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

@phungleson@rust-highfive@bors@alexcrichton