Skip to content

Commit 903c00f

Browse files
authored
Merge branch 'alpha' into before-password-reset-request
2 parents 57712ce + 133660f commit 903c00f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/ci-performance.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,7 @@ jobs:
304304
echo "" >> comment.md
305305
echo "</details>" >> comment.md
306306
echo "" >> comment.md
307-
echo "*Benchmarks ran with ${BENCHMARK_ITERATIONS:-10000} iterations per test on Node.js ${{ env.NODE_VERSION }} (production mode, CPU pinned)*" >> comment.md
308-
echo "" >> comment.md
309-
echo "> **Note:** Using 10k iterations with CPU affinity for measurement stability. Thresholds: ⚠️ >25%, ❌ >50%." >> comment.md
307+
echo "> **Note:** Thresholds: ⚠️ >25%, ❌ >50%." >> comment.md
310308
311309
- name: Comment PR with results
312310
if: github.event_name == 'pull_request'

benchmark/performance.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const MONGODB_URI = process.env.MONGODB_URI || 'mongodb://localhost:27017/parse_
1919
const SERVER_URL = 'http://localhost:1337/parse';
2020
const APP_ID = 'benchmark-app-id';
2121
const MASTER_KEY = 'benchmark-master-key';
22-
const ITERATIONS = parseInt(process.env.BENCHMARK_ITERATIONS || '10000', 10);
22+
const ITERATIONS = parseInt(process.env.BENCHMARK_ITERATIONS || '1000', 10);
2323

2424
// Parse Server instance
2525
let parseServer;
@@ -363,7 +363,7 @@ async function runBenchmarks() {
363363
server.close();
364364
}
365365
// Give some time for cleanup
366-
setTimeout(() => process.exit(0), 10000);
366+
setTimeout(() => process.exit(0), 1000);
367367
}
368368
}
369369

0 commit comments

Comments
 (0)