You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
If one tries to save a large file with atom, the save is performed asynchronously, and if it is configured to remove trailing whitespace, it will block the entire editor for a painfully long time.
Very often I will have a large JSON file open and out of the practice of good habit, I will regularly hit meta-s to save the file. I will then be forced to take a stroll as the entire renderer window will be blocked for what is often a minute or so.
Today I finally performed a profile of the issue and nailed down the cause.
Here is the result for the reload of a large file (~150,000 lines).
Suggested changes
Fix Regex
Execution
I'll take a look at this tonight.
The text was updated successfully, but these errors were encountered:
Problem description
If one tries to save a large file with atom, the save is performed asynchronously, and if it is configured to remove trailing whitespace, it will block the entire editor for a painfully long time.
Very often I will have a large JSON file open and out of the practice of good habit, I will regularly hit
meta-s
to save the file. I will then be forced to take a stroll as the entire renderer window will be blocked for what is often a minute or so.Today I finally performed a profile of the issue and nailed down the cause.
Here is the result for the reload of a large file (~150,000 lines).
Suggested changes
Fix Regex
Execution
I'll take a look at this tonight.
The text was updated successfully, but these errors were encountered: