Is there a way to get the time in milliseconds for an ad-hoc query against CouchDB using couchdb-python?
Use view() function to run permanent views in database. It is more efficient. In many cases, temporary may be very costly.
I'm using ad-hoc JavaScript map functions in couchdb-python through its query() function. Is there a way of getting the time the query takes to process? 
I've tried timing the script, but it's pretty obvious to me that the time I'm getting is not correct. If I iterate over the ViewResult that the query() function returns and print all the results, I believe I get an answer that's closer to the truth, but I don't want the printing to be included in my timing..
Anyone got any ideas?
Thanks a bunch!