b.mark("seqfile size", tmp.length());
b.done();
// //////// second phase using the file written in previous phase.
Benchmark b2 = new Benchmark("seqfile_disk_read");
b2.mark("begin");
SeqfileEventSource seq = new SeqfileEventSource(tmp.getAbsolutePath());
seq.open();
MemorySinkSource mem2 = new MemorySinkSource();
EventUtil.dumpAll(seq, mem2);