Comment by z3t4
5 days ago
I dont think the micro benchmarks are fair, as it really doesn't matter if something takes 0.01 ms or 0.001 ms even if its 10x faster.
5 days ago
I dont think the micro benchmarks are fair, as it really doesn't matter if something takes 0.01 ms or 0.001 ms even if its 10x faster.
You probably have not been exposed to environments where code performance matters.
I can tell you, for sure, that 0.01ms -> 0.001ms is a massive win in plenty of these environment.
Examples:
* embedded systems
* GPU code
* tight loops in C/Rust
and probably hundreds of other examples.
Until it does ;)
But I still agree - if the benchmark was in memory, Stoolap might be optimized for speed. Sqlite is optimized for persistence, so you have to benchmark on disk and compare how it performs when writes fail.