-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std: Fix perf of local allocations in newsched
Mostly optimizing TLS accesses to bring local heap allocation performance closer to that of oldsched. It's not completely at parity but removing the branches involved in supporting oldsched and optimizing pthread_get/setspecific to instead use our dedicated TCB slot will probably make up for it.
- Loading branch information
Showing
9 changed files
with
92 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d392556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from pcwalton, brson
at brson@d392556
d392556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging brson/rust/newrt-local-heap-perf = d392556 into auto
d392556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brson/rust/newrt-local-heap-perf = d392556 merged ok, testing candidate = 1de201c
d392556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/850
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/853
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt/builds/854
success: http://buildbot.rust-lang.org/builders/auto-mac-all-opt/builds/850
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/868
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt/builds/870
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/868
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt/builds/872
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt-vg/builds/877
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/41
success: http://buildbot.rust-lang.org/builders/auto-linux-all-opt/builds/870
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/853
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt/builds/867
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/640
d392556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 1de201c