#15667: Implement template-based widget rendering
---------------------------------------+--------------------------
               Reporter:  brutasse     |          Owner:  brutasse
                   Type:  New feature  |         Status:  new
              Milestone:  1.4          |      Component:  Forms
                Version:               |       Severity:  Normal
             Resolution:               |       Keywords:
           Triage Stage:  Accepted     |      Has patch:  1
    Needs documentation:  1            |    Needs tests:  0
Patch needs improvement:  0            |  Easy pickings:  0
---------------------------------------+--------------------------

Comment (by brutasse):

 I generated some profiling graphs of the benchmarks here:

 http://media.bruno.im/render_it.png
 http://media.bruno.im/render_it2.png

 I was wondering if the {% if %} check in the selectmultiple widget was a
 bottleneck but looking at the graphs it doesn't look so. Not sure about
 what can be done, the {% if %} check accounts for about 1% of the
 rendering time. Most of the stuff going on is variable resolving and this
 closed loop on the render_it2 graph, there is some circular stuff here
 because of the {% for %} loop I guess.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15667#comment:25>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to