benchmark-postgres-mongo
benchmark-postgres-mongo copied to clipboard
Benchmarking read performance of PostgreSQL and MongoDB on same data sets.
In `src/benchmark/main.go` replace: ````golang startedAt := time.Now().UnixNano() f() finishedAt := time.Now().UnixNano() fmt.Printf("Action: %s, took: %d microseconds \n\n", actionName, (finishedAt - startedAt) / 1000) ```` with using `time.Since` function.
All the queries run under 100ms according to the result, I dont know why did you even bother to do this test with that small data sample. Are 10ms and...
Hi. I love that you put this together. Thank you! I'm a team lead at MongoDB and my team works on our [new Go driver](http://github.com/mongodb/mongo-go-driver) (not mgo, which is a...