-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Slow loading big text file and slow scrolling if more than 10k lines #2074
Comments
Can you share this large file? Does the log file say anything? |
I went ahead and tried to repro with https://github.com/json-iterator/test-data/blob/master/large-file.json The log looks like:
Did find load to be a bit slow, but once open pretty responsive. |
Probably a duplicate of #338 |
Copying that big file to a As JSON, editing the file is pretty slow (possibly related to #1939) but scrolling around it is very fast. |
For big log files, regex based syntax highlighting via plugins would probably be ideal. |
forgot to mention, the scrolling via Mouse or Touch pad is easily jammed... while scroll via Arrow Key or paging shortcut is fast. editing is absolutely not feasible in large json... even copy n paste would hang. |
Yeah mouse based scrolling will send a whole bunch of scroll events and each will trigger a re-render. |
Thanks for this, that's a decent file to do measurements on! |
@kirawi why was this closed? |
I thought that the slow scrolling was related to #338 as it sounded like mouse scrolling would trigger highlighting events |
Closing in favor of #4513 as it's more descriptive of the issue. |
using latest master branch.
2 problems:
tested to load open json files with more than 10k-30k lines of data. even if it's only 20-30mb
it's very slow during load, sometime will crash.
loaded, then scroll down and up, if scroll a bit, the scroll seems ok, but if keep scrolling fast, it will hang and jammed....
The text was updated successfully, but these errors were encountered: