Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0
Assignee: Unassigned
Components: Ruby 1.8.7, Ruby 1.9.3
Created: 26/Oct/12 9:57 AM
Description:

With JRUBY 1.7.0 (ruby 1.9.3 or 1.8.7) the Benchmark.measure call returns values for @total and @utime that are different from the values obtained using JRUBY 1.6.7.

JRUBY 1.7.0:

require 'benchmark'
bm=Benchmark.measure { sleep(5) }
=> #<Benchmark::Tms:0x10731f3f @stime=0.0, @real=5.0019998550415, @total=0.00999999999999979, @cutime=0.0, @utime=0.00999999999999979, @label="", @cstime=0.0>

JRUBY 1.6.7:

require 'benchmark'
bm=Benchmark.measure { sleep(5) }
=> #<Benchmark::Tms:0x3ee545fa @stime=0.0, @real=5.002000093460083, @total=5.002000093460083, @cutime=0.0, @utime=5.002000093460083, @label="", @cstime=0.0>
Environment: Linux Ubuntu 11.04 jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) 64-Bit Server VM 1.6.0_27-b07 [linux-amd64]
Project: JRuby
Priority: Minor Minor
Reporter: Giovanni Cristelli
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to