Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-21 Thread Stan
Hi Ned, Looks like you are right. Is there a way to control the CTracer compilation at build time because I can't remember doing something different ? Maybe a lib is missing. Sorry for the noise here. --- Stan (venv_dj_1_7) $ coverage debug sys -- sys

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-14 Thread Ned Batchelder
On 7/10/14 6:32 AM, Stan wrote: I tried to found a revision in the /stable/1.7.x/ branch showing a regression in the time needed to run the test suite with Coverage. Unfortunately I was unable to find such commit because with checkouts from the 12 of june and beyond, my test starts to break. C

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-10 Thread Stan
I tried to found a revision in the *stable/1.7.x* branch showing a regression in the time needed to run the test suite with Coverage. Unfortunately I was unable to find such commit because with checkouts from the 12 of june and beyond, my test starts to break. Conclusions: at this point, there

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
On Wednesday, July 9, 2014 7:38:45 PM UTC+2, Andrew Godwin wrote: > > Hi all, > > It looks like the large initial migration might be the issue with MySQL - > we've had to change the way that Django makes tables a little bit, as the > old method didn't support doing anything out-of-sequence or l

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Andrew Godwin
Hi all, It looks like the large initial migration might be the issue with MySQL - we've had to change the way that Django makes tables a little bit, as the old method didn't support doing anything out-of-sequence or later on, so it's possible that this change has upset MySQL somehow. I'll have a g

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Christian Schmitt
HI, Currently we developing a Greater Application with many Apps and Models per App that are referenced through the Apps. We have like 30+ Models and we've seen an increase of the test suite, too. And what I've seen so far is that the Post Migrate from the Auth App will take the longest time to

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
On Wednesday, July 9, 2014 10:48:09 AM UTC+2, Aymeric Augustin wrote: > > 2014-07-09 9:50 GMT+02:00 Stan >: > >> My test suite rely massively on JSON fixtures. >> > > Do you have large initial_data fixtures? > Nope. I don't have any initial_data file. I tried to run on of my simple test which

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Aymeric Augustin
2014-07-09 9:50 GMT+02:00 Stan : > My test suite rely massively on JSON fixtures. > Do you have large initial_data fixtures? If you do, I suspect this change: https://code.djangoproject.com/ticket/22487 -- Aymeric. -- You received this message because you are subscribed to the Google Groups

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
Hi Andrew, On Tuesday, July 8, 2014 7:14:09 PM UTC+2, Andrew Godwin wrote: > > Hi Stan, > > It seems like there's two separate issues here: > You are right. > > - One of the migrations takes 30s to run. What is the migrations that's > so slow, and what database are you running it on? You m

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-08 Thread Andrew Godwin
Hi Stan, It seems like there's two separate issues here: - One of the migrations takes 30s to run. What is the migrations that's so slow, and what database are you running it on? You might be able to squash the migrations to increase performance (a fully squashed set of migrations should be no w

[1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-08 Thread Stan
Hi devs, Since Django-1.7-RC, apps containing models that inherit from "migrated" must be "migrated". My project (*fab4*) contains 7 apps and only 1 (*parametrage*) has been migrated (as explained in the doc )