#15957: ModelChoiceField slow performance
----------------------------------+----------------------------
 Reporter:  uriel.bertoche@…      |          Owner:  nobody
     Type:  Cleanup/optimization  |         Status:  new
Milestone:                        |      Component:  Forms
  Version:  1.3                   |       Severity:  Normal
 Keywords:                        |   Triage Stage:  Unreviewed
Has patch:  0                     |  Easy pickings:  0
----------------------------------+----------------------------
 The ModelChoiceField form widget is performing in O(n)

 Depending on how many entries you want displayed in your select, it takes
 too long. It's really annoying. I can't open my admin interface without
 having to wait many seconds to load all data.


 [pid: 25412|app: 0|req: 10/36] 192.168.1.251 () {46 vars in 911 bytes}
 [Tue May  3 10:33:34 2011] GET /admin/clientes/clienteobservacao/add/ =>
 generated 3587474 bytes in 12258 msecs (HTTP/1.1 200) 6 headers in 307
 bytes (0 async switches on async core 0)

 [pid: 25414|app: 0|req: 12/46] 192.168.1.251 () {46 vars in 834 bytes}
 [Tue May  3 10:34:08 2011] GET /clientes/ => generated 2806807 bytes in
 9996 msecs (HTTP/1.1 200) 6 headers in 308 bytes (0 async switches on
 async core 0)

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15957>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to