-
Notifications
You must be signed in to change notification settings - Fork 175
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
test(store-sync): benchmark storage adapters #2206
Conversation
|
Hooks ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! describe.each
feels a lot nicer
Adds benchmarks comparing RECS, Zustand and SQLite when:
Each benchmark is run for 10, 100, 1000 records. The logs for these records are generated in
e2e
and saved in files as it is awkward/impractical to regenerate them in the benchmark environment.In future we can add more benchmarks (like comparing
runQuery
), and polish the benchmarking suites with Vitest hooks.Results
Hydration
Fetching a single record
Fetching all records in a table