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

WIP: Less globals #46193

Closed
wants to merge 26 commits into from
Closed

WIP: Less globals #46193

wants to merge 26 commits into from

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Nov 22, 2017

This is based on #45912.

r? @arielb1

@kennytm kennytm added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 22, 2017
@Zoxc Zoxc force-pushed the less-globals branch 3 times, most recently from 4652777 to f922075 Compare November 23, 2017 20:15
@bors
Copy link
Contributor

bors commented Nov 24, 2017

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

@Zoxc
Copy link
Contributor Author

Zoxc commented Nov 25, 2017

@bors try

@bors
Copy link
Contributor

bors commented Nov 25, 2017

⌛ Trying commit 057c727 with merge 2581e0d...

bors added a commit that referenced this pull request Nov 25, 2017
WIP: Less globals

This is based on #45912.

r? @arielb1
@bors
Copy link
Contributor

bors commented Nov 25, 2017

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

@Zoxc
Copy link
Contributor Author

Zoxc commented Nov 27, 2017

@Mark-Simulacrum Can I get a perf run?

@Mark-Simulacrum
Copy link
Member

Not currently. Perf is down while we transition to the new collector/frontend, but that should be a relatively temporary event. Once it's back up and running, sure -- it'll be a day or so, and then please ping me again if I haven't posted anything.

@kennytm
Copy link
Member

kennytm commented Nov 29, 2017

Ping @Mark-Simulacrum

@Mark-Simulacrum
Copy link
Member

Please rebase onto master to pick up #46354. Once that's in, I think this should work.

@Zoxc
Copy link
Contributor Author

Zoxc commented Nov 29, 2017

@bors try

bors added a commit that referenced this pull request Nov 29, 2017
WIP: Less globals

This is based on #45912.

r? @arielb1
@bors
Copy link
Contributor

bors commented Nov 29, 2017

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

@Mark-Simulacrum
Copy link
Member

@Zoxc Zoxc force-pushed the less-globals branch 2 times, most recently from 32827d4 to bc95965 Compare December 1, 2017 22:49
@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 2, 2017

@bors try

@bors
Copy link
Contributor

bors commented Dec 2, 2017

⌛ Trying commit bc95965 with merge c4c91a0...

bors added a commit that referenced this pull request Dec 2, 2017
WIP: Less globals

This is based on #45912.

r? @arielb1
@bors
Copy link
Contributor

bors commented Dec 2, 2017

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

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 2, 2017

@Mark-Simulacrum Let's run perf again, now with thread-safe types :)

@Mark-Simulacrum
Copy link
Member

Perf queued.

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 2, 2017

Here are the result:
http://perf.rust-lang.org/compare.html?start=bb42071f63830a984c4983f6fbdf982916857f72&end=c4c91a005d72225d7d849276369e39b5b66a4c91&stat=wall-time
The 30% overhead which I got last time seems to have disappeared.

@aidanhs
Copy link
Member

aidanhs commented Dec 7, 2017

@Zoxc just checking in for triage and wondering where this is up to? I can see there are merge conflicts, but once those are resolved is this ready for review?

bors added a commit that referenced this pull request Dec 10, 2017
WIP: Parallelize passes using rayon

This builds on #46193 and #45912 and actually makes code run in parallel. This is not quite ready yet since `rustc` is not yet completely thread safe. It also uses a rough fork of rayon which uses fibers/stackful coroutines.
@bors
Copy link
Contributor

bors commented Dec 12, 2017

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

@Zoxc
Copy link
Contributor Author

Zoxc commented Dec 17, 2017

This is being split into smaller PRs.

@Zoxc Zoxc closed this Dec 17, 2017
bors added a commit that referenced this pull request Feb 9, 2018
WIP: Parallelize passes using rayon

This builds on #46193 and #45912 and actually makes code run in parallel. This is not quite ready yet since `rustc` is not yet completely thread safe. It also uses a rough fork of rayon which uses fibers/stackful coroutines.
bors added a commit that referenced this pull request Apr 19, 2018
WIP: Parallelize passes using rayon

This builds on #46193 and #45912 and actually makes code run in parallel. This is not quite ready yet since `rustc` is not yet completely thread safe. It also uses a rough fork of rayon which uses fibers/stackful coroutines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants