galvez / fast-vue-ssr

Fast Vue SSR experiment with QuickJS and Rust
242 stars 9 forks source link

Any Benchmark? #5

Open ErosZy opened 4 years ago

ErosZy commented 4 years ago

I searched for this project through google, and I have the same idea. But will Quickjs render Vue SSR have any performance problems? Is there any benchmark data on it?

galvez commented 4 years ago

Right now it seems to perform about 4.5x better than Node for Vue.js rendering (with the bundled sample app which has zero complexity). I'm waiting until I finish implementing a full IncomingMessage-like object and am able to put together a more fully-featured example before doing a proper benchmark test and publishing results.

ErosZy commented 4 years ago

AWESOME!!! I will continue to follow this project😍 If the final performance improvement is good, we can use QuickJS to bind file and net/http... nodejs-like APIs for SSR services.

galvez commented 4 years ago

@ErosZy actually the idea is that for everything server-side the Vue application may need, we do it on the Rust side. I'm currently working on fetch/asyncData serialization on the Rust side using a Warp filter.

ErosZy commented 4 years ago

I am not very familiar with Rust, I only know a little C++. But my original idea was to combine it with txiki.js, which should be very interesting if QuickJS has no rendering performance problems in this scene and easy to use.

sessionboy commented 3 years ago

I am very interested in this repo. Has it been completed so far? Can it be used in production?

galvez commented 3 years ago

@sessionboy I haven't -- but I believe this boilerplate can be used to bootstrap a production-ready app, for sure.

sessionboy commented 3 years ago

It's great, I will try to use it.

afidegnum commented 3 years ago

What's the status of this project? can It be used in production ?

tibineagu commented 2 years ago

Right now it seems to perform about 4.5x better than Node for Vue.js rendering

@galvez this sounds extremely promising - have you managed to make any more progress on this?

soleo commented 1 month ago

Very cool project, found it by accident.