File tree Expand file tree Collapse file tree
dd-java-agent/benchmark-integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Datadog Java Agent Performance Tests
22Integration level performance tests for the Datadog Java Agent.
33
4+ ## Perf Script Dependencies
5+
6+ ` run-perf-test.sh ` requires the following (available on homebrew or a linux package manager):
7+
8+ * bash (>=4.0)
9+ * wrk
10+ * nc
11+
412## Running a Test
5131 . Build the shadow jar for the server you wish to test against.
6142 . Run the performance test script passing in the agent jars you wish to test.
@@ -9,6 +17,7 @@ Integration level performance tests for the Datadog Java Agent.
917### Example
1018```
1119./gradlew dd-java-agent:benchmark-integration:jetty-perftest:shadowJar
12- ./run-perf-test.sh jetty-perftest/build/libs/jetty-perftest-0.2.12-SNAPSHOT-all.jar NoAgent ../dd-java-agent/build/libs/dd-java-agent-0.2.12-SNAPSHOT.jar
20+ # Compare a baseline (no agent) to the 0.2.10 and 0.2.9 releases.
21+ /usr/local/bin/bash ./run-perf-test.sh jetty-perftest/build/libs/jetty-perftest-*-all.jar NoAgent ../benchmark/releases/dd-java-agent-0.2.10.jar ../benchmark/releases/dd-java-agent-0.2.9.jar
1322cp /tmp/perf_results.csv ~/somewhere_else/
1423```
You can’t perform that action at this time.
0 commit comments