benchmark code for mongodb/mysql/other dbs