Slow page load

2011-11-18 Thread Dre
Hi, Please help me debug a very slow page load using mod_wsgi. I installed django-debug-toolbar and got the following results: ResourceValue User CPU time 1152.072 msec System CPU time 56.004 msec Total CPU time 1208.076 msec Elapsed time1214.114 msec Context switches

Re: Slow page load

2011-11-18 Thread Dre
I thought my code was faulty, but the admin interface is also very slow. It takes 8096 msec for a model with 1000 database rows to be opened using the admin interface with debug-toolbar enabled. It is paginated to 100 entries per page, and SQL makes 339 queries in 128.77 msec. I have two foreign ke