Opened 16 years ago

Closed 16 years ago

Last modified 15 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


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:

Change History (5)

comment:1 Changed 16 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 16 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 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: assignedclosed

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.