Skip to content

Conversation

@BoD
Copy link
Contributor

@BoD BoD commented Jan 5, 2026

Add a benchmark that writes 2 pages then reads the cache. Also adds the same with pagination disabled so we can compare.

@BoD BoD requested a review from martinbonnin as a code owner January 5, 2026 17:05
@apollo-librarian
Copy link

apollo-librarian bot commented Jan 5, 2026

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 4fc7a2b3b3e33376f806866c
Build Logs: View logs

@martinbonnin
Copy link
Contributor

What do the results look like?

@BoD
Copy link
Contributor Author

BoD commented Jan 5, 2026

Getting this on my Galaxy S8:

   8,403,713   ns       13974 allocs    noPaginationMemory
   9,755,863   ns       16692 allocs    paginationMemory

   25,976,903   ns       15605 allocs     noPaginationSql
   26,348,941   ns       18645 allocs     paginationSql

   24,937,326   ns       14788 allocs     noPaginationMemoryThenSql
   26,595,691   ns       17497 allocs     paginationMemoryThenSql

@BoD BoD merged commit 4dfadf3 into main Jan 9, 2026
7 checks passed
@BoD BoD deleted the pagination-bench branch January 9, 2026 13:44
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.

3 participants