Skip to content

feat: Benchmark Query Shapes Across Backends - #17

Merged
ThomasHartDev merged 1 commit into
mainfrom
thomas/feat/bench
Sep 4, 2026
Merged

feat: Benchmark Query Shapes Across Backends#17
ThomasHartDev merged 1 commit into
mainfrom
thomas/feat/bench

Conversation

@ThomasHartDev

Copy link
Copy Markdown
Owner

Closes #16

The ActivityStore port now has a shared microbenchmark. It seeds a follow-ring, times point get, author timeline, fan-in home feed, keyset page, and publish, then prints a markdown table of nearest-rank p50/p95/p99 plus relative p50. Writes go to a dedicated writer user so the read shapes stay stable across iterations.

Memory and PGlite both run through the same harness in the test suite. Later backends drop in by implementing the port and calling compareStores.

Seed a follow-ring, time point get, author timeline, fan-in feed, keyset page, and publish, then emit a percentile comparison table so later stores drop in on the same workload.
@ThomasHartDev
ThomasHartDev merged commit 40872d5 into main Sep 4, 2026
@ThomasHartDev
ThomasHartDev deleted the thomas/feat/bench branch September 4, 2026 19:35
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

Successfully merging this pull request may close these issues.

Benchmark activity-feed query shapes across backends

1 participant