miniflux/internal
jvoisin f12d5131b0 Divide the sanitization time by 3
Instead of having to allocate a ~100 keys map containing possibly dynamic
values (at least to the go compiler), allocate it once in a global variable.
This significantly speeds things up, by reducing the garbage
collector/allocator involvements.

Local synthetic benchmarks have shown a improvements from 38% of wall time to only
12%.
2024-02-28 20:00:13 -08:00
..
api Add feed option to disable HTTP/2 to avoid fingerprinting 2024-02-24 22:30:26 -08:00
cli Use modern for loops 2024-02-28 19:55:28 -08:00
config Remove a superfluous condition 2024-02-28 19:47:30 -08:00
crypto Remove github.com/google/uuid 2024-02-26 18:31:12 -08:00
database Add feed option to disable HTTP/2 to avoid fingerprinting 2024-02-24 22:30:26 -08:00
fever Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
googlereader Don't mix up capacity and length 2024-02-28 19:57:30 -08:00
http Fix inaccessible metrics endpoint when listening on Unix socket 2023-12-06 19:52:33 -08:00
integration Use %q instead of "%s" 2024-02-28 19:47:30 -08:00
locale Use a switch-case construct in internal/locale/plural.go instead of an avalanche of if-if-if-if-if 2024-02-28 19:36:38 -08:00
metric Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
model Use %q instead of "%s" 2024-02-28 19:47:30 -08:00
oauth2 Implement structured logging using log/slog package 2023-09-24 22:37:33 -07:00
proxy Proxify video poster attribute 2024-02-23 18:44:20 -08:00
reader Divide the sanitization time by 3 2024-02-28 20:00:13 -08:00
storage Don't mix up capacity and length 2024-02-28 19:57:30 -08:00
systemd Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
template Simplify formatFileSize 2024-02-28 19:32:38 -08:00
tests Use modern for loops 2024-02-28 19:55:28 -08:00
timezone Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
ui Use %q instead of "%s" 2024-02-28 19:47:30 -08:00
urllib Use strings.EqualFold instead of strings.ToLower(…) == 2024-02-28 19:47:30 -08:00
validator Remove Golint 2024-02-24 21:17:56 -08:00
version Move internal packages to an internal folder 2023-08-10 20:29:34 -07:00
worker Use modern for loops 2024-02-28 19:55:28 -08:00