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

Benchmarks for signal implementations #71

Open
littledan opened this issue Mar 30, 2024 · 3 comments
Open

Benchmarks for signal implementations #71

littledan opened this issue Mar 30, 2024 · 3 comments
Labels

Comments

@littledan
Copy link
Member

A few signal benchmarks exist already. It would be great to adapt them to this signal implementation, as well as to consider creating new specialized benchmarks for this API. Such benchmarks would help with implementations of polyfills as well as native engines. It would be ideal if attention could be paid to making benchmarks be realistic representations of application needs.

@fabiospampinato
Copy link

I found js-reactivity-benchmark to be pretty good, it would be worth submitting an implementation with the polyfill there (and updating the results chart)

@joshgillies
Copy link

@WebReflection has also developed a signals benchmark as a part of their usignal implementation: https://github.com/WebReflection/usignal/blob/main/test/benchmark.js

@WebReflection
Copy link

FYI I am planning to port this library to @webreflection/signal as major update and then that will be benchmarked automatically in there too ... somebody mentioned that the S benchmark is not ideal but had zero time to update that so far ... soon though ... ™️

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

No branches or pull requests

5 participants