[rspec-users] Cucumber - Performance

Scott Taylor scott at railsnewbie.com
Wed Jan 7 10:19:37 EST 2009

Matt Wynne wrote:
> 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 YARV.
> 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?!
Autotest doesn't keep the process running - it invokes a new process by 
shelling out (Kernel#`)


More information about the rspec-users mailing list