Skip to content

Commit be653cb

Browse files
committed
feat(benchmark): add JMH benchmark for Topic.doMessageSend() lock contention
1 parent 99474cb commit be653cb

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
@@ -278,6 +278,20 @@
278278
<artifactId>mockito-core</artifactId>
279279
<scope>test</scope>
280280
</dependency>
281+
282+
<!-- JMH for micro-benchmarks (excluded from CI via naming convention) -->
283+
<dependency>
284+
<groupId>org.openjdk.jmh</groupId>
285+
<artifactId>jmh-core</artifactId>
286+
<version>1.37</version>
287+
<scope>test</scope>
288+
</dependency>
289+
<dependency>
290+
<groupId>org.openjdk.jmh</groupId>
291+
<artifactId>jmh-generator-annprocess</artifactId>
292+
<version>1.37</version>
293+
<scope>test</scope>
294+
</dependency>
281295
</dependencies>
282296

283297
<reporting>

0 commit comments

Comments
 (0)