On 5/15/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > Has anyone noticed a fairly recent order of magnitude slowdown in how > long it takes to run the django test suite? I used to get times of > about 14 seconds around March (at PyCon) but it's taking ~150 seconds > now. It's quite possibly something that's changed in my setup, but I > figured I'd see if anyone else has noticed the same thing. It doesn't > seem like there have been *that* many tests added to django in the > last couple of months.
Yes Virginia, there has been a test slowdown :-) It happened around mid January, as a result of the tests that use fixtures. Every time a fixture test is executed, it flushes the contents of the database. Flushing is a slow operation. Unfortunately, it's also a necessary operation for those tests. I agree that the slowdown is less that ideal. I have a chat with Malcolm recently about possible ways to speed things up, and we didn't come up with any ideas that would yield any sort of significant speedup. Any suggestions on how to improve the situation are welcome. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
