#27774: django admin with many objects count is very slow
-------------------------------+--------------------------------------
     Reporter:  Sayid Munawar  |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  contrib.admin  |                  Version:  1.11
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  1
-------------------------------+--------------------------------------

Comment (by Sayid Munawar):

 Hi Tim, i don't know how to write a test for this case. i just using git
 prev / next around commits in that ticket. And i found this commit

 {{{
 commit b52c73008a9d67e9ddbb841872dc15cdd3d6ee01
 Author: Preston Timmons <[email protected]>
 Date:   Tue Dec 27 17:00:56 2016 -0500

     Fixed #15667 -- Added template-based widget rendering.
 }}}

 will make the render slow. on the commit before that (`51cde87... Fixed
 #27648 -- Deprecated (iLmsu) regex groups in url() patterns`) the render
 still very fast. I know there should be more processing from template
 based widget rendering. but this is just too much

 In another test with django-treebeard admin page, the amount of time to
 render its admin page is 30 seconds. it's just unacceptable

--
Ticket URL: <https://code.djangoproject.com/ticket/27774#comment:2>
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/065.e2f9369a99eb5b86add0ee3a50228579%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to