[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: ruby incredibly slow (update 2)
From:       Jay Levitt <jay+news () jay ! fm>
Date:       2007-11-18 20:20:02
Message-ID: 1glvbimcakjdl$.dlg () jay ! fm
[Download RAW message or body]

On Sun, 18 Nov 2007 12:06:19 -0500, Ron Jeffries wrote:

>>
>>http://download.sysinternals.com/Files/Filemon.zip
>>
>>Press CTRL-L, make sure all three checkboxes are checked, and Include:
>>ruby.exe.
>>
>>Assuming it's a disk I/O thing, you'll find it!
> 
> It may come to that but not clear it is file I/O. Yet. Would love to
> just get ruby runner to print out the test names as they go by ...

Yep.  RSpec has a --format progress (and a per-spec timeout as well which
would be useful here), but I don't think Test::Unit has that.

FWIW, in my experience, Ruby speed issues on Windows are pretty much always
file I/O problems.  Even when it's working, and anti-virus is disabled,
it's much slower than Mac or Linux, but when it's not working, hoo boy.

You could probably rig up something with set_trace_func, but (a) that
requires some more coding and (b) set_trace_func itself is pretty slow.

-- 
Jay Levitt                |
Boston, MA                | My character doesn't like it when they
Faster: jay at jay dot fm | cry or shout or hit.
http://www.jay.fm         | - Kristoffer 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic