Skip to content

Commit 9c0ebd8

Browse files
heiskrCopilot
andauthored
⚡️ Raise benchmark slow threshold from 500ms to 1s (#60774)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 679be9a commit 9c0ebd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/benchmark-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
npx tsx src/workflows/benchmark-pages.ts \
4545
--versions "free-pro-team@latest,enterprise-cloud@latest,enterprise-server@latest" \
4646
--modes article-body \
47-
--slow 500 \
47+
--slow 1000 \
4848
--json /tmp/benchmark-results.json | tee /tmp/benchmark-output.txt
4949
5050
- name: Check results and create issue if needed
@@ -108,7 +108,7 @@ jobs:
108108
echo "**Total pages:** $TOTAL"
109109
echo "**Stats:** p50=${P50}ms · p99=${P99}ms · max=${MAX}ms"
110110
echo "**Errors:** $ERRORS"
111-
echo "**Slow (≥500ms):** $SLOW"
111+
echo "**Slow (≥1000ms):** $SLOW"
112112
} > "$BODY_FILE"
113113
114114
if [ "$ERRORS" -gt 0 ]; then

0 commit comments

Comments
 (0)