nit improve benchmarks

This commit is contained in:
Ruben Fiszel
2024-03-24 18:42:43 +01:00
parent 1e876b39a7
commit 6a7a21bbb4
2 changed files with 8 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ jobs:
run:
deno run --unstable -A -r
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/benchmark_suite.ts
-c
--no-warm-up -c
https://raw.githubusercontent.com/windmill-labs/windmill/${GITHUB_REF##ref/head/}/benchmarks/suite_dedicated.json
benchmark_4workers:
@@ -125,9 +125,7 @@ jobs:
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always --health-interval 10s --health-timeout 5s
--health-retries 5 --health-cmd "curl
http://localhost:8000/api/version"
--pull always
windmill_2:
image: ghcr.io/windmill-labs/windmill-ee:main
@@ -138,9 +136,7 @@ jobs:
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always --health-interval 10s --health-timeout 5s
--health-retries 5 --health-cmd "curl
http://localhost:8000/api/version"
--pull always
windmill_3:
image: ghcr.io/windmill-labs/windmill-ee:main
@@ -151,9 +147,7 @@ jobs:
WORKER_GROUP: main
WORKER_TAGS: deno,bun,go,python3,bash,dependency,flow,nativets
options: >-
--pull always --health-interval 10s --health-timeout 5s
--health-retries 5 --health-cmd "curl
http://localhost:8000/api/version"
--pull always
steps:
- uses: denoland/setup-deno@v1

View File

@@ -66,7 +66,9 @@ async function main({
}
}
await warmUp(host, email, password, token, workspace);
if (!Deno.args.includes("--no-warm-up")) {
await warmUp(host, email, password, token, workspace);
}
try {
const config = await getConfig(configPath);
@@ -180,6 +182,7 @@ await new Command()
.option("-c --config-path <config:string>", "The path of the config file", {
required: true,
})
.option("--no-warm-up", "Skip the warm up phase.")
.action(main)
.command(
"upgrade",