Tuesday, July 10, 2012

performance: How to measure: LXML or DB queries?


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?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate