Charles Oliver Nutter:
> This does not match my results. Are you sure both cores are being used?

I am certain.  I tried to head off this question when I said: all
applications are closed save Terminal; top reports 0% CPU usage
beforehand; top reports java at 100% CPU during the 1-thread test;
185% CPU during the 2-thread test; top was not running during the
posted benchmarks.

I should also mention this is my mp3 player co-opted into a Mac dev
machine--a Mac Mini.  Maybe Java balks at the specs.  System Profiler:

  Model Name:  Mac mini
  Model Identifier:  Macmini2,1
  Processor Name:  Intel Core 2 Duo
  Processor Speed:  1.83 GHz
  Number Of Processors:  1
  Total Number Of Cores:  2
  L2 Cache:  2 MB
  Memory:  1 GB
  Bus Speed:  667 MHz

Darwin jl.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 
PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

It would be nice to match jruby versions.  Can you try master 55366a1
or push eaa9e7f to a remote branch?

[quoting the rest in full due to ruby-forum gateway breakage]

> Also does not match my results:
> 
> Rehearsal ---------------------------------------------
> 1 thread    4.795000   0.000000   4.795000 (  4.739000)
> 2 threads   3.072000   0.000000   3.072000 (  3.072000)
> ------------------------------------ total: 7.867000sec
> 
>                 user     system      total        real
> 1 thread    4.081000   0.000000   4.081000 (  4.081000)
> 2 threads   2.966000   0.000000   2.966000 (  2.966000)
> 
> I'd love to hear from others trying this benchmark, since the results
> you've given don't match my results on any of the systems I'm testing. 
> 
-- 
Posted via http://www.ruby-forum.com/.