Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Big performance hit on large files (5000 lines CSS) #6

Closed
loganwedwards opened this issue Jul 21, 2014 · 3 comments
Closed

Big performance hit on large files (5000 lines CSS) #6

loganwedwards opened this issue Jul 21, 2014 · 3 comments

Comments

@loganwedwards
Copy link

I'm sure this is more related to the fact that our stylesheet is so massive, but there is quite a performance hit when typing and the linter is constantly updating. Would it be possible to have the linter change its behavior to give a smoother experience?

Some ideas:

  • Add a buffer (say a few seconds) after the last key typed before recalculating the errors
  • Disabling yellow warnings (would this help)?
  • Only calculate linting errors shown on current viewport and have a separate find all errors function.
@dmnd
Copy link
Member

dmnd commented Aug 18, 2014

Performance should be a bit better since linter started using the decorations API. How well do things work on your big file these days?

@loganwedwards
Copy link
Author

Performance is greatly improved. Wow! Night and day difference. Thanks @dmnd .

@dmnd
Copy link
Member

dmnd commented Aug 19, 2014

Wow, that's great to hear 😄

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

No branches or pull requests

2 participants