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!