benches/markdown: introduces engine markdown4j
[nit.git] / benchmarks / markdown / engines / markdown4j / Markdown4j.java
1 import com.github.rjeschke.txtmark.Processor;
2 import java.io.File;
3 import java.io.IOException;
4
5 public class Markdown4j {
6 public static void main(String[] args) throws IOException {
7 int n = Integer.parseInt(args[1]);
8 for(int i = 0; i < n; i++) {
9 System.out.println(Processor.process(new File(args[0])));
10 }
11 }
12 }