### Question:
Md2x { public String parse(String src) { Tokens tokens=lexer.lex(src); return parser.parse(tokens); } Md2x();  Md2x(Options options); String parse(String src);  }### Answer:
@Test public void test1() { String markdown=this.readMarkdown("md2x.md"); System.out.println(markdown); System.out.println("----------------------"); Options option=new Options(); Md2x md2x = new Md2x(option); int num=1000; long begin = System.currentTimeMillis(); for (int i = 0; i < num; i++) { md2x.parse(markdown); } long end = System.currentTimeMillis(); System.out.println("total millis:" + (end - begin)); System.out.println("average millis:" + (end - begin)/num); }