You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Few ajax calls are very slow to return. The ajax call basically queries data from mutiple tables ( using Django ORM), create an XML using LXML and returns the XML. What is the best way to measure where the performance bottleneck is?
I think it is DB access. LXML is the fastest XML library in python. Are there any tools I can use to measure?
Nikolas Stevenson-Molnar
unread,
Jul 10, 2012, 6:04:30 PM7/10/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
It will show you all queries executed for a request and how long they
take. Of course, you'll have to disabled if when actually using the
AJAX, since the toolbar injects itself into the response. But you could
turn it on, make the request directly in your browser, and use the
toolbar to figure out what's going on.