[php-src] master: Reduce benchmark termination timeout to 1 h
| From: | Máté Kocsis | Date: | Mon, 23 Nov 2026 20:47:20 +0000 |
| Subject: | [php-src] master: Reduce benchmark termination timeout to 1 h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-144076@lists.php.net to get a copy of this message | ||
Author: Máté Kocsis (kocsismate)
Date: 2026-11-23T21:46:48+01:00
Commit: https://github.com/php/php-src/commit/8511a064c4ba3bfdb7b5eb3a1a49b88bb558be03
Raw diff: https://github.com/php/php-src/commit/8511a064c4ba3bfdb7b5eb3a1a49b88bb558be03.diff
Reduce benchmark termination timeout to 1 h
Nowadays, the benchmark itself usually runs for ~35 mins, therefore there's no need to wait for
2 hours. Benchmark runs used to be much slower In the past (around 1 h), but 2 hours of allowed
runtime was still too generous for even this workload.
Changed paths:
M .github/workflows/real-time-benchmark.yml
Diff:
diff --git a/.github/workflows/real-time-benchmark.yml b/.github/workflows/real-time-benchmark.yml
index 1637ec658331..28e026b34c02 100644
--- a/.github/workflows/real-time-benchmark.yml
+++ b/.github/workflows/real-time-benchmark.yml
@@ -287,6 +287,7 @@ jobs:
sed -i 's/secret_key = ""/secret_key = "${{
secrets.PHP_VERSION_BENCHMARK_AWS_SECRET_KEY }}"/g'
./php-version-benchmarks/build/infrastructure/config/aws.tfvars
sed -i 's/state_bucket = ""/state_bucket = "${{
secrets.PHP_VERSION_BENCHMARK_STATE_BUCKET }}"/g'
./php-version-benchmarks/build/infrastructure/config/aws.tfvars
sed -i 's/github_token = ""/github_token = "${{ secrets.GITHUB_TOKEN
}}"/g' ./php-version-benchmarks/build/infrastructure/config/aws.tfvars
+ sed -i 's/termination_timeout_in_min = 120/termination_timeout_in_min = 60/g'
./php-version-benchmarks/build/infrastructure/config/aws.tfvars
WORKFLOW_RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{
github.run_id }}"
sed -i "s|log_url = \"\"|log_url = \"$WORKFLOW_RUN_URL\"|g"
./php-version-benchmarks/build/infrastructure/config/aws.tfvars