rocicorp / replicache

Realtime Sync for Any Backend Stack
https://doc.replicache.dev
1.05k stars 37 forks source link

Performance results #870

Closed arv closed 2 years ago

arv commented 2 years ago

This visualizes performance runs on M1 (2020) and MacPro (2015)

It runs the perf tests with 4kb and 8kb chunk size.

The p95 results are removed from the graph.

Lower is better

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rocicorp/replicache/FXrTzvvsaz76tndMuqjdBJ8BMA4g
✅ Preview: https://replicache-git-arv-btree-chunk-size-rocicorp.vercel.app

arv commented 2 years ago

You can run this using npx http-sever or any other static file http server

Lower is better

Screen Shot 2022-03-14 at 17 11 22

It looks like we should stick with 8kb

arv commented 2 years ago

writeSubReadOnly

Screen Shot 2022-03-14 at 17 15 05
arv commented 2 years ago

scan onlye

Screen Shot 2022-03-14 at 17 16 00
arv commented 2 years ago

@aboodman @grgbkr

arv commented 2 years ago

I moved this to codesandbox.

https://codesandbox.io/s/repl-btree-chunk-size-wnp5vy?file=/src/index.js https://wnp5vy.csb.app/