Djangos: This is the "slow test" question, again. I have time tested with 1.0.3 and 1.1.1, and a batch of only like 20 tests takes a minute on both versions. Yes to sqlite3, in :memory:. The nature of the question is I'm an old-skool Pythonist but I wouldn't know where to start diagnosing this issue.
Under 1.1.1, when I add this print... class SQLiteCursorWrapper(Database.Cursor): def execute(self, query, params=()): query = self.convert_query(query, len(params)) print query return Database.Cursor.execute(self, query, params) ...I see quadrillions of INSERT statements, and never any BEGIN TRANSACTION statements. The base settings.py contains DATABASE_SUPPORTS_TRANSACTIONS = True I'm aware that :memory: is fast, and sqlite3 is faster than other situations. But 1 minute for 20 tests is horrific (and reminds me of you-know-who), so I'm open to any suggestions how to profile the system. The code is INSERTing once per test case, not transacting. If the basic Django apps were extruded by 1.0.x, do they need an upgrade? -- Phlip http://c2.com/cgi/wiki?ZeekLand --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---