On Thu, 2009-04-02 at 00:46 -0700, Zeal wrote:
> 
> 
> On 4月2日, 下午2时39分, Alex Koshelev <daeva...@gmail.com> wrote:
> > On Thu, Apr 2, 2009 at 10:36 AM, Zeal <zeal...@gmail.com> wrote:
> >
> >
> > Documentation knows [1]
> >
> > [1]:http://docs.djangoproject.com/en/dev/ref/models/querysets/#id4
> 
> Hi, Alex,
> 
> Really appreciates your prompt response and useful solution, the sql
> queries have been dramatically reduced to the acceptable level.
> 
> However, I still feel that the page which need to handle thousand of
> records is really slow than others,(Firefox is better than IE, IE) .
> Do you have any idease for such performance issues? Thanks!

Don't display or retrieve 1000 records is the obvious speedup. "I feel
it's slow" is useless for performance improvement purposes. Is it slow?
Measure it: how long does it take. Where is the time being spent:
retrieving the data from the database? Rendering it to the template
string? Sending it back to the user? Put some time.time() logging in the
appropriate views and come up with some real numbers so that you can
work out what's going on.

Regards,
Malcolm




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to