public BenchmarkChannelHandler(int bufferSize) {
// for plaintext connections it is better to use direct buffers
reader = new ChannelReader(true/*direct*/,
bufferSize/*initial capacity*/,
bufferSize * 10/*max capacity*/);
writer = new ChannelWriter(true/*direct*/);
writer.addBufferSizeListener(this);
// hardwire reader -> writer
reader.setNextForwarder(writer);
start = System.currentTimeMillis();
System.out.println(DATE_FORMAT.format(start)