original-brownbear opened a new pull request, #13543: URL: https://github.com/apache/lucene/pull/13543
Single byte writes to BufferedOutputStream show up pretty hot in indexing benchmarks. We can save the locking overhead introduced by JEP374 by overriding and providing a no-lock fast path. Didn't benchmark this with Lucene benchmarks but there's this https://gist.github.com/shipilev/71fd881f7cbf3f87028bf87385e84889 and the issue is somewhat obvious looking at the profiling for the nightlies I believe. -- 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