cloudflare/vinext
Publicmirrored from https://github.com/cloudflare/vinextAvailable
examples/benchmarks/app/page.tsx
20lines · modecode
| 1 | import { Dashboard } from "./components/dashboard"; |
| 2 | |
| 3 | /** |
| 4 | * Homepage — server component shell. |
| 5 | * The interactive dashboard (tabs, charts, data fetching) is a client component. |
| 6 | */ |
| 7 | export default function HomePage() { |
| 8 | return ( |
| 9 | <div> |
| 10 | <div className="mb-8"> |
| 11 | <h1 className="text-2xl font-bold tracking-tight">Performance Dashboard</h1> |
| 12 | <p className="mt-1 text-sm text-gray-500"> |
| 13 | Benchmarks run on every merge to main. Comparing Next.js 16 (Turbopack) vs vinext |
| 14 | (Rollup) vs vinext (Rolldown). |
| 15 | </p> |
| 16 | </div> |
| 17 | <Dashboard /> |
| 18 | </div> |
| 19 | ); |
| 20 | } |
| 21 | |