Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-04-20 Thread Django
#24397: Speed up model rendering with apps.ready = False
-+-
 Reporter:  knbk |Owner:  knbk
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * status:  new => closed
 * resolution:   => fixed


--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.86a3b133a7ae3241e8eed60a19423dd6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-04-20 Thread Django
#24397: Speed up model rendering with apps.ready = False
-+-
 Reporter:  knbk |Owner:  knbk
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Tim Graham ):

 In [changeset:"039d7881b441c6b358a963d652ffa2eada3a8892" 039d7881]:
 {{{
 #!CommitTicketReference repository=""
 revision="039d7881b441c6b358a963d652ffa2eada3a8892"
 Refs #24397 -- Sped up model reloading in ProjectState.

 Created bulk_update() context manager on StateApps. Sped up unregistering
 models in reload_models() by using this context mananger.
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.c077bb3dfc163ce722a46e3ec5dcdb93%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-04-17 Thread Django
#24397: Speed up model rendering with apps.ready = False
-+-
 Reporter:  knbk |Owner:  knbk
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by knbk):

 * needs_better_patch:  1 => 0
 * stage:  Accepted => Ready for checkin


Comment:

 I'm not too sure what the error message should be changed to, so I'll
 leave it as is.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.3a38c09d31b5251b94a6ebd633abcea5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-04-06 Thread Django
#24397: Speed up model rendering with apps.ready = False
--+
 Reporter:  knbk  |Owner:  knbk
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 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
--+
Changes (by MarkusH):

 * status:  closed => new
 * resolution:  fixed =>


Comment:

 Reopen due to further improvements.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.dd90d6af7608a0591bd1a6aa689a83c3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-04-06 Thread Django
#24397: Speed up model rendering with apps.ready = False
--+
 Reporter:  knbk  |Owner:  knbk
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:  fixed
 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 knbk):

 Additional PR: https://github.com/django/django/pull/4458

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.45d3c5f3f1c61aa9972ae04db57d45b7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-03-08 Thread Django
#24397: Speed up model rendering with apps.ready = False
--+
 Reporter:  knbk  |Owner:  knbk
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Markus Holtermann ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"888c9b6429a44824078a49fb1ebacf2e950cd887"]:
 {{{
 #!CommitTicketReference repository=""
 revision="888c9b6429a44824078a49fb1ebacf2e950cd887"
 Fixed #24397 -- Sped up rendering multiple model states.

 Set apps.ready to False when rendering multiple models. This prevents
 that the cache on Model._meta is expired on all models after each time a
 single model is rendered. Prevented that Apps.clear_cache() refills the
 cache on Apps.get_models(), so that the wrong value cannot be cached
 when cloning a StateApps.
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.f8ee302179462c67c4fc600ce87fb2fb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-02-24 Thread Django
#24397: Speed up model rendering with apps.ready = False
--+
 Reporter:  knbk  |Owner:  knbk
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 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
--+
Changes (by timgraham):

 * stage:  Unreviewed => Accepted


--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.80b404f734b52d7c622e447ece3250c0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24397: Speed up model rendering with apps.ready = False

2015-02-23 Thread Django
#24397: Speed up model rendering with apps.ready = False
-+-
 Reporter:  knbk |Owner:  knbk
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by knbk):

 * cc: knbk (added)
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.f235fa674a879d1f8f8dbecc755164e2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.