1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +00:00
miniflux-v2/internal/reader
jvoisin 868fd9b523 perf(rss): optimize a bit BuildFeed
Calls to urllib.AbsoluteURL take a bit less than 10% of the time spent in
parser.ParseFeed, completely parsing an url only to check if it's absolute, and
if not, to make it so.

Checking if it starts with `https://` or `http://` is usually enough to find if
an url is absolute, and if is doesn't, it's always possible to fall back to
urllib.AbsoluteURL.

This also comes with the advantage of reducing heap allocations, as most of the
time spent in urllib.AbsoluteURL is heap-related (de)allocations.
2025-06-10 15:57:15 +02:00
..
atom feat: populate feed description automatically 2025-05-24 21:15:52 -07:00
date refactor(date): use an else-if instead of two if statements 2025-02-06 19:44:12 -08:00
dublincore Refactor RDF parser to use an adapter 2024-03-12 20:54:05 -07:00
encoding fix(scraper): avoid encoding issue if charset meta tag is after 1024 bytes 2025-02-15 17:05:14 -08:00
fetcher feat: implement proxy URL per feed 2025-04-06 21:05:19 -07:00
googleplay Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
handler feat(config): add SCHEDULER_ROUND_ROBIN_MAX_INTERVAL option 2025-04-11 15:40:32 -07:00
icon feat: implement proxy URL per feed 2025-04-06 21:05:19 -07:00
itunes Refactor RSS Parser to use an adapter 2024-03-13 21:25:09 -07:00
json feat: populate feed description automatically 2025-05-24 21:15:52 -07:00
media Minor simplification of internal/reader/media/media.go 2024-03-18 16:09:32 -07:00
opml fix(api): hide_globally categories field should be a boolean 2025-04-21 19:43:25 -07:00
parser Refactor Atom parser to use an adapter 2024-03-15 17:27:16 -07:00
processor feat(ui): add user setting to control target="_blank" on links 2025-06-08 21:07:11 -07:00
rdf feat: populate feed description automatically 2025-05-24 21:15:52 -07:00
readability Refactor internal/reader/readability/testdata 2024-12-15 20:52:32 -08:00
readingtime refactor(readingtime): replace whatlanggo with an ad-hoc implementation 2024-12-26 14:21:07 -08:00
rewrite fix(rewrite): remove obsolete rule for webtoons.com 2025-03-06 20:11:03 -08:00
rss perf(rss): optimize a bit BuildFeed 2025-06-10 15:57:15 +02:00
sanitizer feat(ui): add user setting to control target="_blank" on links 2025-06-08 21:07:11 -07:00
scraper fix(scraper): avoid encoding issue if charset meta tag is after 1024 bytes 2025-02-15 17:05:14 -08:00
subscription feat(rssbridge): support auth token for RSS-Bridge 2025-05-19 20:47:12 -07:00
urlcleaner feat: remove the ref parameter from url 2025-05-06 19:59:55 -07:00
xml perf(xml): optimize xml filtering 2025-06-09 13:49:10 -07:00