public static DBObject large;
private static void setup() {
small = new BasicDBObject();
BasicBSONList a = new BasicBSONList();
a.put("0", "test");
a.put("1", "benchmark");
medium = BasicDBObjectBuilder.start()
.add("integer", 5)
.add("number", 5.05)
.add("boolean", false)
.add("array", a)
.get();
BasicBSONList harvest = new BasicBSONList();
for (int i=0; i<20; i++) {
harvest.put(i*14+0, "10gen");
harvest.put(i*14+1, "web");
harvest.put(i*14+2, "open");
harvest.put(i*14+3, "source");
harvest.put(i*14+4, "application");
harvest.put(i*14+5, "paas");
harvest.put(i*14+6, "platform-as-a-service");
harvest.put(i*14+7, "technology");
harvest.put(i*14+8, "helps");
harvest.put(i*14+9, "developers");
harvest.put(i*14+10, "focus");
harvest.put(i*14+11, "building");
harvest.put(i*14+12, "mongodb");
harvest.put(i*14+13, "mongo");
}
large = BasicDBObjectBuilder.start()
.add("base_url", "http://www.example.com/test-me")
.add("total_word_count", 6743)
.add("access_time", new Date())