prudhvigodithi commented on issue #13745:
URL: https://github.com/apache/lucene/issues/13745#issuecomment-3683310820
> let me conclude this with some tests on my local.
From my local tests using Lucene benchmark-jmh I can see the
`TopFieldCollectorManager` performed well with intra segment.
```
Benchmark (numDocs) (numHits) Mode Cnt
Score Error Units
TopFieldCollectorBenchmark.noIntraSegment 1000000 100 avgt 20
3870.629 ± 102.246 us/op
TopFieldCollectorBenchmark.noIntraSegment 1000000 1000 avgt 20
4838.287 ± 535.474 us/op
TopFieldCollectorBenchmark.withIntraSegment 1000000 100 avgt 20
1552.220 ± 25.915 us/op
TopFieldCollectorBenchmark.withIntraSegment 1000000 1000 avgt 20
1885.688 ± 33.323 us/op
Benchmark (numDocs) (numHits) Mode
Cnt Score Error Units
TopFieldCollectorBenchmark.noIntraSegment 1000000 100 thrpt
20 249.435 ± 13.173 ops/s
TopFieldCollectorBenchmark.noIntraSegment 1000000 1000 thrpt
20 208.132 ± 22.701 ops/s
TopFieldCollectorBenchmark.withIntraSegment 1000000 100 thrpt
20 674.382 ± 29.088 ops/s
TopFieldCollectorBenchmark.withIntraSegment 1000000 1000 thrpt
20 477.343 ± 39.071 ops/s
```
--
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]