garrensmith commented on a change in pull request #768: basic execution 
statistics for _find
URL: https://github.com/apache/couchdb/pull/768#discussion_r134975983
 
 

 ##########
 File path: src/mango/src/mango_cursor_text.erl
 ##########
 @@ -105,7 +107,8 @@ execute(Cursor, UserFun, UserAcc) ->
         query_args = QueryArgs,
         user_fun = UserFun,
         user_acc = UserAcc,
-        fields = Cursor#cursor.fields
+        fields = Cursor#cursor.fields,
+        execution_stats = mango_execution_stats:log_execution_start(Stats)
 
 Review comment:
   I think a bit of redundancy here with the double `execution`. Maybe 
something like `mango_execution_stats:log_start`. Based on the module name we 
know its the execution stats.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to