Skip to content

Commit feab10a

Browse files
author
Andrew Kent
committed
Update benchmark-integration instructions
1 parent ef3ba8b commit feab10a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Datadog Java Agent Performance Tests
22
Integration 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
513
1. Build the shadow jar for the server you wish to test against.
614
2. 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
1322
cp /tmp/perf_results.csv ~/somewhere_else/
1423
```

0 commit comments

Comments
 (0)