It looks like there are some other fixes in 1.9 that weren't covered
by my monkeypatch. I upgraded the project and included a new cProfile
in the ticket https://code.djangoproject.com/ticket/22608#comment:23.
It shaved 100s off, but still takes 2.5 minutes to create an empty
migration.

Florian, I'll contact you off-list about the project.

-- Pete

On Thu, Jan 7, 2016 at 1:11 PM, Florian Apolloner <[email protected]> wrote:
> Also, is there any chance that I can get access to this project to profile a
> little bit more and identify some hotspots?
>
> On Thursday, January 7, 2016 at 9:10:26 PM UTC+1, Florian Apolloner wrote:
>>
>> Just looking at the topmost three entries:
>> _expire_cache spends 18 second in delattr, can you try replacing that with
>> del self.__dict__[cache_key]. Maybe also try moving self.__dict__ in a local
>> variable since it will get referenced a lot
>> subclass_exception seems awfully slow, maybe there are some creative ways
>> to speed it up?
>> It would also be interesting to know where the entries from collections.py
>> come and replace it with more efficient structures.
>>
>> The rest is as Tim said.
>>
>> Cheers,
>> Florian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/7b687031-050f-4de3-854c-afd6cbd00ca5%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAAoxf4uBH2U89-WrzM2wmTOHgk5yz18wb5O14kncQ9g6w37z%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • ... Tim Graham
    • ... Florian Apolloner
      • ... Peter Baumgartner
        • ... Aymeric Augustin
          • ... Andrew Godwin
          • ... Carl Meyer
            • ... Peter Baumgartner
              • ... Markus Holtermann
            • ... 'Hugo Osvaldo Barrera' via Django developers (Contributions to Django itself)
              • ... Shai Berger
                • ... charettes
                • ... Carl Meyer
                • ... Shai Berger

Reply via email to