Implemented headers and paragraphs
This commit is contained in:
13
benchmarks_test.go
Normal file
13
benchmarks_test.go
Normal file
@ -0,0 +1,13 @@
|
||||
package markdown_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"git.akyoto.dev/go/markdown"
|
||||
)
|
||||
|
||||
func BenchmarkSmall(b *testing.B) {
|
||||
for range b.N {
|
||||
markdown.Render("# Header\nText.\nText.\n# Header\nText.\nText.")
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user