14 lines
203 B
Go
14 lines
203 B
Go
|
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.")
|
||
|
}
|
||
|
}
|