With 2.0.0-p247 I get: 11.540000 0.010000 11.550000 ( 11.561841) So apparently whatever the issue was got fixed either in rvm or in Clang or OSX or in the newer patch level of Ruby.jcole1989 (James Coleman)
The only difference in my CFLAGS is that mine also has "-fno-common". However, I ran: ruby -rbenchmark -ve 'puts Benchmark.measure { 50000000.times { Object.new } }' and was unable to reproduce. However, I can reproduce every single...jcole1989 (James Coleman)
naruse (Yui NARUSE) wrote: > It is not apple gcc 4.2, which is the one usually used on linux, but llvm-gcc. > ... I had "apple-gcc42" installed with brew, but I didn't realize that its executable is suffixed with -4.2. I was able to co...jcole1989 (James Coleman)
I have the latest command line tools and Xcode 4.6 installed. The gcc error is known, see: https://bugs.ruby-lang.org/issues/7956 -- the solution was that rvm switched to Clang as the default CC for now. But all of that still leaves t...jcole1989 (James Coleman)
I've been comparing Ruby 2.0.0 with 1.9.3-head, both compiled with the same basic set of CFLAGs with Clang on Mac OS 10.8 (Mountain Lion). A decent sized rails app was showing performance degradations, so I looked into the most basic of ...jcole1989 (James Coleman)