Skip to content
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

xhtml / txt / html huge performance issue #310

Open
zeoint opened this issue Nov 17, 2023 · 3 comments
Open

xhtml / txt / html huge performance issue #310

zeoint opened this issue Nov 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@zeoint
Copy link

zeoint commented Nov 17, 2023

Type of installation

Portable (.zip)

Type of reader (if reader related)

epub

Steps to reproduce

  1. Open any xhtml file that has a folder size of > 2000 files. (Tested with >2361 chapters).
  2. Causes a huge performance issue after changing chapter and scrolling down.

Note - The performance loss is mitigated when the side list is hidden. It also increases the scrolling performance.

✔️ Expected Behavior

To not cause performance loss after changing chapter and scrolling down.

❌ Actual Behavior

Causes performance issue after changing chapter and scrolling down.

@zeoint zeoint added the bug Something isn't working label Nov 17, 2023
Copy link

Thank you for your feedback and suggestions. Please note that the author might only respond on weekends, so we kindly ask for your patience and understanding.

@mienaiyami
Copy link
Owner

I believe epub reader with 2000 chapter will perform a lot better compared to 2000 chapters in manga side-list. As I metioned before, current system for reading txt/xhtml is just modified main reader from epub and sidelist from manga reader.

Manga side-list have function that checks for valid files and folder, and even tho it does not run every time you change chapter, but it does read whole folder content (to check if there is new entry, this function is different from checking valid files/folder).
It will probably cause lag.

I suggest you try your epubs in original epub reader with list hidden and check if there is some difference.

@zeoint
Copy link
Author

zeoint commented Nov 17, 2023

I suggest you try your epubs in original epub reader with list hidden and check if there is some difference.

Tried it, the scrolling feels smooth and the performance issue (Scrolling after chapter change) is not present here.

Manga side-list have function that checks for valid files and folder, and even tho it does not run every time you change chapter, but it does read whole folder content (to check if there is new entry, this function is different from checking valid files/folder).
It will probably cause lag.

Looking forward to a solution for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants