⚠️ This issue respects the following points: ⚠️
Description
Using a big markdown file, I notice a significant performance degradation when I upgraded Markor from 2.14.1 (normal release) to 2.15.2 (using Marder, latest debug version).
I use a big file everyday, but I can't post it here, so I created a new sample one from a free eBook, which I tried to give the same characteristics as my file (size, number of lines, of headings, kind of markdown used).
My file shows an even greater performance penalty, but I don't know exactly why and the sample seems enough to reproduce the problem:
Chesterton.md
What sort of delay am I seeing?
I am using a OnePlus Nord CE 5G with 8GB of RAM which generally feels fast and snappy.
Syntax highlighting is turned on in all tests.
Turning it off doesn't seem to make a very noticeable difference.
- opening the file takes around 1.5s before upgrade, 3s or 4s after
- opening/closing the keyboard goes from almost immediate to noticeable (1 or 1.5s)
- navigating to a chapter by tapping on the top bar and selecting: no apparent performance hit
Steps to reproduce
- Open the file
- Open keyboard or close it
- Contrast delays in both versions
Information
Android version: 11
Device: OnePlus Nord CE 5G / 8G RAM / SnapDragon 750G
App Version: 2.14.1 / 2.15.2
Source
Github apk
Format / File type
Markdown
Description
Using a big markdown file, I notice a significant performance degradation when I upgraded Markor from 2.14.1 (normal release) to 2.15.2 (using Marder, latest debug version).
I use a big file everyday, but I can't post it here, so I created a new sample one from a free eBook, which I tried to give the same characteristics as my file (size, number of lines, of headings, kind of markdown used).
My file shows an even greater performance penalty, but I don't know exactly why and the sample seems enough to reproduce the problem:
Chesterton.md
What sort of delay am I seeing?
I am using a OnePlus Nord CE 5G with 8GB of RAM which generally feels fast and snappy.
Syntax highlighting is turned on in all tests.
Turning it off doesn't seem to make a very noticeable difference.
Steps to reproduce
Information
Android version: 11
Device: OnePlus Nord CE 5G / 8G RAM / SnapDragon 750G
App Version: 2.14.1 / 2.15.2
Source
Github apk
Format / File type
Markdown