New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #17092 (closed defect: fixed)

Opened 8 months ago

Last modified 2 months ago

Ruby 1.8.7 is 3x slower than its predecessor

Reported by: arcadiorubiogarcia@… Owned by: kimuraw@…
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

  Changed 8 months 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.

follow-up: ↓ 3   Changed 8 months ago by kimuraw@…

  • 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.

in reply to: ↑ 2   Changed 8 months 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!

  Changed 8 months ago by kimuraw@…

  • status changed from assigned to closed
  • resolution set to fixed

  Changed 2 months ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.