zachleat / bench-framework-markdown

A set of scripts to test markdown processing speeds in various site generators/frameworks
34 stars 13 forks source link

Add SvelteKit #10

Closed josh-collinsworth closed 2 years ago

josh-collinsworth commented 2 years ago

Creates a bare-bones SvelteKit blog project (using mdsvex for Markdown processing, and the static adapter to build static files). Also adds the requisite .sh file for benchmarking. (Note: just copied an existing .sh file and modified slightly, but it seems to work.)

PR looks much larger than it really is; most of those lines are the package-lock.json file.

The SvelteKit site just has a homepage that lists all the posts with a link, and of course a page for each post. No extras at all.

I suspect one could get quicker build times by using Vite for the markdown processing instead of mdsvex, but that's for another experiment, I suppose.

zachleat commented 2 years ago

Thank you!