2 ms·
DuckDB is great, and DuckDB-WASM is magic. I build a whole LLM benchmark system around it that lets you run the whole benchmark in your browser: https://sql-be
by nl 6mo ago
DuckDB is great, and DuckDB-WASM is magic.
I build a whole LLM benchmark system around it that lets you run the whole benchmark in your browser: https://sql-benchmark.nicklothian.com/#sample-queries-and-sql https://sql-benchmark.nicklothian.com/#sample-queries-and-sq...
Click on a cell and you can run the SQL the LLM generated vs what the solution is: https://sql-benchmark.nicklothian.com/?highlight=ggml-org_gemma-4-E4B-it-GGUF_Q4_K_M https://sql-benchmark.nicklothian.com/?highlight=ggml-org_ge...
The hardest part is getting people to understand that it is interactive! People expect a document-looking webpage to be static, but we can do so much better!
- mrtimo 6mo agoThis is awesome. Is your code open source? It would be cool to make a textbook for SQL in this format.
- nl 6mo agoYes, code here: https://github.com/nlothian/llm-sql-benchmark https://github.com/nlothian/llm-sql-benchmark There is a V2 branch with some minor fixes etc I'm working on.
- mrtimo 6mo agoCan it be run as a static site(github pages) ?
- nl 6mo agoIt is completely static - everything is done on the client side. It's WASM plus client-side React components in a static site. I'm hosting of Cloudflare Pages (without their serverside function hosting), so yes GH pages will work fine.