Which storage solution is best for your @expo.dev project? I took @mrousavy.com benchmark repo, moved it to expo, and added expo-sqlite too. Results 👇
Post
Seems like MMKV is still king! But also, props to AsyncStorage went from 240ms down to 50ms since React Native 0.68!
0 reposts5 likes
repo: github.com/pvinis/Stora... in case you want to run it for yourself. Or if you want to make a PR for nitro-sqlite :D
github.comGitHub - pvinis/StorageBenchmark: Benchmark App to compare different storage libraries (expo-sqlite, MMKV, AsyncStorage, RealmDB, etc)Benchmark App to compare different storage libraries (expo-sqlite, MMKV, AsyncStorage, RealmDB, etc) - pvinis/StorageBenchmark
Impressive (but debatable 😊) github.com/mrousavy/Sto...
github.comReading Realm values from a `Realm.Dictionary` by kraenhansen · Pull Request #9 · mrousavy/StorageBenchmarkI believe this closer resembles the access pattern used by the MMKV test function, as this will access values from a dictionary of arbitrary key/value pairs. There is no pre-fetching or caching of ...
ok, after looking at that code there, and the comments from you and @mrousavy.com, I decided that I will make the benchmarks a bit more fair. Updating the code now.