Improved performance

This commit is contained in:
2024-04-02 20:14:07 +02:00
parent 52c995659d
commit 56e2a65ec1
2 changed files with 27 additions and 28 deletions

View File

@ -4,7 +4,8 @@ A markdown renderer that supports only a subset of the CommonMark spec in order
## Features
- Code
- Code blocks
- Formatting (bold, italic, monospace)
- Links
- Lists
- Headers
@ -47,9 +48,9 @@ coverage: 100.0% of statements
## Benchmarks
```
BenchmarkSmall-12 8109500 145.1 ns/op 32 B/op 1 allocs/op
BenchmarkMedium-12 556713 1906 ns/op 512 B/op 1 allocs/op
BenchmarkLarge-12 218116 4588 ns/op 2560 B/op 2 allocs/op
BenchmarkSmall-12 5986922 187.5 ns/op 32 B/op 1 allocs/op
BenchmarkMedium-12 1000000 1077 ns/op 512 B/op 1 allocs/op
BenchmarkLarge-12 255178 4055 ns/op 2560 B/op 2 allocs/op
```
## License