You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/01/05 08:16:05 UTC
(camel-performance-tests) branch main updated (affed66 -> 44d3376)
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
from affed66 Update base versions to Camel 4.3.0 (#132)
new 0bf6f4b Use microsecond units in the blocking seda producer tests
new 44d3376 Removed unused variables in the ContextStartStopTest
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/camel/itest/jmh/BlockingProducerToSedaTest.java | 8 ++++----
.../jmh/BlockingProducerWithArrayBlockingQueueToSedaTest.java | 8 ++++----
.../java/org/apache/camel/itest/jmh/ContextStartStopTest.java | 6 ------
3 files changed, 8 insertions(+), 14 deletions(-)
(camel-performance-tests) 01/02: Use microsecond units in the blocking seda producer tests
Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit 0bf6f4b0c4cedb5b3068612edd6c2a32f6e97096
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 5 08:38:09 2024 +0100
Use microsecond units in the blocking seda producer tests
---
.../org/apache/camel/itest/jmh/BlockingProducerToSedaTest.java | 8 ++++----
.../jmh/BlockingProducerWithArrayBlockingQueueToSedaTest.java | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerToSedaTest.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerToSedaTest.java
index e6ee681..280dce6 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerToSedaTest.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerToSedaTest.java
@@ -98,14 +98,14 @@ public class BlockingProducerToSedaTest {
}
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
public void sendBlocking(BenchmarkState state, Blackhole bh) {
state.producerTemplate.sendBody(state.endpoint, "test");
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
@Threads(6)
@@ -114,7 +114,7 @@ public class BlockingProducerToSedaTest {
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
public void sendBlockingWithMultipleTypes(BenchmarkState state, Blackhole bh) {
@@ -124,7 +124,7 @@ public class BlockingProducerToSedaTest {
state.producerTemplate.sendBody(state.endpoint, state.sampleFile);
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
@Threads(6)
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerWithArrayBlockingQueueToSedaTest.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerWithArrayBlockingQueueToSedaTest.java
index 8c3e1ae..3a36e43 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerWithArrayBlockingQueueToSedaTest.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/BlockingProducerWithArrayBlockingQueueToSedaTest.java
@@ -98,14 +98,14 @@ public class BlockingProducerWithArrayBlockingQueueToSedaTest {
}
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
public void sendBlocking(BenchmarkState state, Blackhole bh) {
state.producerTemplate.sendBody(state.endpoint, "test");
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
@Threads(6)
@@ -114,7 +114,7 @@ public class BlockingProducerWithArrayBlockingQueueToSedaTest {
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
public void sendBlockingWithMultipleTypes(BenchmarkState state, Blackhole bh) {
@@ -124,7 +124,7 @@ public class BlockingProducerWithArrayBlockingQueueToSedaTest {
state.producerTemplate.sendBody(state.endpoint, state.sampleFile);
}
- @OutputTimeUnit(TimeUnit.MILLISECONDS)
+ @OutputTimeUnit(TimeUnit.MICROSECONDS)
@BenchmarkMode(Mode.AverageTime)
@Benchmark
@Threads(6)
(camel-performance-tests) 02/02: Removed unused variables in the ContextStartStopTest
Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git
commit 44d3376f6a1cdd1730a613e34bf3dd9d8d1c54d8
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 5 08:41:06 2024 +0100
Removed unused variables in the ContextStartStopTest
---
.../test/java/org/apache/camel/itest/jmh/ContextStartStopTest.java | 6 ------
1 file changed, 6 deletions(-)
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/ContextStartStopTest.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/ContextStartStopTest.java
index d4d8239..64c507d 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/ContextStartStopTest.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/ContextStartStopTest.java
@@ -20,10 +20,7 @@ package org.apache.camel.itest.jmh;
import java.util.concurrent.TimeUnit;
import org.apache.camel.CamelContext;
-import org.apache.camel.ExtendedCamelContext;
import org.apache.camel.impl.DefaultCamelContext;
-import org.apache.camel.impl.engine.PrototypeExchangeFactory;
-import org.apache.camel.model.ModelCamelContext;
import org.junit.jupiter.api.Test;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.Level;
@@ -64,9 +61,6 @@ public class ContextStartStopTest {
public static class BenchmarkState {
CamelContext context;
- PrototypeExchangeFactory factory;
- ExtendedCamelContext extendedCamelContext;
- ModelCamelContext modelCamelContext;
@Setup(Level.Trial)
public void initialize() {