Skip to content

Commit

Permalink
Add HR regression to benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
munificent committed Sep 1, 2015
1 parent e986d2e commit a23da7e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions benchmark/input.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
**TODO: Add more examples to cover all of the syntax.**

# Regressions

Bad backtracking in the HR parser:

-------------------------- | -------------------------------------------------

# Real-world sample

This input was taken from the test package's README to get a representative
sample of real-world markdown:

## Writing Tests

Tests are specified using the top-level [`test()`][test] function, and test
assertions are made using [`expect()`][expect]:

Expand Down
5 changes: 4 additions & 1 deletion benchmark/output.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<p><strong>TODO: Add more examples to cover all of the syntax.</strong></p>
<h1>Regressions</h1>
<p>Bad backtracking in the HR parser:</p>
<p>-------------------------- | -------------------------------------------------</p>
<h1>Real-world sample</h1>
<p>This input was taken from the test package's README to get a representative
sample of real-world markdown:</p>
<h2>Writing Tests</h2>
<p>Tests are specified using the top-level <a href="http://www.dartdocs.org/documentation/test/latest/index.html#test/test@id_test"><code>test()</code></a> function, and test
assertions are made using <a href="http://www.dartdocs.org/documentation/test/latest/index.html#test/test@id_expect"><code>expect()</code></a>:</p>
<pre class="dart"><code>import "package:test/test.dart";
Expand Down

0 comments on commit a23da7e

Please sign in to comment.