Q&A
How do you integrate performance tests into CI without bloating build time?
Ajitesh MohantaAmbassador
May 14, 2026 833 0
We want to add k6 performance tests to our CI pipeline but our PR pipeline is already 12 minutes and I don't want to make it longer.
Options I see:
1. Run a short smoke performance test on PRs (low VUs, short duration, just checks nothing catastrophically broke)
2. Run full load tests only on merge to main (nightly or post-deploy)
3. Only run performance tests for PRs touching certain services
Is a 2-minute smoke performance test in CI actually useful? Or does the limited load make it not representative enough to catch regressions?