This module can run benchmarks using the following tools
-
JMH
-
JMeter
In the root folder inside the scripts
folder there are the following benchmark scripts:
-
runJmhBenchmark.sh
-
runJmeterBenchmarks.sh
Just execute them from the root folder like this:
./scripts/runJmeterBenchmarks.sh
./scripts/runJmhBenchmarks.sh
For JMH we’re building a shaded JAR file that is next executed.
For JMeter we’re running two applications, one with Sleuth, one without with Spring Boot Maven Plugin.
Next a Maven JMeter plugin is executed that loads the *.jmx
files, starts JMeter and prints out the results.
At the end Spring Boot Maven Plugin stops the applications.