kiwix-android
kiwix-android copied to clipboard
Zimit-generated zim files take an inordinate amount of time to open.
Steps to reproduce:
- generate zim file via https://youzim.it
- Download onto android
- Open.
I would say it takes a solid 7-10 seconds to open on kiwix-android 3.4.3 (Huawei p20 lite, Android 9). Generally speaking I find that opening files on 3.4.3 is significantly longer than before.
Before means with 3.4.1 I guess. We would need here:
- Your time measurement to load the welcome page on both versions
- The ZIM to run the test.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
@Popolechien any feedback?
@kelson Yup though it is not systematic - testing on Kiwix-android 3.7.1 I can open bibnum, but not athena nor CoopMaths
@Popolechien OK but you understand your comment does to match what your reported first! First you reported "it is (always) slow to open a zimit file" and now you write "it does work (fine?) but only for part of them (zimit files), the others don't work at all!". I understand properly?
@kelson42 Yes I understand. If anything I'd say this has become worse. I cannot reproduce the initial step in the ticket as we cannot download files from youzim.it anymore onto android (until 3.8 at least), so that's the closest we can get.
Happy to rename the ticket if you think it's more appropriate.
@MohitMaliFtechiz if confirmed, this is a serious regression. Please have a look.
@kelson42, @Popolechien I confirm with 3.7.1 we are unable to read athena , CoopMaths. Yesterday we merged #3216 so I have tested with the develop branch and we are able to read these files, but I have seen a strange behavior sometimes it is unable to read these zim files when we frequently switch to Zimit
zim files e.g. if currently CoopMaths is opened and I open Athena and again open the Coopmaths then this error happened. This error is only happening with Zimit files.
@kelson42 I am debugging this error and will place a fix for it.
https://github.com/kiwix/kiwix-android/assets/34593983/7c0df3eb-3df0-4f87-9a38-474331605628