Performance testing in CI without slowing teams down
Using k6 and budgets to catch regressions early.
Eberechi Omeje1 min read
Start light: budget checks on core flows in CI; heavier suites nightly.
import http from 'k6/http';
import { sleep } from 'k6';
export let options = { thresholds: { http_req_duration: ['p(95)<500'] } };
export default function () {
http.get('https://example.com/');
sleep(1);
}

