code: @Benchmark
  	@BenchmarkMode(Mode.AverageTime)
  	public void byteBufferFileChannel(final Configuration configuration) throws IOException {
  		ByteBuffer buffer = ByteBuffer.allocate(BUFFER_CAPACITY);
  
  		try (RandomAccessFile file = new RandomAccessFile(configuration.file, "rw")) {
  			try (FileChannel channel = file.getChannel()) {
  				for (long i = 0; i < LINES; ++i) {
  					if (buffer.remaining() < DATA.length) {
  						buffer.flip();
  						channel.write(buffer);
  						buffer.clear();
  					}
  
  					if (buffer.remaining() < DATA.length) {
  						file.write(DATA);
  					} else {
  						buffer.put(DATA);
  					}
  				}
  
  				if (buffer.position() > 0) {
  					buffer.flip();
  					channel.write(buffer);
  				}
  			}
  		}
  	}
docs: Benchmarks writing via {@link FileChannel} with using a {@link ByteBuffer} for buffering.
  
  @param configuration
  Configuration with target file
  @throws IOException
  Failed to write to target file