Hi fellow Svelters! I just concluded an investigation to know whether it's possible to use the experimental Node SEA feature with SvelteKit, and I'm thrilled to announce that the answer is yes! You can read all about it there:
Post
gautier.devBundling a SvelteKit app into a single binaryThe odyssey of packaging a SvelteKit application using the upcoming Single Executable Application (SEA) Node feature through a custom adapter.
nice! do u have the benchmark code? i wanna try running this on a webapp im working on github.com/cigaleapp/ci... the app *is* local only so it won't bé very interesting i think, but linking to the bench code might be useful if others have server-side heavy apps to test SEA with ^^
github.combuild standalone binary with node sea · Issue #1018 · cigaleapp/cigalesee https://gautier.dev/articles/sveltekit-sea might be useful for the docker image too, maybe? also curious if sth similar is possible with Bun
You can grab the WIP adapter here github.com/GauBen/gauti... (you'll need to install the dependencies imported in the code) then use github.com/hatoo/oha to compare adapter-node vs adapter-node-sea. Please share your benchmark results!
github.comgithub.com
0 reposts1 like
oh yeah so you just ran oha on the routes of the binary, makes sense i think ill also try it out github.com/inp-net/chur... since it's quite large and has an actual server side
github.comGitHub - inp-net/churros: Student life organization platform (mirror)Student life organization platform (mirror). Contribute to inp-net/churros development by creating an account on GitHub.