[Ironruby-core] Strange issue with Process.times
jdeville at microsoft.com
Fri Jun 13 23:40:48 EDT 2008
Pretty sure it will fail, but can you run "rake mspec nil - run" and see if you hang in the same point?
From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] On Behalf Of Michael Letterle [michael.letterle at gmail.com]
Sent: Friday, June 13, 2008 8:37 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Strange issue with Process.times
That be the loop. You should be able to simulate the Benchmark measure method just fine manually through ir, just cant require 'benchmark' :/
On Fri, Jun 13, 2008 at 11:22 PM, Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> wrote:
That appears to be related to the but that was hitting us in compiling. Is the particular loop the for( ; ; ) loop?
For the shootout, I'm involved in the discussions and I will be running their script against our stuff to give feedback, so I'll keep an eye on that.
From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Michael Letterle [michael.letterle at gmail.com<mailto:michael.letterle at gmail.com>]
Sent: Friday, June 13, 2008 8:11 PM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: [Ironruby-core] Strange issue with Process.times
Check this out....
=> #<struct Struct::Tms utime=1.46875, stime=0.15625, cutime=0, cstime=0>
>>> require 'test'
As soon as you require a file (test.rb above was blank) you get stuck in an infinite loop on UpdateAndExecute. Specifically the last loop (// Miss on Level 0, 1 and 2 caches. Create new rule), from what I can tell mm.Match is false you keep looping until its true. This keeps Benchmark from running, so it'll be tough for that shootout to happen at the end of the month until fixed.
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
More information about the Ironruby-core