Added JMH & JMeter benchmarks for Sleuth
This commit is contained in:
9
scripts/runJmeterBenchmarks.sh
Executable file
9
scripts/runJmeterBenchmarks.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Killing the remaining apps - if something went wrong previously"
|
||||
pkill -f SleuthBenchmarkingSpringApp || echo "No apps to kill"
|
||||
|
||||
echo "Running JMeter Benchmarks"
|
||||
./mvnw clean verify --projects benchmarks --also-make -Pbenchmarks,jmeter
|
||||
echo "Killing the remaining apps - if something went wrong after the tests"
|
||||
pkill -f SleuthBenchmarkingSpringApp || echo "No apps to kill"
|
||||
5
scripts/runJmhBenchmarks.sh
Executable file
5
scripts/runJmhBenchmarks.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Running JMH Benchmarks"
|
||||
./mvnw clean install -DskipTests --projects benchmarks --also-make -Pbenchmarks,jmh
|
||||
java -Djmh.ignoreLock=true -jar benchmarks/target/benchmarks.jar org.springframework.cloud.sleuth.benchmarks.jmh.* | tee target/benchmarks.log
|
||||
Reference in New Issue
Block a user