jainankitk commented on code in PR #14413:
URL: https://github.com/apache/lucene/pull/14413#discussion_r2032049110


##########
lucene/sandbox/src/java/org/apache/lucene/sandbox/search/QueryProfilerTimer.java:
##########
@@ -33,9 +33,21 @@
  *  </pre>
  */
 class QueryProfilerTimer {
-
   private boolean doTiming;
-  private long timing, count, lastCount, start;
+  private long timing, count, lastCount, start, earliestTimerStartTime;

Review Comment:
   I feel it is still useful, as it is not necessary that all the threads start 
execution immediately. Intuitively, if we submit 4 slices to executor service, 
2 of them might be picked immediately on Thread A, B. Slice 3 starts on another 
thread C (that was earlier busy with different query) and thread A/B eventually 
pick slice 4. Please correct me if I am missing something specific to 
concurrent implementation for Lucene.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to