Improved performance

This commit is contained in:
2024-04-02 10:44:47 +02:00
parent f75ea823a9
commit 09245c5e92
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