From 3ac58cc977e38f6239cf86a92d79b368be25ac6e Mon Sep 17 00:00:00 2001 From: clockwork-labs-bot Date: Mon, 15 Jun 2026 15:55:12 -0400 Subject: [PATCH] Lower TypeScript keynote bench threshold --- tools/ci/README.md | 2 +- tools/ci/src/keynote_bench.rs | 2 +- tools/ci/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ci/README.md b/tools/ci/README.md index 980f290c572..d46b84946a8 100644 --- a/tools/ci/README.md +++ b/tools/ci/README.md @@ -147,7 +147,7 @@ Usage: help [COMMAND]... Runs the keynote benchmark as a CI performance regression gate. -Assumes release SpacetimeDB binaries and the TypeScript SDK are already built, runs the keynote SpacetimeDB benchmark for 60 seconds against the TypeScript and Rust modules, and fails if throughput is below 275K TPS for TypeScript or 300K TPS for Rust. +Assumes release SpacetimeDB binaries and the TypeScript SDK are already built, runs the keynote SpacetimeDB benchmark for 60 seconds against the TypeScript and Rust modules, and fails if throughput is below 260K TPS for TypeScript or 275K TPS for Rust. **Usage:** ```bash diff --git a/tools/ci/src/keynote_bench.rs b/tools/ci/src/keynote_bench.rs index 5a217659454..79aa3ca85b9 100644 --- a/tools/ci/src/keynote_bench.rs +++ b/tools/ci/src/keynote_bench.rs @@ -37,7 +37,7 @@ const BENCHMARK_MODULES: &[BenchmarkModule] = &[ BenchmarkModule { label: "TypeScript", module_dir: "templates/keynote-2/spacetimedb", - min_tps: 275_000.0, + min_tps: 260_000.0, }, BenchmarkModule { label: "Rust", diff --git a/tools/ci/src/main.rs b/tools/ci/src/main.rs index 1725f498839..c7641c3e822 100644 --- a/tools/ci/src/main.rs +++ b/tools/ci/src/main.rs @@ -321,7 +321,7 @@ enum CiCmd { /// /// Assumes release SpacetimeDB binaries and the TypeScript SDK are already built, runs the /// keynote SpacetimeDB benchmark for 60 seconds against the TypeScript and Rust modules, and - /// fails if throughput is below 275K TPS for TypeScript or 300K TPS for Rust. + /// fails if throughput is below 260K TPS for TypeScript or 275K TPS for Rust. KeynoteBench, /// Tests the update flow ///