about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-24 22:13:45 +0000
committerbors <bors@rust-lang.org>2015-08-24 22:13:45 +0000
commitbc3573470f009fa078fe063700b8df2854e8499e (patch)
tree78d30092c3dc81e1ec55a0130f49281ed6a89d57 /src/libstd/sys/unix/stack_overflow.rs
parent4c996499a1bcf747b12f8290eeff3024e59da529 (diff)
parent06563fe0b7d64b7552d65a7ab00aa360820f05c5 (diff)
downloadrust-bc3573470f009fa078fe063700b8df2854e8499e.tar.gz
rust-bc3573470f009fa078fe063700b8df2854e8499e.zip
Auto merge of #27943 - arielb1:fast-region, r=nikomatsakis
This increases regionck performance greatly - type-checking on
librustc decreased from 9.1s to 8.1s. Because of Amdahl's law,
total performance is improved only by about 1.5% (LLVM wizards,
this is your opportunity to shine!).

before:
576.91user 4.26system 7:42.36elapsed 125%CPU (0avgtext+0avgdata 1142192maxresident)k
after:
566.50user 4.84system 7:36.84elapsed 125%CPU (0avgtext+0avgdata 1124304maxresident)k

I am somewhat worried really need to find out why we have this Red Queen's
Race going on here. Originally I suspected it may be a problem from RFC1214's
warnings, but it seems to be an effect from other changes.

However, the increase seems to be mostly in LLVM's time, so I guess
it's the LLVM wizards' problem.

r? @nikomatsakis 
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions