goankur commented on PR #16956:
URL: https://github.com/apache/lucene/pull/16956#issuecomment-6590127673

   Thanks @Pulkitg64 for confirming, and thanks @msokolov for the review! That 
matches what I saw in the history: the call came in with scoring in 
[bd6f1abab5](https://github.com/apache/lucene/pull/15003/commits/bd6f1abab5d32524e7d5c95c1e0b763c28a0d985),
 and stayed when 
[a0f5169ba4](https://github.com/apache/lucene/pull/15003/commits/a0f5169ba40821b423ddc60f471a88cc90c8e9f8)
 went back to `Float.NaN`.
   
   **Hot and cold.** I added the opposite corner to the large, cold case in the 
description: a small graph with the query file already in the page cache. Time 
to copy the graph, two runs per arm:
   
   | case | main | this PR |
   |---|---|---|
   | 71M nodes, cold, RANDOM advice | 829 s | 80 s (10.4x) |
   | 71M nodes, cold, default advice | 192 s | 80 s (2.4x) |
   | 1M nodes, warm | 695 ms | 608 ms (1.14x) |
   
   So even when nothing comes from disk, skipping the 1M reads saves about 13%. 
Since the change only removes work, I would not expect a slowdown anywhere.
   
   The CHANGES.txt conflict is fixed.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to