From 24bca51a1276daac2a36a6a2fa611ce03df1c692 Mon Sep 17 00:00:00 2001 From: Derek Cofausper <256792747+decofe@users.noreply.github.com> Date: Tue, 28 Jul 2026 12:34:18 +0000 Subject: [PATCH 1/2] fix(performance): use public nightly preset --- src/marketing/app/_components/stats.ts | 3 +-- src/marketing/app/performance/_lib/runs.ts | 14 ++++++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/marketing/app/_components/stats.ts b/src/marketing/app/_components/stats.ts index cc8440d1..a9be50df 100644 --- a/src/marketing/app/_components/stats.ts +++ b/src/marketing/app/_components/stats.ts @@ -58,8 +58,7 @@ export function statValue(stat: Stat): string { } // Latest run from the current nightly benchmark preset. -const PERF_API_URL = - 'https://perf.tempo.xyz/api/perf/runs?feed=nightly&limit=1&scenario_id=tip20-50k' +const PERF_API_URL = 'https://perf.tempo.xyz/api/perf/runs?feed=nightly&limit=1&scenario_id=public' type PerfRuns = { runs?: { diff --git a/src/marketing/app/performance/_lib/runs.ts b/src/marketing/app/performance/_lib/runs.ts index 906629f9..3e13d558 100644 --- a/src/marketing/app/performance/_lib/runs.ts +++ b/src/marketing/app/performance/_lib/runs.ts @@ -4,8 +4,10 @@ const PERF_API_URL = 'https://perf.tempo.xyz/api/perf/runs?feed=nightly&limit=100' -const DEFAULT_SCENARIO_FROM = '2026-07-13' -const DEFAULT_SCENARIO_ID = 'tip20-50k' +const PUBLIC_SCENARIO_FROM = '2026-07-22' +const PUBLIC_SCENARIO_ID = 'public' +const TIP20_50K_SCENARIO_FROM = '2026-07-13' +const TIP20_50K_SCENARIO_ID = 'tip20-50k' const TIP20_SCENARIO_UNTIL = '2026-07-10' type ApiRun = { @@ -64,8 +66,12 @@ function isNightlyScenario(run: ApiRun): boolean { const scenarioId = run.scenario?.id if (!startedAt || !scenarioId) return false - if (startedAt >= DEFAULT_SCENARIO_FROM) { - return scenarioId === DEFAULT_SCENARIO_ID + if (startedAt >= PUBLIC_SCENARIO_FROM) { + return scenarioId === PUBLIC_SCENARIO_ID + } + + if (startedAt >= TIP20_50K_SCENARIO_FROM) { + return scenarioId === TIP20_50K_SCENARIO_ID } return startedAt < TIP20_SCENARIO_UNTIL && scenarioId.startsWith('tip20-') From f452dd063e55ca026a850a1b5674761b2927b655 Mon Sep 17 00:00:00 2001 From: Derek Cofausper <256792747+decofe@users.noreply.github.com> Date: Tue, 28 Jul 2026 12:40:35 +0000 Subject: [PATCH 2/2] fix(performance): start public preset on July 23 --- src/marketing/app/performance/_lib/runs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/marketing/app/performance/_lib/runs.ts b/src/marketing/app/performance/_lib/runs.ts index 3e13d558..ad0e0d98 100644 --- a/src/marketing/app/performance/_lib/runs.ts +++ b/src/marketing/app/performance/_lib/runs.ts @@ -4,7 +4,7 @@ const PERF_API_URL = 'https://perf.tempo.xyz/api/perf/runs?feed=nightly&limit=100' -const PUBLIC_SCENARIO_FROM = '2026-07-22' +const PUBLIC_SCENARIO_FROM = '2026-07-23' const PUBLIC_SCENARIO_ID = 'public' const TIP20_50K_SCENARIO_FROM = '2026-07-13' const TIP20_50K_SCENARIO_ID = 'tip20-50k'