#17092 closed defect (fixed)
Ruby 1.8.7 is 3x slower than its predecessor
Reported by: | arcadiorubiogarcia@… | Owned by: | kimuraw (kimura wataru) |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | ruby | Cc: | |
Port: | ruby |
Description
Ruby 1.8.7-p72_1 is 3x slower than the 1.8.6 installation that comes with Leopard. It doesn't matter whether it's installed with or without the thread_hooks.
An explanation of the possible cause as well as a solution is discussed in: http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/2b326089f18f2b29
Change History (5)
comment:1 Changed 16 years ago by blb@…
Owner: | changed from macports-tickets@… to kimuraw@… |
---|
comment:2 follow-up: 3 Changed 16 years ago by kimuraw (kimura wataru)
Status: | new → assigned |
---|
I fixed this problem at the latest version 1.8.7-p72_2 with a patch to ignore ucontext on Leopard. This patch was included in ruby's Portfile before 1.8.7.
Please try it.
comment:3 Changed 16 years ago by arcadiorubiogarcia@…
I've just tried p72_2 and works again at the expected performance.
Thank you very much for the superfast fix to the problem: slightly more than 1 day!
comment:4 Changed 16 years ago by kimuraw (kimura wataru)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Note there are also some tickets talking about moving the ruby port back to 1.8.6.