epotyom commented on PR #13657: URL: https://github.com/apache/lucene/pull/13657#issuecomment-2296904888
Just for tracking, repeating this comment https://github.com/apache/lucene/pull/13656#issuecomment-2296813725 here: > The biggest difference in the profiler seems to be that we spend more time in org.apache.lucene.search.similarities.BM25Similarity$BM25Scorer.score(float, long) now? I've tried changing `SIMILARITY_DEFAULT` to `ClassicSimilarity` in `src/python/constants.py` . There is still regression seen in the caller method `org.apache.lucene.search.LeafSimScorer.score(int, float)`, but not so much in the `Similarity` itself: ![flamegraph_two_tasks_only_ClassicSimilarity](https://github.com/user-attachments/assets/e14529ed-f199-42b3-9b83-80321f15053e) JFRs: [ClassicSimilarity.zip](https://github.com/user-attachments/files/16662602/ClassicSimilarity.zip) -- 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