[Ironruby-core] Strange issue with Process.times

Jim Deville jdeville at microsoft.com
Fri Jun 13 23:56:39 EDT 2008


k, I'll give it a try later. Do you have any changes? or is this a clean build of 114?

JD

________________________________________
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:54 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Strange issue with Process.times

that's.. uh easier said then done.  My main ruby environments are cygwin and linux, neither of which seem very friendly at the moment. :)

On Fri, Jun 13, 2008 at 11:40 PM, Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> wrote:
Pretty sure it will fail, but can you run "rake mspec nil - run" and see if you hang in the same point?

JD
________________________________________
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:37 PM
To: ironruby-core at rubyforge.org<mailto: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><mailto: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.

JD
________________________________________
From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org><mailto: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><mailto: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><mailto: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><mailto:ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>>
Subject: [Ironruby-core] Strange issue with Process.times

Check this out....


>>> Process.times
=> #<struct Struct::Tms utime=1.46875, stime=0.15625, cutime=0, cstime=0>
>>> require 'test'
=> true
>>> Process.times

[hangs]


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.

Any ideas?

--
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com

_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org><mailto:Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>>
http://rubyforge.org/mailman/listinfo/ironruby-core



--
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com

_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



--
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com



More information about the Ironruby-core mailing list