AntennaPod/parser
ByteHamster 7b390f1c92
Speed up feed parsing (#7023)
AntennaPod is quite slow with huge feeds. The reason is that we have a bunch of workarounds for misbehaving feeds that also make it slower to work with feeds that do not misbehave.

Changes:

- Only start guessing duplicate episodes when no "proper" match is found
- Only parse non-html as HTML for attributes that really need it
- Do not log failed Long parsing when size is not specified
- Try to parse dates with RFC822 first before falling back to workarounds for other formats

I ran a benchmark with "Stuff you should know" (for which the workarounds are not needed) containing 2k episodes. Includes download of 8MB of feed XML (~5 seconds), debug build.
Before: 44 seconds, after: 13 seconds ==> 3.4 times faster feed refresh
2024-03-24 18:04:39 +01:00
..
feed Speed up feed parsing (#7023) 2024-03-24 18:04:39 +01:00
media Bump AGP and Gradle (#6489) 2023-10-17 20:52:21 +02:00
README.md Moved feed parser to its own module 2021-08-28 09:57:41 +02:00

:parser

This folder contains modules that parse data, for example XML or media files.