I am using this library in one of my project. But there is a serious performance issue with this library.
To check is this library issue or another issue I compare the performance of this library with another library Okdownloader and Android app ADM downloader.
Here is a common configuration:
Max thread:9
Max concurrent Download:3
Active Download:3
Download URL:https://excellmedia.dl.sourceforge.net/project/xiaomi-eu-multilang-miui-roms/xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv10/xiaomi.eu_multi_HMNote7Pro_V10.3.5.0.PFHCNXM_v10-9.zip
Device Info:https://valid.x86.fr/a/5lfebk
1) ADM Downloader ( CPU Usage: 25% )

2) OkDownloader Library ( CPU Usage: 24% )

3) Fetch Library ( CPU Usage: 50% )

I love this library and that's the reason I don't want to move to another library.
But this performance issue is a real pain. I hope u will look into this.
The App I develop to perform this test https://github.com/maulik9898/PerformanceTest
Here is CPU profile image from android studio.
1) Ok downloader

2) Fetch

I am no expert in this but this may be helpful to you.
looking into this
This problem only present in PARALLEL mode
@maulik9898 Thanks for reporting in detail. Made it super simple to pin point the issue. It is fixed now. It will be in the next release.
@maulik9898 a new version of fetch is available with this fix. see the readme and changelog.
@tonyofrancis that's awesome man.
cpu usage of fetchActivity drop from 50% to 20%-25% that's amazing
@maulik9898 a new version of fetch is available with this fix. see the readme and changelog.
Sounds version is androidx 3.1.1. But there is no notes about it in 3.1.1 release notes.
@DHosseiny fixed in androidx version 3.1.2 latest. The bug has existed for a long time now. Glad @maulik9898 spotted it.
Most helpful comment
@DHosseiny fixed in androidx version 3.1.2 latest. The bug has existed for a long time now. Glad @maulik9898 spotted it.