Re: [rspec-users] Rspec Rails high overhead

2009-01-06 Thread Matt Wynne
On 6 Jan 2009, at 13:02, aslak hellesoy wrote: On Tue, Jan 6, 2009 at 4:29 AM, Reza Primardiansyah > wrote: Aslak, The best time I get is 6.3 seconds. I'm using "time script/server" command and hitting Ctrl-C immediately after I see "** Use CTRL-C to stop." Ok, so you have 5 seconds of

Re: [rspec-users] Rspec Rails high overhead

2009-01-06 Thread aslak hellesoy
On Tue, Jan 6, 2009 at 4:29 AM, Reza Primardiansyah < reza.primardians...@gmail.com> wrote: > Aslak, > The best time I get is 6.3 seconds. I'm using "time script/server" command > and hitting Ctrl-C immediately after I see "** Use CTRL-C to stop." > Ok, so you have 5 seconds of additional overhea

Re: [rspec-users] Rspec Rails high overhead

2009-01-05 Thread Reza Primardiansyah
Aslak, The best time I get is 6.3 seconds. I'm using "time script/server" command and hitting Ctrl-C immediately after I see "** Use CTRL-C to stop." On Sun, Jan 4, 2009 at 9:43 PM, aslak hellesoy wrote: > > > On Sun, Jan 4, 2009 at 3:58 AM, Reza Primardiansyah < > reza.primardians...@gmail.com>

Re: [rspec-users] Rspec Rails high overhead

2009-01-04 Thread Mark Wilden
On Sun, Jan 4, 2009 at 1:03 PM, David Chelimsky wrote: > > I use spec rather than script/spec to run specs. script/spec runs my > specs > > twice. > > That's fixed, so I'm guessing you've got a mixture of old and new > generated files. > I did re-gen with .16, but still got that result. > The p

Re: [rspec-users] Rspec Rails high overhead

2009-01-04 Thread David Chelimsky
On Sun, Jan 4, 2009 at 2:52 PM, Mark Wilden wrote: > On Sun, Jan 4, 2009 at 6:57 AM, Nick Hoffman wrote: >> >> Mark, would you mind explicitly telling us/me how you get the ``spec'' >> command to run within DRb, please? > > I use spec rather than script/spec to run specs. script/spec runs my spec

Re: [rspec-users] Rspec Rails high overhead

2009-01-04 Thread Mark Wilden
On Sun, Jan 4, 2009 at 6:57 AM, Nick Hoffman wrote: > > Mark, would you mind explicitly telling us/me how you get the ``spec'' > command to run within DRb, please? > I use spec rather than script/spec to run specs. script/spec runs my specs twice. I also use rake spec:server:start rather than sc

Re: [rspec-users] Rspec Rails high overhead

2009-01-04 Thread Nick Hoffman
On 2009-01-03, at 23:17, Mark Wilden wrote: On Sat, Jan 3, 2009 at 6:58 PM, Reza Primardiansyah > wrote: I found out that running RSpec on Rails takes too much overhead. It takes more than 16s per run although the specs only take less than 6s, like seen below. The killer is the time it tak

Re: [rspec-users] Rspec Rails high overhead

2009-01-04 Thread aslak hellesoy
On Sun, Jan 4, 2009 at 3:58 AM, Reza Primardiansyah < reza.primardians...@gmail.com> wrote: > Greetings, > I found out that running RSpec on Rails takes too much overhead. It takes > more than 16s per run although the specs only take less than 6s, like seen > below. That means almost 11s overhead.

Re: [rspec-users] Rspec Rails high overhead

2009-01-03 Thread Mark Wilden
On Sat, Jan 3, 2009 at 6:58 PM, Reza Primardiansyah < reza.primardians...@gmail.com> wrote: > I found out that running RSpec on Rails takes too much overhead. It takes > more than 16s per run although the specs only take less than 6s, like seen > below. The killer is the time it takes to load e