Skip to content

Commit

Permalink
turn off first perf test for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sastels committed Feb 4, 2025
1 parent 1270b81 commit 2c0526b
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions bin/execute_and_publish_performance_test.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
#!/bin/bash

# For now let's not do the old perf test, just the email send rate test

# Setup
current_time=$(date "+%Y.%m.%d-%H.%M.%S")
perf_test_aws_s3_bucket=${PERF_TEST_AWS_S3_BUCKET:-notify-performance-test-results-staging}
perf_test_csv_directory_path=${PERF_TEST_CSV_DIRECTORY_PATH:-/tmp/notify_performance_test}
mkdir -p $perf_test_csv_directory_path/$current_time
# current_time=$(date "+%Y.%m.%d-%H.%M.%S")
# perf_test_aws_s3_bucket=${PERF_TEST_AWS_S3_BUCKET:-notify-performance-test-results-staging}
# perf_test_csv_directory_path=${PERF_TEST_CSV_DIRECTORY_PATH:-/tmp/notify_performance_test}
# mkdir -p $perf_test_csv_directory_path/$current_time

# Run old performance test and copy results to S3
locust --headless --config tests-perf/locust/locust.conf --html $perf_test_csv_directory_path/$current_time/index.html --csv $perf_test_csv_directory_path/$current_time/perf_test
aws s3 cp $perf_test_csv_directory_path/ "s3://$perf_test_aws_s3_bucket" --recursive || exit 1
# # Run old performance test and copy results to S3
# locust --headless --config tests-perf/locust/locust.conf --html $perf_test_csv_directory_path/$current_time/index.html --csv $perf_test_csv_directory_path/$current_time/perf_test
# aws s3 cp $perf_test_csv_directory_path/ "s3://$perf_test_aws_s3_bucket" --recursive || exit 1

# Sleep 15 minutes to allow the system to stabilize
sleep 900
# # Sleep 15 minutes to allow the system to stabilize
# sleep 900

# Run email send rate performance test
# This configuration should send 10K emails / minute for 10 minutes for 100K emails total.
Expand Down

0 comments on commit 2c0526b

Please sign in to comment.