jayroh/thredded — pull request #79 by calebthompson (2012-11-30 15:03:46+00:00)
Title: Nominal speedup for post spec

Don't create every related model every time: only when needed.

Before:

real 0m13.074s user 0m11.913s sys 0m0.863s

real 0m13.030s user 0m11.882s sys 0m0.851s

real 0m13.069s user 0m11.896s sys 0m0.876s

After:

real 0m13.012s user 0m11.855s sys 0m0.902s

real 0m12.784s user 0m11.669s sys 0m0.864s

real 0m12.853s user 0m11.737s sys 0m0.856s