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

incr.comp.: Speed up span hashing by caching expansion context hashes. #46562

Merged
merged 2 commits into from
Dec 14, 2017

Conversation

michaelwoerister
Copy link
Member

@michaelwoerister michaelwoerister commented Dec 7, 2017

This PR fixes the performance regressions from #46338.

r? @nikomatsakis

@rust-highfive
Copy link
Collaborator

r? @eddyb

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

@michaelwoerister
Copy link
Member Author

@bors try

@bors
Copy link
Contributor

bors commented Dec 7, 2017

⌛ Trying commit 1f8678acce1dfab84982dec5544460096a77a035 with merge b867f1811e7bb767d248b0ae46b8fabc16e83bed...

@kennytm kennytm added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 7, 2017
@bors
Copy link
Contributor

bors commented Dec 7, 2017

☀️ Test successful - status-travis
State: approved= try=True

@michaelwoerister
Copy link
Member Author

@Mark-Simulacrum, could you do a perf run please?

@Mark-Simulacrum
Copy link
Member

Perf run started. Sorry for the delay.

@michaelwoerister
Copy link
Member Author

Hey @Mark-Simulacrum, did that perf run ever finish?

@Mark-Simulacrum
Copy link
Member

Mark-Simulacrum commented Dec 12, 2017

Yes. I generally forget to check back in; they auto-queue and finish within 4 hours at most, and the URLs are fairly easy to generate. Eventually this will be automated...

URL: http://perf.rust-lang.org/compare.html?start=ee25791df5f025378e9ddebef661e25cb75d9172&end=b867f1811e7bb767d248b0ae46b8fabc16e83bed&stat=instructions%3Au

@michaelwoerister
Copy link
Member Author

Thanks @Mark-Simulacrum! I see now how I can compose these URLs myself.

@michaelwoerister
Copy link
Member Author

This is now ready for review, @nikomatsakis.

@bors
Copy link
Contributor

bors commented Dec 13, 2017

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

@michaelwoerister
Copy link
Member Author

Rebased.
r? @eddyb (@nikomatsakis is a bit swamped right now)

@eddyb
Copy link
Member

eddyb commented Dec 14, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Dec 14, 2017

📌 Commit 0b4c2cc has been approved by eddyb

@bors
Copy link
Contributor

bors commented Dec 14, 2017

⌛ Testing commit 0b4c2cc with merge 3fc7f85...

bors added a commit that referenced this pull request Dec 14, 2017
incr.comp.: Speed up span hashing by caching expansion context hashes.

This PR fixes the performance regressions from #46338.

r? @nikomatsakis
@bors
Copy link
Contributor

bors commented Dec 14, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 3fc7f85 to master...

@bors bors merged commit 0b4c2cc into rust-lang:master Dec 14, 2017
bors added a commit that referenced this pull request Dec 16, 2017
incr.comp.: Revert hashing optimization that caused regression.

This PR reverts part of #46562 which caused [a regression in the crossbeam rust-icci](https://travis-ci.org/rust-icci/crossbeam/builds/316574774) test. I don't know what the problem is exactly yet. Fortunately, the problematic part is also the less important one, so reverting should not have much impact on performance.

r? @eddyb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants