11'use client' ;
22
3+ import Link from 'next/link' ;
34import { FadeIn } from '@/components/ui/FadeIn' ;
45import { GlassCard } from '@/components/ui/GlassCard' ;
56
@@ -38,6 +39,9 @@ export function BenchmarksContent() {
3839 < p className = "mt-4 text-lg text-zinc-400 max-w-2xl mx-auto" >
3940 Real-world performance data from the GoSQLX parser, measured on production-grade hardware.
4041 </ p >
42+ < p className = "mt-3 text-xs text-zinc-500" >
43+ Last updated: March 2026 · Based on v1.12.1
44+ </ p >
4145 </ FadeIn >
4246 </ div >
4347 </ section >
@@ -62,6 +66,7 @@ export function BenchmarksContent() {
6266 < section className = "section-padding pb-16" >
6367 < div className = "container-width" >
6468 < FadeIn >
69+ < h2 className = "text-xl font-semibold text-white mb-4" > Parse Benchmarks</ h2 >
6570 < GlassCard className = "p-0 overflow-hidden" hover = { false } >
6671 < div className = "overflow-x-auto" >
6772 < table className = "w-full text-sm text-left" >
@@ -89,6 +94,7 @@ export function BenchmarksContent() {
8994 </ table >
9095 </ div >
9196 </ GlassCard >
97+ < p className = "text-xs text-zinc-500 mt-2 md:hidden" > ← Swipe to see all columns →</ p >
9298 </ FadeIn >
9399 </ div >
94100 </ section >
@@ -111,38 +117,52 @@ export function BenchmarksContent() {
111117 </ tr >
112118 </ thead >
113119 < tbody >
114- < tr className = "border-b border-white/[0.04] hover:bg-white/[0.03] transition-colors" >
115- < td className = "px-6 py-4 text-white font-medium" > GoSQLX</ td >
120+ < tr className = "border-b border-white/[0.04] transition-colors bg-indigo-500/5 border-l-2 border-l-indigo-500" >
121+ < td className = "px-6 py-4 text-white font-medium" >
122+ GoSQLX{ ' ' }
123+ < span className = "ml-2 inline-block rounded-full bg-indigo-500/20 px-2 py-0.5 text-xs font-medium text-indigo-300" >
124+ This Library
125+ </ span >
126+ </ td >
116127 < td className = "px-6 py-4 text-zinc-400" > Go</ td >
117128 < td className = "px-6 py-4 text-zinc-300 font-mono" > 1.38M+</ td >
118129 < td className = "px-6 py-4 text-zinc-300" > Low</ td >
119- < td className = "px-6 py-4 text-accent-green font-medium" > ✓</ td >
130+ < td className = "px-6 py-4 text-accent-green font-medium" >
131+ < span aria-label = "Yes" > ✓</ span >
132+ </ td >
120133 </ tr >
121134 < tr className = "border-b border-white/[0.04] hover:bg-white/[0.03] transition-colors" >
122135 < td className = "px-6 py-4 text-zinc-300 font-medium" > xwb1989/sqlparser</ td >
123136 < td className = "px-6 py-4 text-zinc-400" > Go</ td >
124137 < td className = "px-6 py-4 text-zinc-400 font-mono" > ~380K</ td >
125138 < td className = "px-6 py-4 text-zinc-400" > Higher</ td >
126- < td className = "px-6 py-4 text-zinc-500" > ✗</ td >
139+ < td className = "px-6 py-4 text-zinc-500" >
140+ < span aria-label = "No" > ✗</ span >
141+ </ td >
127142 </ tr >
128143 < tr className = "border-b border-white/[0.04] hover:bg-white/[0.03] transition-colors" >
129144 < td className = "px-6 py-4 text-zinc-300 font-medium" > pg_query_go</ td >
130145 < td className = "px-6 py-4 text-zinc-400" > Go</ td >
131146 < td className = "px-6 py-4 text-zinc-400 font-mono" > ~220K</ td >
132147 < td className = "px-6 py-4 text-zinc-400" > Higher (CGo)</ td >
133- < td className = "px-6 py-4 text-zinc-500" > ✗</ td >
148+ < td className = "px-6 py-4 text-zinc-500" >
149+ < span aria-label = "No" > ✗</ span >
150+ </ td >
134151 </ tr >
135152 < tr className = "border-b border-white/[0.04] hover:bg-white/[0.03] transition-colors" >
136153 < td className = "px-6 py-4 text-zinc-300 font-medium" > blastrain/sqlparser</ td >
137154 < td className = "px-6 py-4 text-zinc-400" > Go</ td >
138155 < td className = "px-6 py-4 text-zinc-400 font-mono" > ~290K</ td >
139156 < td className = "px-6 py-4 text-zinc-400" > Medium</ td >
140- < td className = "px-6 py-4 text-zinc-500" > ✗</ td >
157+ < td className = "px-6 py-4 text-zinc-500" >
158+ < span aria-label = "No" > ✗</ span >
159+ </ td >
141160 </ tr >
142161 </ tbody >
143162 </ table >
144163 </ div >
145164 </ GlassCard >
165+ < p className = "text-xs text-zinc-500 mt-2 md:hidden" > ← Swipe to see all columns →</ p >
146166 </ FadeIn >
147167 </ div >
148168 </ section >
@@ -155,14 +175,39 @@ export function BenchmarksContent() {
155175 < ul className = "space-y-3" >
156176 { methodology . map ( ( item ) => (
157177 < li key = { item } className = "flex items-start gap-3 text-sm text-zinc-400" >
158- < span className = "mt-1.5 block h-1.5 w-1.5 rounded-full bg-zinc-600 shrink-0" />
178+ < span className = "mt-1.5 block h-1.5 w-1.5 rounded-full bg-zinc-400 shrink-0" />
159179 { item }
160180 </ li >
161181 ) ) }
162182 </ ul >
163183 </ FadeIn >
164184 </ div >
165185 </ section >
186+
187+ { /* CTA */ }
188+ < section className = "section-padding pb-24" >
189+ < div className = "container-width" >
190+ < FadeIn >
191+ < div className = "mt-16 text-center" >
192+ < p className = "text-zinc-400 mb-4" > Ready to use GoSQLX in your project?</ p >
193+ < div className = "flex gap-3 justify-center" >
194+ < Link
195+ href = "/docs/getting-started"
196+ className = "inline-flex items-center rounded-lg bg-indigo-600 px-5 py-2.5 text-sm font-medium text-white hover:bg-indigo-500 transition-colors"
197+ >
198+ Get Started
199+ </ Link >
200+ < Link
201+ href = "/playground"
202+ className = "inline-flex items-center rounded-lg border border-white/10 bg-white/5 px-5 py-2.5 text-sm font-medium text-zinc-300 hover:bg-white/10 hover:text-white transition-colors"
203+ >
204+ Try Playground
205+ </ Link >
206+ </ div >
207+ </ div >
208+ </ FadeIn >
209+ </ div >
210+ </ section >
166211 </ main >
167212 ) ;
168213}
0 commit comments