Update benchmark-integration instructions
This commit is contained in:
parent
ef3ba8be60
commit
feab10ad9f
|
@ -1,6 +1,14 @@
|
|||
# Datadog Java Agent Performance Tests
|
||||
Integration level performance tests for the Datadog Java Agent.
|
||||
|
||||
## Perf Script Dependencies
|
||||
|
||||
`run-perf-test.sh` requires the following (available on homebrew or a linux package manager):
|
||||
|
||||
* bash (>=4.0)
|
||||
* wrk
|
||||
* nc
|
||||
|
||||
## Running a Test
|
||||
1. Build the shadow jar for the server you wish to test against.
|
||||
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.
|
|||
### Example
|
||||
```
|
||||
./gradlew dd-java-agent:benchmark-integration:jetty-perftest:shadowJar
|
||||
./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
|
||||
# Compare a baseline (no agent) to the 0.2.10 and 0.2.9 releases.
|
||||
/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
|
||||
cp /tmp/perf_results.csv ~/somewhere_else/
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue