fast-vue-ssr icon indicating copy to clipboard operation
fast-vue-ssr copied to clipboard

Any Benchmark?

Open ErosZy opened this issue 3 years ago • 9 comments

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?

ErosZy avatar Jul 20 '20 00:07 ErosZy

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.

galvez avatar Jul 20 '20 01:07 galvez

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.

ErosZy avatar Jul 20 '20 01:07 ErosZy

@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.

galvez avatar Jul 20 '20 16:07 galvez

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.

ErosZy avatar Jul 21 '20 01:07 ErosZy

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

sessionboy avatar Sep 23 '20 07:09 sessionboy

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

galvez avatar Sep 23 '20 11:09 galvez

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

sessionboy avatar Sep 23 '20 15:09 sessionboy

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

afidegnum avatar Aug 29 '21 05:08 afidegnum

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?

tibineagu avatar Sep 10 '21 08:09 tibineagu