Re: Heads up: slow downs with luceneutil (including nightly benchmarks)

Adrien Grand <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <CAPsWd+MrH1z5G+3q49Wx+hzm8V2zxXprcDXU0GEORz5skXak_A@mail.gmail.com>
Nightly benchmarks caught up with this change, and got significant
slowdowns as expected:
https://benchmarks.mikemccandless.com/2025.08.13.20.38.43.html.

It'd be good to better understand why it hurts so much and how it could be
fixed, help is welcome. :)

On Wed, Aug 13, 2025 at 8:39 PM Adrien Grand <[email protected]> wrote:

> Hello all,
>
> For reference, I just merged this PR[0] to luceneutil, which "pollutes"
> call sites of DocIdSetIterator#nextDoc, DocIdSetIterator#advance, Bits#get
> (live docs), SimScorer#score and others to better reflect what performance
> may look like on a production system that handles diverse workloads.
>
> A consequence is that luceneutil now report worse performance. In
> particular, nightly benchmarks are expected to get noticeable drops on many
> tasks. This behavior in enabled by default but it is possible to disable it
> by passing pollute=False when initializing a Competitor.
>
> [0] https://github.com/mikemccand/luceneutil/pull/436
>
> --
> Adrien
>


-- 
Adrien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.