summaryrefslogtreecommitdiff
path: root/model/src/main/java/de
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-03-24 18:04:39 +0100
committerGitHub <noreply@github.com>2024-03-24 18:04:39 +0100
commit7b390f1c9299d644ad0339e83724e1457c150410 (patch)
tree8e74d59cc8e3447b81817759869b7d5af1345b12 /model/src/main/java/de
parent084b9c231744a5657a620087b4b560db38b66ab8 (diff)
downloadAntennaPod-7b390f1c9299d644ad0339e83724e1457c150410.zip
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
Diffstat (limited to 'model/src/main/java/de')
0 files changed, 0 insertions, 0 deletions