Skip to content

Commit c31f6ae

Browse files
committed
tweak: Update BP branch, multiple repetitions
1 parent 9a730f7 commit c31f6ae

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitlab/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
script:
1616
- export ARTIFACTS_DIR="$(pwd)/reports" && mkdir -p "${ARTIFACTS_DIR}"
1717
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/".insteadOf "https://github.com/DataDog/"
18-
- git clone --branch dd-trace-java/tracer-benchmarks https://github.com/DataDog/benchmarking-platform.git /platform && cd /platform
18+
- git clone --branch dd-trace-java/tracer-benchmarks-parallel https://github.com/DataDog/benchmarking-platform.git /platform && cd /platform
1919
artifacts:
2020
name: "reports"
2121
paths:

benchmark/load/run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,16 @@ for app in *; do
3333
# Using profiler variants for healthcheck as they are the slowest
3434
if [ "${app}" == "petclinic" ]; then
3535
HEALTHCHECK_URL=http://localhost:8082
36+
REPETITIONS_COUNT=5
3637
elif [ "${app}" == "insecure-bank" ]; then
3738
HEALTHCHECK_URL=http://localhost:8082/login
39+
REPETITIONS_COUNT=2
3840
else
3941
echo "Unknown app ${app}"
4042
exit 1
4143
fi
4244

43-
for i in $(seq 1 2); do
45+
for i in $(seq 1 $REPETITIONS_COUNT); do
4446
bash -c "${UTILS_DIR}/../${type}/${app}/start-servers.sh" &
4547
(
4648
cd ${app} &&

0 commit comments

Comments
 (0)