#25750: During makemigrations Options._expire_cache takes 30% of the time
--------------------------------------+------------------------------------
     Reporter:  patrys                |                    Owner:  patrys
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Migrations            |                  Version:  1.8
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by patrys):

 In my case it is noticeably faster even if the act of profiling itself
 skews the results by making function call more expensive. The slowest part
 was depending on try/except to trap nonexistent attributes. It may not
 make much difference in most projects but the one I work for takes several
 minutes to generate migrations.

--
Ticket URL: <https://code.djangoproject.com/ticket/25750#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.f87a3493a4204249db6dc512f1c4ae1e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to