-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reader interface major performance issues with large epub files #235
Comments
Hi @gammabowl, would you mind answering the following questions:
Would you reconsider sharing the ebook with me privately if I delete it after testing? You can find my email address on my profile. |
Will send the other details with the epub to your email address. thanks @mickael-menu |
@gammabowl Did you send the EPUB to my email address? I didn't receive it. |
sorry for the delay and thanks for the followup, I have emailed you the epubs to your email id. |
Thanks, I tested your EPUBs on a Pixel 3a, you can see the recording here: https://youtu.be/T1pEp1Ey-1g Here are a few notes:
However I did notice sluggishness with the taps, but only for 3/5 seconds after the page is loaded. After this, tapping toggles the app bar instantly. In the screencast you can see that for one case, I'm loading the page and wait for a few seconds before tapping, which then works properly. I'm thinking that it might be related to Readium CSS's pagination module, because if I enable the scroll mode, taps work right away after loading a page. I'm not dismissing your report, it might be that my phone is more performant than the market average. But I'm not sure what can be done to improve this in the Kotlin codebase directly. I've experienced similar sluggishness for a few seconds after rendering a chapter in Thorium which uses the same pagination method. We had a similar issue with Cyrillic fonts a few months ago too, which might be related: #167. Also the size of the EPUB should not matter for rendering performances. But it could be that your 1MB+ EPUBs have longer chapters taking more time to paginate. So for now I will close this issue, but I'll make sure to talk about this problem during the next Wednesday developper meeting to see how (and where) we can move forward with this. |
Steps to reproduce:
Open a book which is more than 1MB and the ebook reader performance drops drastically.
The ebook reader interface becomes unusable/useless if its a large epub. We didn't have issues like this for smaller sized epubs.
Unfortunately I cannot share the epub as its a paid ebook on the platform where we provide books for reading after purchase.
Example epubs which has this issue:
Please let us know if anyone has any suggestions or faced similar issues ?
The text was updated successfully, but these errors were encountered: