#5513: Last session refactoring vastly down Django performance
-------------------------+--------------------------------------------------
Reporter: msaelices | Owner: msaelices
Status: new | Component: Contrib apps
Version: SVN | Resolution:
Keywords: slowness | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------+--------------------------------------------------
Changes (by msaelices):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Notes about number of queries send:
* The number of queries in old and the new session machinery is the same
(2 SQL in my web):
{{{
SELECT
"django_session"."session_key","django_session"."session_data","django_session"."expire_date"
FROM "django_session" WHERE ("django_session"."session_key" =
197396aae7fe82c8533f92a80955dd4c AND "django_session"."expire_date" >
2007-09-16 18:49:59.978334)
SELECT
"auth_user"."id","auth_user"."username","auth_user"."first_name","auth_user"."last_name","auth_user"."email","auth_user"."password","auth_user"."is_staff","auth_user"."is_active","auth_user"."is_superuser","auth_user"."last_login","auth_user"."date_joined"
FROM "auth_user" WHERE ("auth_user"."id" = 1)
}}}
* Both {{{file}}} and {{{cache}}} backend speed up because the query
number decreased to none.
--
Ticket URL: <http://code.djangoproject.com/ticket/5513#comment:1>
Django Code <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
-~----------~----~----~----~------~----~------~--~---