Improved performance

This commit is contained in:
Eduard Urbach 2024-04-02 10:44:47 +02:00
parent 67f60d4364
commit 468f571587
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
6 changed files with 138 additions and 40 deletions

View file

@ -1,6 +1,6 @@
# markdown
Markdown renderer.
A markdown renderer that supports only a subset of the CommonMark spec in order to make the rendering more efficient and the syntax more consistent.
## Features
@ -43,7 +43,9 @@ coverage: 100.0% of statements
## Benchmarks
```
BenchmarkSmall-12 2421213 494.2 ns/op 248 B/op 5 allocs/op
BenchmarkSmall-12 7223979 164.2 ns/op 64 B/op 2 allocs/op
BenchmarkMedium-12 832531 1310 ns/op 992 B/op 2 allocs/op
BenchmarkLarge-12 295946 3732 ns/op 3712 B/op 3 allocs/op
```
## License