diff options
| author | bors <bors@rust-lang.org> | 2013-08-08 16:32:02 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-08 16:32:02 -0700 |
| commit | 936f70bd878327d867b6f8f82061d738355a47c9 (patch) | |
| tree | 99590d1ce91866f282407ecf5c3ace367678b20e /src/rt/rust_stack.cpp | |
| parent | 8f65dbfcfa11aa521aa59881f6ab064bbd07184e (diff) | |
| parent | af2e03998d4d06f2781ca72ec005f6913148f8bb (diff) | |
| download | rust-936f70bd878327d867b6f8f82061d738355a47c9.tar.gz rust-936f70bd878327d867b6f8f82061d738355a47c9.zip | |
auto merge of #8356 : toddaaro/rust/ws, r=brson
This pull request converts the scheduler from a naive shared queue scheduler to a naive workstealing scheduler. The deque is still a queue inside a lock, but there is still a substantial performance gain. Fiddling with the messaging benchmark I got a ~10x speedup and observed massively reduced memory usage. There are still *many* locations for optimization, but based on my experience so far it is a clear performance win as it is now.
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
