From bd8a98056f0e31c6f524bd29333f025e570aeb8c Mon Sep 17 00:00:00 2001 From: Luke Zhang Date: Thu, 18 Sep 2025 13:11:19 -0700 Subject: [PATCH] Doc: How to Run Lambda Java Performance Test --- README.md | 3 +++ docs/lambda-java-perf-test.md | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 docs/lambda-java-perf-test.md diff --git a/README.md b/README.md index 75c5939f2..d612294b8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +# How to Run Lambda Java Performance Test +[Link](docs/lambda-java-perf-test.md) + # How to Test E2E Resource Changes This guide will give a step by step instruction on how to test changes made to Java/Python E2E testing resources before pushing a PR. The guide will include the following: diff --git a/docs/lambda-java-perf-test.md b/docs/lambda-java-perf-test.md new file mode 100644 index 000000000..e816b0124 --- /dev/null +++ b/docs/lambda-java-perf-test.md @@ -0,0 +1,7 @@ +# How to Run Lambda Java Performance Test +The [java-lambda-layer-performance-test](https://github.com/aws-observability/aws-application-signals-test-framework/actions/workflows/java-lambda-layer-perf-test.yml) workflow will check out a branch from the [ADOT Java Agent repo](https://github.com/aws-observability/aws-otel-java-instrumentation) and build a Lambda Java Layer from that branch. Then it will run performance tests with the generated Lambda Java Layer and build the report. + +For example, to test a Lambda Layer built from branch "release/v2.11.x": +1. Open the [java-lambda-layer-performance-test](https://github.com/aws-observability/aws-application-signals-test-framework/actions/workflows/java-lambda-layer-perf-test.yml) workflow and click "Run workflow". +2. Use workflow from "Branch: main". Enter "release/v2.11.x" in "ADOT Java branch to use" and click "Run workflow". +3. After the workflow run finishes, the performance testing report can be found in the generated artifacts under "java-performance-test-results". \ No newline at end of file