Skip to content

Various possible improvements #9

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

Open
robbiespeed opened this issue Aug 22, 2023 · 0 comments
Open

Various possible improvements #9

robbiespeed opened this issue Aug 22, 2023 · 0 comments

Comments

@robbiespeed
Copy link

robbiespeed commented Aug 22, 2023

When working on adding GC tests #8, I had a few other improvement ideas that came to mind. So I'll suggest them all here, and I'd be happy to make PRs for them at some point if you'd like.

  • Isolated benchmarks: One thing I noticed when benchmarking my own experiments is that if there was a memory leak or heavy task scheduled during one benchmark that would affect the results of the next benchmark and the results of other libraries. It would be great if each benchmark case would run in it's own isolated process then return timings to the main process. This is similar to how js-framework-benchmark behaves.

  • App benchmarks: If libraries have their own unique API they can be forced into taking non optimal paths in order to conform to the reduced ReactiveFramework API. It would be good to see something like a implementation of js-framework-benchmark without the DOM parts, where libraries have freedom to implement a ReactiveApp API.

  • Reporting improvements:

    • Logs/Assertions get collected and reported separately to a log file
    • New column for if there were any assertion failures on a bench case
    • Report crashes on the table as a benchmark failure (Isolated benchmarks will allow this)
divdavem pushed a commit to divdavem/js-reactivity-benchmark that referenced this issue Jan 16, 2025
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

1 participant