Opened 9 years ago

Closed 9 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


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 9 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 follow-up: Changed 9 years ago by kimuraw (kimura wataru)

  • Status changed from new to 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 in reply to: ↑ 2 Changed 9 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 9 years ago by kimuraw (kimura wataru)

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:5 Changed 9 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.