[rspec-users] Cucumber - Performance

Matt Wynne matt at mattwynne.net
Wed Jan 7 06:55:27 EST 2009

On 7 Jan 2009, at 11:46, aslak hellesoy wrote:

> On Wed, Jan 7, 2009 at 10:31 AM, Colin Jack <colinjack at hotmail.com>  
> wrote:
> Hi,
> Small question on performance. I've just run the CS example provided  
> with Cucumber and it took about 45-50 seconds before the first  
> output appeared in the console, but once this first output had  
> appeared the tests completed quickly.
> I'm wondering whether this is the expected performance or whether  
> the plan is to optimize it at some time in the future?
> The reason it's so slow is that IronRuby is slow. That's where the  
> optimisation will have to happen. It runs "fast" on JRuby, MRI and  

My guess is that it's the initial start-up that's slow. This is a  
great reason to use something like autotest, which will keep the  
process loaded up. I wonder how that hell you could make that work  
with C# code though! Watch the DLLs?!

Matt Wynne

More information about the rspec-users mailing list