TanStackT
TanStack3mo ago
10 replies
worthy-azure

Benchmarking experimental persist plugin

The experimental_createQueryPersister seems to be slower compared to the <PersistQueryClientProvider /> one. I get that experimental_createQueryPersister restores from disk when needed, while <PersistQueryClientProvider /> restores the whole cache over RQ's in-memory cache.
I am asking if there are any known methods of benchmarking the plugin. I am trying to use op-sqlite's KV storage too, so I want to rule out the possibility of the KV storage being too slow.
Was this page helpful?