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

When edit big js file , sublime become very slow. (DEV 3208) #2817

Closed
finscn opened this issue May 4, 2019 · 13 comments
Closed

When edit big js file , sublime become very slow. (DEV 3208) #2817

finscn opened this issue May 4, 2019 · 13 comments

Comments

@finscn
Copy link

finscn commented May 4, 2019

Description

When edit big js file (1.6mb) , sublime text 3 become very slow.

Steps to reproduce

  1. open the big js file . I use pixi.js (without minimize , it's 1.6MB)
  2. edit it

Expected behavior

as fast as previous version of sublime text 3

Actual behavior

very solw

Environment

  • Build: Dev 3208
  • Operating system and version: macOS 10.14
@titoBouzout
Copy link
Collaborator

Do you have a link to the file? What line are you editing and becoming slow?

@finscn
Copy link
Author

finscn commented May 7, 2019

@titoBouzout
Copy link
Collaborator

Did you try by disabling all the packages, also which syntax highlighting are you using?

I dont see a noticeable lag, but is also not as smooth.

@gibbopotam
Copy link

The same, very slow for large JS files. Syntax - JavaScript, no lag with Plain Text or with un unsaved buffer. In particular, problems when scrolling @finscn file above. I actually noticed that on my smaller .js file, only about 470kB. MacOS Mojave 10.14.6, Sublime Text Build 3211. It didn't take place on High Sierra (updated to Mojave only recently).

@jfcherng
Copy link

jfcherng commented Feb 26, 2020

Do you guys have the TypeScript package installed? It was the culprit for me.

Or you guys just do a plugin profiling by yourself to find possible culprit(s).
Tools -> Developer... -> Profile Plugins...

@gibbopotam
Copy link

gibbopotam commented Feb 26, 2020

I just reinstalled Sublime Text, the problems persist. As a workaround, with Plain Text being too dull, I use Syntax -> C. Some other syntaxes do also lag for me. @jfcherng: I didn't install TypeScript package, but installed Dart package some time ago and still see it active.

@jfcherng
Copy link

jfcherng commented Feb 26, 2020

do a plugin profiling anyway. if you didn't revert ST to its clean state, re-installation basically does nothing.

@gibbopotam
Copy link

gibbopotam commented Feb 26, 2020

@jfcherng Thanks, it worked! Uninstalling Dart plugin didn't help, but I then uninstalled TypeScript plugin (probably existed by default for I didn't install it), and now I use Syntax -> JavaScript and it's fast. Thanks again.

@MauroSequenzia
Copy link

resolved uninstalling typescript plugin
thnks Jack

@FichteFoll
Copy link
Collaborator

@finscn can you reproduce this issue from your initial report with a reverted profile?

@jfcherng
Copy link

@gibbopotam @MauroSequenzia btw, if you still need typescript syntax highlight, you can use https://packagecontrol.io/packages/TypeScript%20Syntax

@MauroSequenzia
Copy link

@gibbopotam @MauroSequenzia btw, if you still need typescript syntax highlight, you can use https://packagecontrol.io/packages/TypeScript%20Syntax

thank you friend, it is not needed any more

@FichteFoll
Copy link
Collaborator

Closing as timeout.

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

No branches or pull requests

6 participants