Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#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 10 years ago by blb@…

Owner: changed from macports-tickets@… to kimuraw@…

Note there are also some tickets talking about moving the ruby port back to 1.8.6.

comment:2 Changed 10 years ago by kimuraw (kimura wataru)

Status: newassigned

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 in reply to:  2 Changed 10 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 10 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: assignedclosed

comment:5 Changed 9 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.