@@ -0,0 +1,1202 @@
+package org.commonmark;%0A%0Aimport org.commonmark.parser.Parser;%0Aimport org.commonmark.renderer.html.HtmlRenderer;%0Aimport org.commonmark.testutil.TestResources;%0A%0Aimport java.util.Collections;%0Aimport java.util.List;%0A%0Apublic class ProfilingMain %7B%0A%0A    private static final String SPEC = TestResources.readAsString(TestResources.getSpec());%0A    //    private static final List%3CString%3E SPEC_EXAMPLES = ExampleReader.readExampleSources(TestResources.getSpec());%0A    private static final Parser PARSER = Parser.builder().build();%0A    private static final HtmlRenderer RENDERER = HtmlRenderer.builder().build();%0A%0A    public static void main(String%5B%5D args) throws Exception %7B%0A        System.out.println(%22Started up, attach profiler now%22);%0A        Thread.sleep(10_000);%0A        System.out.println(%22Parsing and rendering%22);%0A        parseAndRender(Collections.singletonList(SPEC));%0A        System.out.println(%22Finished parsing%22);%0A    %7D%0A%0A    private static long parseAndRender(List%3CString%3E examples) %7B%0A        long length = 0;%0A        for (String example : examples) %7B%0A            String result = RENDERER.render(PARSER.parse(example));%0A            length += result.length();%0A        %7D%0A        return length;%0A    %7D%0A%7D%0A

Add class used for profiling