Skip to content

Commit e688c7e

Browse files
committed
fix(benchmark): run only jsonb-large-payload in CI
Remove jsonb-ste-vec-insert from k6:benchmark:continuous task. Simplify output handling to copy single benchmark results.
1 parent 405a10d commit e688c7e

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

tests/benchmark/mise.toml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ echo "Results written to results/k6/"
218218
"""
219219

220220
[tasks."k6:benchmark:continuous"]
221-
description = "Run k6 benchmarks for CI (jsonb-ste-vec-insert + jsonb-large-payload)"
221+
description = "Run k6 benchmarks for CI (jsonb-large-payload)"
222222
run = """
223223
set -e
224224
@@ -255,21 +255,14 @@ echo
255255
256256
mise run k6:build
257257
258-
echo
259-
echo '# jsonb-ste-vec-insert via proxy'
260-
echo
261-
262-
mise run k6_run --script=jsonb-ste-vec-insert --target=proxy --vus=10 --duration=60s
263-
264258
echo
265259
echo '# jsonb-large-payload via proxy'
266260
echo
267261
268262
mise run k6_run --script=jsonb-large-payload --target=proxy --vus=10 --duration=60s
269263
270-
# Merge outputs for benchmark-action (separate files for throughput vs latency)
271-
# Ensure results directory is writable (may have been created by Docker)
264+
# Copy outputs for benchmark-action (separate files for throughput vs latency)
272265
mkdir -p results
273-
jq -s 'add' results/k6/*-throughput.json > results/k6-throughput.json
274-
jq -s 'add' results/k6/*-latency.json > results/k6-latency.json
266+
cp results/k6/jsonb-large-payload-throughput.json results/k6-throughput.json
267+
cp results/k6/jsonb-large-payload-latency.json results/k6-latency.json
275268
"""

0 commit comments

Comments
 (0)