public void testTimedWrite() throws Exception { File storeFile = File.createTempFile("feedback", ".store"); storeFile.deleteOnExit(); final int recordCount = 10000; final LogStoreImpl store = createLogStore(); long start = System.nanoTime(); for (int i = 0; i < recordCount; i++) { store.put(Arrays.asList(new Event("1,2,3,4,5"))); } long end = System.nanoTime(); System.out.printf("Writing %d records took %.3f ms.%n", recordCount, (end - start) / 1.0e6); }