This is an automated email from the ASF dual-hosted git repository. clebertsuconic pushed a commit to branch branch-jni in repository https://gitbox.apache.org/repos/asf/artemis-native.git
commit b1dcc6443c28749a846c2adbc68e5fcfc2d8c659 Author: Clebert Suconic <[email protected]> AuthorDate: Wed Apr 29 14:21:18 2026 -0400 jni --- .../artemis/nativo/jlibaio/test/performance/jmh/LibaioBenchmark.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/LibaioBenchmark.java b/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/LibaioBenchmark.java index 44310df..8e9d6c6 100644 --- a/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/LibaioBenchmark.java +++ b/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/LibaioBenchmark.java @@ -127,14 +127,14 @@ public class LibaioBenchmark { @Benchmark public void writeHeaderAndRecords() throws Exception { - CountDownLatch latch = new CountDownLatch(recordCount * 100); + CountDownLatch latch = new CountDownLatch(recordCount * 10); currentLatch.set(latch); try { fillHeader(fileId); // libaioFile.write(0L, BLOCK_SIZE, headerBuffer, callback); - for (int j = 0; j < 100; j++) { + for (int j = 0; j < 10; j++) { for (int i = 0; i < recordCount; i++) { updateRecord(recordBuffer, fileId, i); long offset = BLOCK_SIZE + ((long) i * BLOCK_SIZE); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
