[rspec-users] Mocks? Really?

Scott Taylor mailing_lists at railsnewbie.com
Mon Dec 17 16:29:50 EST 2007



> True. I also did some custom fixture optimizations. For some reason,
> instantiating a Fixture object instance is very slow. I've rigged it
> so there is only one instance of a Fixture object for each table for
> the entire process.
> Of course this would break fixture scenarios.
>
> I've had around 20-30% increases using in memory sqllite, about 1 year
> ago. I havn't tried it since.

Interesting.  I'm not using Fixtures, so I guess this isn't an option  
for me. (I need to figure out a way to speed up FixtureReplacement).

What was so slow in the fixture instantiation?

Scott




More information about the rspec-users mailing list