4 ms·
I'm a bit bummed out that in memory didn't increase performance, any idea why?
by jokoon 3y ago
I'm a bit bummed out that in memory didn't increase performance, any idea why?
- Khoth 3y agoSounds like they were testing it with a small enough amount of data that the disk version could just work from cache and didn't actually have to go to the disk
- joseferben 3y agoI've got a hunch that the data was too small to make a difference: https://stackoverflow.com/a/764743 https://stackoverflow.com/a/764743
- justinclift 3y agoA rough guess without knowing any better, would be that their SQLite configuration isn't flushing to disk after every write or similar. Maybe they ran their entire benchmark in a single transaction or something?
- globular-toast 3y agoThe "on-disk" test was really in-memory too, thanks to various layers of caching etc.