Skip to content

Parallel query tweaks #56983

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

Merged
merged 4 commits into from
Dec 25, 2018
Merged

Parallel query tweaks #56983

merged 4 commits into from
Dec 25, 2018

Conversation

ljedrz
Copy link
Contributor

@ljedrz ljedrz commented Dec 19, 2018

  • faster stack reversal in remove_cycle
  • insert visited queries more eagerly
  • simplify stack trimming in cycle_check
  • minor refactoring in 2 spots

@rust-highfive
Copy link
Contributor

r? @michaelwoerister

(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 Dec 19, 2018
@michaelwoerister
Copy link
Member

r? @Zoxc (who knows this code best)

@Zoxc
Copy link
Contributor

Zoxc commented Dec 21, 2018

@ljedrz Did this pass tests locally with [rust] experimental-parallel-queries = true?

@ljedrz
Copy link
Contributor Author

ljedrz commented Dec 21, 2018

@Zoxc sure did; when I saw their recent performance wins I decided to keep it that way. We can always do a try run for added safety.

@Zoxc
Copy link
Contributor

Zoxc commented Dec 25, 2018

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 25, 2018

📌 Commit dfe187d has been approved by Zoxc

@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 Dec 25, 2018
@bors
Copy link
Collaborator

bors commented Dec 25, 2018

⌛ Testing commit dfe187d with merge 27c4335...

bors added a commit that referenced this pull request Dec 25, 2018
Parallel query tweaks

- faster stack reversal in `remove_cycle`
- insert visited queries more eagerly
- simplify stack trimming in `cycle_check`
- minor refactoring in 2 spots
@bors
Copy link
Collaborator

bors commented Dec 25, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: Zoxc
Pushing 27c4335 to master...

@bors bors merged commit dfe187d into rust-lang:master Dec 25, 2018
@ljedrz ljedrz deleted the parallel_query_tweaks branch December 25, 2018 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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.

5 participants