On Tuesday 25 September 2012 10:03:11 Anssi Kääriäinen wrote:
> 
> Am I correct the benchmark is basically:
> 
> cursor = connection.cursor()
> cursor.execute("some sql fetching many rows with NUMBER() columns")
> timer.start()
> for row in cursor.fetchall():
>     pass
> print timer.used()
> 
Yes, I think so. I find timeit, from the python stdlib, very helpful for 
benchmarks.

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

Reply via email to