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

Poor performance when handling/editing large text files (300,000+ lines) #66

Open
MarcellVokk opened this issue Dec 10, 2021 · 1 comment

Comments

@MarcellVokk
Copy link

MarcellVokk commented Dec 10, 2021

Hi everyone,

I've noticed huge lag spikes and freezes when handling/editing large text documents (300,000+ lines).

I don't know if im doing something wrong... It's not that annoying since the user wont handle that large of a document very often anyway.

Can someone help me out???

*Poor performance compared to VS Code... idk if vscode is diferent, but i've heard that it uses Monaco too

@MarcellVokk MarcellVokk changed the title Poor performance when handling large text files (20,000+ lines) Poor performance when handling large text files (300,000+ lines) Dec 11, 2021
@MarcellVokk MarcellVokk changed the title Poor performance when handling large text files (300,000+ lines) Poor performance when handling/editing large text files (300,000+ lines) Dec 11, 2021
@hawkerm
Copy link
Owner

hawkerm commented Dec 13, 2021

@Vadkarika2 can you provide some more details here? Is the performance in loading the document or like scrolling around and editing afterwards? What type of file is it? Can you share the file?

Can you copy the same document into the online Monaco playground here and see the same issues? https://microsoft.github.io/monaco-editor/playground.html (in both Chrome and Microsoft Edge?)

If it repros in just the browser, then this'll be an issue with Monaco itself compared to the wrapper here, so the test above would be really useful to know.

If it does reproduce there, I'd suggest opening a bug on the Monaco repo and also include a video demonstrating the issues you're seeing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants