uschindler commented on code in PR #12841: URL: https://github.com/apache/lucene/pull/12841#discussion_r1421431248
########## lucene/benchmark-jmh/src/java/org/apache/lucene/benchmark/jmh/GroupVIntBenchmark.java: ########## @@ -140,10 +155,12 @@ public void init() throws Exception { } initByteBufferInput(docs); initArrayInput(docs); + initNioInput(docs); + initByteBuffersInput(docs); } @Benchmark - public void byteBufferReadVInt(Blackhole bh) throws IOException { + public void mmap_byteBufferReadVInt(Blackhole bh) throws IOException { Review Comment: If we implement ByteBufferInput (without s) for java 17's mmap, we can detect this problem. I know the class is badly named and should me MappedByteBufferIndexInput. I have some ideas, let me check this evening or tomorrow. -- 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