1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00
miniflux-v2/internal
Julien Voisin 9d32b23ab0
perf(sanitizer): make sanitizer ~10% faster by using slices.Contains instead of nested maps
```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.
2025-08-20 18:54:49 -07:00
..
api test(api): add integration test for fetching categories with counters 2025-08-18 20:08:31 -07:00
cli feat(storage): add limit parameter to ClearRemovedEntriesContent 2025-08-17 17:39:04 -07:00
config refactor(mediaproxy): use *url.URL for MEDIA_PROXY_CUSTOM_URL 2025-08-15 18:12:44 -07:00
crypto perf(reader): use a non-cryptographic hash when possible 2025-06-18 20:28:23 -07:00
database refactor(database): get rid of the sqlite tentative 2025-07-02 17:18:03 -07:00
fever fix(fever): correct sorting direction when using max_id argument 2024-08-17 18:08:01 -07:00
googlereader refactor(request): fix typo in big corp name 2025-08-15 16:24:48 -07:00
http refactor(request): fix typo in big corp name 2025-08-15 16:24:48 -07:00
integration refactor: replace interface{} with any 2025-08-05 20:26:07 -07:00
locale refactor(locale): avoid code duplication in Printer.Printf() function 2025-08-15 18:02:25 -07:00
mediaproxy refactor(mediaproxy): use *url.URL for MEDIA_PROXY_CUSTOM_URL 2025-08-15 18:12:44 -07:00
metric refactor: unexport symbols 2025-08-07 17:27:04 -07:00
model refactor(internal): fix doc comments 2025-08-15 16:24:48 -07:00
oauth2 feat(oidc): use preferred_username first instead of email claim 2025-06-08 18:05:47 -07:00
proxyrotator refactor(proxyrotator): simplify mutex handling 2025-07-07 15:52:16 -07:00
reader perf(sanitizer): make sanitizer ~10% faster by using slices.Contains instead of nested maps 2025-08-20 18:54:49 -07:00
storage fix(storage): index only the first 500K characters of the article contents to avoid tsvector limits 2025-08-17 19:32:56 -07:00
systemd Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
template refactor(templates): be explicit about dependencies 2025-08-20 18:51:51 -07:00
timezone perf(timzone): cache getLocation's results 2025-06-08 13:50:18 -07:00
ui refactor(templates): be explicit about dependencies 2025-08-20 18:51:51 -07:00
urllib perf(sanitizer): improve the performances of the sanitizer (#3497) 2025-07-07 15:21:13 -07:00
validator perf(validator): slightly optimize a regex 2025-06-10 19:20:58 -07:00
version test(version): add a test to enforce the version format 2025-08-18 19:51:09 -07:00
worker feat: add POLLING_LIMIT_PER_HOST to limit concurrent requests per host 2025-08-08 12:33:46 -07:00