#28146: PostGIS: Django 1.11 adds two extra queries: SELECT 
postgis_lib_version()
and SELECT version()
-------------------------------------+-------------------------------------
     Reporter:  George Tantiras      |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  GIS                  |                  Version:  1.11
     Severity:  Normal               |               Resolution:  invalid
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by George Tantiras):

 Although I am still refactoring and profiling I found that as far as the
 local results are concerned, it seems like a big portion of the deviation
 in timings between the two django versions has to do with django debug
 toolbar.

 I found the reported [https://code.djangoproject.com/ticket/27774 bug] and
 relevant [https://github.com/jazzband/django-debug-toolbar/issues/910
 issue]. Enabling only the panels that I needed (TimerPanel, SQLPanel) the
 differences in times scaled down.

 1.11, is still somehow slower (for example while 1.10 reports 250ms, 1.11
 could report 310ms) but this is something different (30% more time is a
 far different portion compared to 70%).

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

Reply via email to