#19276: ORM performance regression between 1.4.x and 1.5.x
-------------------------------------+-------------------------------------
               Reporter:  akaariai   |          Owner:  nobody
                   Type:             |         Status:  new
  Cleanup/optimization               |        Version:  1.5-alpha-1
              Component:  Database   |       Keywords:
  layer (models, ORM)                |      Has patch:  1
               Severity:  Normal     |    Needs tests:  0
           Triage Stage:             |  Easy pickings:  0
  Unreviewed                         |
    Needs documentation:  0          |
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 I did some benchmarking for performance regressions between 1.4 and 1.5
 (using Python 2.6.7 and djangobench). I found that nearly every ORM
 benchmark for djangobench has regressed about 10%. I made a time series of
 one benchmark (query_annotate), available here:
 http://users.tkk.fi/~akaariai/djbench/query_annotate.html

 There are two commits which show up in the graph:
   - Minor regession for: 4a103086d5c67fa4fcc53c106c9fdf644c742dd8 (unicode
 literals for py3)
   - A bit larger regression for: ab6cd1c839b136cbc94178da433b2e97ab7f6061
 (updated dict like datastructs for py3)

 It seems there is some low-hanging fruit especially for the second commit,
 see here: https://github.com/akaariai/django/compare/orm_perf

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19276>
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 https://groups.google.com/groups/opt_out.


Reply via email to