Framework | Med (ms) | Min (ms) | Max (ms) |
---|---|---|---|
Fastify | 8.48 | 6.31 | 77.24 |
Express | 10.62 | 6.77 | 212.23 |
Cloudflare Workers | 12.28 | 7.8 | 121.97 |
WWS (with Hono) | 503.87 | 272.96 | 1010 |
curl -fsSL https://workers.wasmlabs.dev/install | bash
wws --help
brew install k6
Create your K6 Grafana Cloud here.
k6 login cloud --token <YOUR_TOKEN>
# under the specific directory (eg. ssr) do this
k6 new
# this command will create a new default `script.js` file
# or you can create your own as follows:
export const options = {
ext: {
loadimpact: {
projectID: <YOUR_PROJECT_ID>,
// Test runs with the same name groups test runs together
name: 'Default'
}
}
}
cd ./js/ssr
k6 cloud loadTest.js
k6 cloud --vus 10 --duration 30s loadTest.js