Improved benchmark
This commit is contained in:
parent
56e2a65ec1
commit
527dcac884
@ -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…
Reference in New Issue
Block a user