madrob commented on pull request #2113: URL: https://github.com/apache/lucene-solr/pull/2113#issuecomment-741047880
You need to either return a value from the benchmark methods or call blackhole.consume, otherwise the JVM will detect that everything is unused outside of the scope and optimize it away. That should get you some different results. Thank you for being thorough! ---------------------------------------------------------------- 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. 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