The code is purposely a naive implementation, to test how fast each back end is without resorting to optimizations, hacks or tricks. There are probably ways of making it much faster. And even though the production code will be very different to this early experiment, it is not an evil, synthetic micro-benchmark: on the contrary, it is a real application!
You could say that being a benchmark for a specific scenario the results are relevant in that context. But I’d also include the following two checks:
- inserting some rogue data and try to recover
- run a kill -9 midway through the import
Original title and link: Benchmarking MongoDB (NoSQL databases © myNoSQL)