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

Bench compare to lit and petite-vue #8

Closed
aelbore opened this issue Oct 21, 2023 · 6 comments
Closed

Bench compare to lit and petite-vue #8

aelbore opened this issue Oct 21, 2023 · 6 comments

Comments

@aelbore
Copy link

aelbore commented Oct 21, 2023

@dy cool project thanks for this, im doing some side projects using this library👍

Do you have plan to have benchmark compare to lit and petite-vue?

thanks

@dy
Copy link
Owner

dy commented Oct 21, 2023

Yeah, that's last thing remaining in plan. If you have some particular input for what you're curious to benchmark.

@aelbore
Copy link
Author

aelbore commented Oct 22, 2023

@dy thanks for the response
maybe include on this benchmark?

https://github.com/krausest/js-framework-benchmark

@dy
Copy link
Owner

dy commented Oct 24, 2023

So comparison with lit, petite-vue, alpine:
image
image
It seems there's potential memory leak or inefficient use of store.
I will try switching back to signals store and see if it improves metrics / fixes leak.

@dy dy closed this as completed Oct 24, 2023
@dy dy reopened this Oct 24, 2023
@dy
Copy link
Owner

dy commented Oct 24, 2023

Also it seems there's a chance to improve DOM swapping. I use more robust but less quick version.

@dy
Copy link
Owner

dy commented Oct 25, 2023

Preliminary result doesn't show any significant perf improvement for signals state over proxy. Maybe should consider instead of signals store to just make proxy support signals
image

@dy dy mentioned this issue Oct 27, 2023
@dy
Copy link
Owner

dy commented Jan 6, 2024

Ok, check https://krausest.github.io/js-framework-benchmark/2023/table_chrome_120.0.6099.62.html - sprae is better than petite-vue in almost all metrics.

@dy dy closed this as completed Jan 6, 2024
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

2 participants