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

Speeding up CFLint #47

Closed
laserbyte opened this issue Apr 23, 2015 · 1 comment
Closed

Speeding up CFLint #47

laserbyte opened this issue Apr 23, 2015 · 1 comment

Comments

@laserbyte
Copy link

Do you have any suggestions for speeding up CFLint? I would really like to use it as part of the SublimeLinter package but with the lint mode set to background every time I save a file I get the spinning beach ball for a few seconds and the user interface is frozen. Presumably the plugin is running cflint and waiting for that to return which ties up the user interface. I base this assumption on when I run CFLint from the command line it takes about the same amount of time to process the file as the interface is frozen when I save.

@ryaneberly
Copy link
Contributor

The antlr4 version (master branch in cfparser and cflint projects), is
significantly faster over a large fileset (about 10x in my experience).
We're working through getting it release ready, but I don't know how soon
that will happen.

You can build it yourself if you want to try it out.

The only alternative I know of is to somehow keep the cflint/java process
alive in the background and communicate between the plugin and cflint
processes somehow when a save happens.

On Thu, Apr 23, 2015 at 10:20 AM, laserbyte [email protected]
wrote:

Do you have any suggestions for speeding up CFLint? I would really like to
use it as part of the SublimeLinter package but with the lint mode set to
background every time I save a file I get the spinning beach ball for a few
seconds and the user interface is frozen. Presumably the plugin is running
cflint and waiting for that to return which ties up the user interface. I
base this assumption on when I run CFLint from the command line it takes
about the same amount of time to process the file as the interface is
frozen when I save.


Reply to this email directly or view it on GitHub
#47.

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