selectel / mongoDB-haskell

MongoDB driver for Haskell
http://hackage.haskell.org/package/mongoDB
Apache License 2.0
21 stars 11 forks source link

really slooooow #18

Open gregwebs opened 10 years ago

gregwebs commented 10 years ago

Our benchmarking shows simiple queries taking 40 ms! If the same program instead opens a new connection to the database (which should be slower) each query only takes 1.5 ms.

gregwebs commented 10 years ago

I made a branch that remove the connection pipelining: https://github.com/gregwebs/mongoDB-haskell/compare/no-pipeline?expand=1

gregwebs commented 10 years ago

This driver branch passes the persistent test suite. Needs to be benchmarked...

gregwebs commented 10 years ago

that branch did not help