Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/app/benchmarks/[slug]/page.tsx
Original file line numberDiff line numberDiff line change
Expand Up@@ -43,6 +43,14 @@ import type { Benchmark } from "@/types/benchmark";
// the route still prerenders cleanly.
export const revalidate = 60;

// Cold start render does up to ~200 Prom calls (provider × percentiles ×
// series queries) which can exceed Vercel's default 10s function timeout
// on benches with 20+ providers. Once ISR warms, the page is cached and
// fast — this only affects the first hit per revalidate window. Bumped
// to 60s to absorb the slow cold path. The actual hot path latency is
// served from the CDN cache so the user-facing P99 stays sub-second.
export const maxDuration = 60;

type Params = { slug: string };

export async function generateStaticParams() {
Expand Down
Loading