This is an automated email from the ASF dual-hosted git repository. clebertsuconic pushed a commit to branch branch-panama in repository https://gitbox.apache.org/repos/asf/artemis-native.git
commit fb7a33f731d1564b3531a06fff89f2f0a4401ea5 Author: Clebert Suconic <[email protected]> AuthorDate: Wed Apr 29 14:20:00 2026 -0400 changes --- .../nativo/jlibaio/test/performance/jmh/AioCompareBenchmark.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/AioCompareBenchmark.java b/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/AioCompareBenchmark.java index 23d2770..0b5495b 100644 --- a/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/AioCompareBenchmark.java +++ b/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/performance/jmh/AioCompareBenchmark.java @@ -139,14 +139,14 @@ public class AioCompareBenchmark { @Benchmark public void writeHeaderAndRecord() 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]
