Improved benchmark
This commit is contained in:
parent
37bbde874a
commit
0645463706
1 changed files with 2 additions and 2 deletions
|
@ -29,9 +29,9 @@ func BenchmarkMedium(b *testing.B) {
|
|||
}
|
||||
|
||||
func BenchmarkLarge(b *testing.B) {
|
||||
small, err := os.ReadFile("testdata/large.md")
|
||||
large, err := os.ReadFile("testdata/large.md")
|
||||
assert.Nil(b, err)
|
||||
input := string(small)
|
||||
input := string(large)
|
||||
|
||||
for range b.N {
|
||||
markdown.Render(input)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue