Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any Benchmark? #5

Open
ErosZy opened this issue Jul 20, 2020 · 10 comments
Open

Any Benchmark? #5

ErosZy opened this issue Jul 20, 2020 · 10 comments

Comments

@ErosZy
Copy link

ErosZy commented Jul 20, 2020

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
Copy link
Owner

galvez commented Jul 20, 2020

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
Copy link
Author

ErosZy commented Jul 20, 2020

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
Copy link
Owner

galvez commented Jul 20, 2020

@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
Copy link
Author

ErosZy commented Jul 21, 2020

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
Copy link

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

@galvez
Copy link
Owner

galvez commented Sep 23, 2020

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

@sessionboy
Copy link

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

@afidegnum
Copy link

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

@tibineagu
Copy link

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
Copy link

soleo commented Jul 23, 2024

Very cool project, found it by accident.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants