Santi from SauceLabs gave a talk about this recently at a Meetup event. I guess the easiest way (though not necessarily ideal) would be to load up the database with test data and revert later as needed after testing. But there's other approaches. So was wondering what approach do you take, if you optimize in this way at all.

FYI, this post has links to Santi's talk plus my thoughts