Skip to content

Commit 8cf513f

Browse files
committed
feat(benchmark): add JMH benchmark for Topic.doMessageSend() lock contention
1 parent 84d995b commit 8cf513f

2 files changed

Lines changed: 469 additions & 0 deletions

File tree

activemq-unit-tests/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,20 @@
288288
<artifactId>mockito-core</artifactId>
289289
<scope>test</scope>
290290
</dependency>
291+
292+
<!-- JMH for micro-benchmarks (excluded from CI via naming convention) -->
293+
<dependency>
294+
<groupId>org.openjdk.jmh</groupId>
295+
<artifactId>jmh-core</artifactId>
296+
<version>1.37</version>
297+
<scope>test</scope>
298+
</dependency>
299+
<dependency>
300+
<groupId>org.openjdk.jmh</groupId>
301+
<artifactId>jmh-generator-annprocess</artifactId>
302+
<version>1.37</version>
303+
<scope>test</scope>
304+
</dependency>
291305
</dependencies>
292306

293307
<reporting>

0 commit comments

Comments
 (0)