feat: Benchmark env with run scripts (no-changelog) (#10477)

This commit is contained in:
Tomi Turtiainen
2024-08-23 14:43:26 +03:00
committed by GitHub
parent 8403f4aa11
commit a1a1b0a7b4
22 changed files with 955 additions and 15 deletions

View File

@@ -40,6 +40,14 @@ N8N_USER_EMAIL=user@n8n.io N8N_USER_PASSWORD=password ./bin/n8n-benchmark run
K6_PATH=/opt/homebrew/bin/k6 N8N_USER_EMAIL=user@n8n.io N8N_USER_PASSWORD=password ./bin/n8n-benchmark run
```
## Running in the cloud
There's a script to run the performance tests in a cloud environment. The script provisions a cloud environment, sets up n8n in the environment, runs the tests and destroys the environment.
```sh
pnpm run-in-cloud
```
## Configuration
The configuration options the cli accepts can be seen from [config.ts](./src/config/config.ts)