Re: Tests got ~10x slower after upgrading to Django 1.3

2011-06-24 Thread Cesar Canassa
For the record, here is the ticket: https://code.djangoproject.com/ticket/16329 Best regards, Cesar Canassa 2011/6/24 Russell Keith-Magee > On Fri, Jun 24, 2011 at 2:08 PM, Cesar Canassa > wrote: > > I think I solved this! The reason why the test cases were taking so long > was > > because Dj

Re: Tests got ~10x slower after upgrading to Django 1.3

2011-06-23 Thread Russell Keith-Magee
On Fri, Jun 24, 2011 at 2:08 PM, Cesar Canassa wrote: > I think I solved this! The reason why the test cases were taking so long was > because Django was not enabling the transaction support, so the tests were > falling back to the non-transaction TestCase > My project has two test databases but t

Re: Tests got ~10x slower after upgrading to Django 1.3

2011-06-23 Thread Cesar Canassa
I think I solved this! The reason why the test cases were taking so long was because Django was not enabling the transaction support, so the tests were falling back to the non-transaction TestCase My project has two test databases but the 'log' is not used anymore so I didn't care if it was create

Re: Tests got ~10x slower after upgrading to Django 1.3

2011-06-23 Thread Russell Keith-Magee
On Fri, Jun 24, 2011 at 11:54 AM, Cesar Canassa wrote: > Hi Russ! > I did some more testing, I found out that each test is taking an extra ~1s > to run, no matter the test size. See this TestCase for example, it > takes 4.067s to run. > from django.test import TestCase > class JobTest(TestCase): >

Re: Tests got ~10x slower after upgrading to Django 1.3

2011-06-23 Thread Cesar Canassa
Hi Russ! I did some more testing, I found out that each test is taking an extra ~1s to run, no matter the test size. See this TestCase for example, it takes 4.067s to run. from django.test import TestCase class JobTest(TestCase): def test_1(self): pass def test_2(self):

Re: Tests got ~10x slower after upgrading to Django 1.3

2011-06-21 Thread Russell Keith-Magee
On Wed, Jun 22, 2011 at 1:31 AM, Cesar Canassa wrote: > I am working in a large Django project that is currently using the 1.2.3 > version. The project test suite has around 500 test which take ~50 seconds > to run in my machine. > I recently did a upgrade to the Django 1.3 version, the upgrade wa

Tests got ~10x slower after upgrading to Django 1.3

2011-06-21 Thread Cesar Canassa
I am working in a large Django project that is currently using the 1.2.3 version. The project test suite has around 500 test which take ~50 seconds to run in my machine. I recently did a upgrade to the Django 1.3 version, the upgrade was smooth so far, most problems came from the SQL Server driver