mirror of
https://github.com/miniflux/v2.git
synced 2025-10-10 19:32:06 +00:00
```console
$ go test -bench=. -count=25 > old.txt
$ go test -bench=. -count=25 > new.txt
$ benchstat old.txt new.txt
goos: linux
goarch: arm64
pkg: miniflux.app/v2/internal/reader/sanitizer
│ old.txt │ new.txt │
│ sec/op │ sec/op vs base │
Sanitize-8 21.55m ± 5% 19.64m ± 9% ~ (p=0.059 n=25)
```
Almost a 10% improvement, yay.
|
||
|---|---|---|
| .. | ||
| testdata | ||
| sanitizer.go | ||
| sanitizer_test.go | ||
| srcset.go | ||
| srcset_test.go | ||
| strip_tags.go | ||
| strip_tags_test.go | ||
| truncate.go | ||
| truncate_test.go | ||