Reaction become slow when the markdown file is large.
Open
Nobody has claimed this yet.
:beetle: pri/major
🐛 bug
🔭 area/editor
🚄 performance
- Dominant language
- TypeScript
- Stars
- 61.6k
- Forks
- 4.6k
- Avg merge
- 23h 49m
- Merged PRs (30d)
- 89
Description
Description
As the title says, things become slow down even freeze for seconds when the markdown file is large. May case is a file over 1500 lines.
Steps to reproduce
- Open Markdown Text
- Open a markdown file with over 1000 lines.
- Use search, or edit the file
Expected behavior:
Fast response for the UI.
Actual behavior:
Slow or Freeze
Versions
- MarkText:
0.16.3 - Operating system:
Win10, Deepin 20, Manjaro 21.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the slowdown in MarkText with a markdown file over 1,000 lines, using search and editing as described. Profile the affected UI paths to identify the source of the freeze; done means those interactions remain responsive on large files across the reported environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, markdown, typescript
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100