Closed as duplicate
Description
Description
- Version: v0.20.0-rc.1
- OS: Linux
- Issue Description:
Opening and rendering large Markdown documents is extremely slow.
Steps to Reproduce
- Steps to Reproduce:
- Open MarkText v0.20.0-rc.1 on Linux.
- Try to open a large
.mdfile. - Observe the loading and rendering process of the editor.
Expected Behavior
- Expected Behavior:
Large documents should open and render faster, with smooth editing and scrolling.
Actual Behavior
- Actual Behavior:
The loading process takes a very long time, with noticeable lag or high memory usage during the process. - Additional Context:
According to the project's release notes, v0.20.0 rewrites the editor engine to improve large document performance. However, when testing this RC version on Linux, I still encountered significant performance issues. I hope this can be identified and fixed.
Screenshots / Logs
No response
Operating System
Linux (AppImage)
MarkText Version
v0.20.0-rc.1
OS Version
Deepin V25
Reproducibility
- I can reliably reproduce this issue
Metadata
Metadata
Assignees
Labels
No labels
Activity
dingyongjiu commentedon Aug 25, 2026
The same issue exists in Windows 11.
ice42o commentedon Sep 1, 2026
try this one :https://github.com/tizuio/TizuMark-Markdown-Editor
perf(muya): collapse redundant per-keystroke tokenization in inputHan…
Jocs commentedon Sep 18, 2026
Thanks for the report.
Large documents still opening slowly is already tracked in #3518 (hang/crash when opening large files) and #3640 (large-file performance). 0.20's new editor engine (
@muyajs/core) makes editing considerably cheaper, but the initial parse and render still happen in one pass with no virtualization, so a big file keeps the window busy while it loads — on Linux as on the other platforms. A 0.19.1 report of the same problem (#4887) is being folded into the same thread.Closing as a duplicate of #3518. To make it actionable, please attach the file there (or describe it: size, number of paragraphs, tables, images, code blocks) together with how long it takes to open.