mongobench is a tool that measures the performance of various types of query loads on a mongodb server.