kaivalnp commented on PR #13202: URL: https://github.com/apache/lucene/pull/13202#issuecomment-2016087745
### baseline with `null` timeout ``` 0.965 1.10 1000000 50 16 100 1675 0 1.00 post-filter 0.992 2.82 1000000 400 16 100 4086 0 1.00 post-filter 0.974 1.21 1000000 50 16 200 1853 0 1.00 post-filter 0.995 3.10 1000000 400 16 200 4504 0 1.00 post-filter ``` ### baseline with `Long.MAX_VALUE` timeout ``` 0.965 1.10 1000000 50 16 100 1675 0 1.00 post-filter 0.992 2.82 1000000 400 16 100 4086 0 1.00 post-filter 0.974 1.21 1000000 50 16 200 1853 0 1.00 post-filter 0.995 3.09 1000000 400 16 200 4504 0 1.00 post-filter ``` ### baseline with `1 ms` timeout ``` 0.483 1.08 1000000 50 16 100 1675 0 1.00 post-filter 0.005 2.78 1000000 400 16 100 4086 0 1.00 post-filter 0.418 1.18 1000000 50 16 200 1853 0 1.00 post-filter 0.000 3.05 1000000 400 16 200 4504 0 1.00 post-filter ``` ### candidate with `null` timeout ``` 0.965 1.10 1000000 50 16 100 1675 0 1.00 post-filter 0.992 2.83 1000000 400 16 100 4086 0 1.00 post-filter 0.974 1.21 1000000 50 16 200 1853 0 1.00 post-filter 0.995 3.10 1000000 400 16 200 4504 0 1.00 post-filter ``` ### candidate with `Long.MAX_VALUE` timeout ``` 0.965 1.17 1000000 50 16 100 1675 0 1.00 post-filter 0.992 2.99 1000000 400 16 100 4086 0 1.00 post-filter 0.974 1.28 1000000 50 16 200 1853 0 1.00 post-filter 0.995 3.28 1000000 400 16 200 4504 0 1.00 post-filter ``` ### candidate with `1 ms` timeout ``` 0.445 0.89 1000000 50 16 100 476 0 1.00 post-filter 0.001 1.01 1000000 400 16 100 12 0 1.00 post-filter 0.374 0.92 1000000 50 16 200 425 0 1.00 post-filter 0.000 1.01 1000000 400 16 200 3 0 1.00 post-filter ``` Some observations: - There is almost no regression when a timeout is not set (= `null` value) - There is some regression in queries where a timeout is set but not met (\~6%) because of additional time checks on every `#earlyTerminated` call - There are large gains in queries where a timeout is set and met -- 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