I think the culprit in my case is f.association. That probably
accounts for why mine is 2-3x longer than yours. I am on an intel
quadcore machine... there's no reason for this.

But even having said that, I still submit that 4.591107 seconds to
make 100 objects + dependencies is ridiculously slow - even for Ruby.
Factory_girl is really just a poorly performing library.

I think there's one other library worth considering... so I will see
if that fairs any better. I think Factory_girl (or something like it)
is worth using when you need to test validations that also depend on
associations. I think Factory girl is pretty good for making mini-
databases to test your queries/scopes.

But I think Factory_girl is clearly NOT good for testing other things
besides these. For controllers, it is too expensive to use.

I will investigate others.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to