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

Extension causes high cpu load #5

Open
niranjanaryan opened this issue Oct 24, 2021 · 2 comments
Open

Extension causes high cpu load #5

niranjanaryan opened this issue Oct 24, 2021 · 2 comments

Comments

@niranjanaryan
Copy link

  • Issue Type: Performance
  • Extension Name: linter
  • Extension Version: 0.0.11
  • OS Version: Linux x64 5.8.0-63-generic
  • VS Code version: 1.62.0-insider

⚠️ Make sure to attach this file from your home-directory:
⚠️/tmp/fnando.linter-unresponsive.cpuprofile.txt

Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

@ZerdoX-x
Copy link

ZerdoX-x commented May 8, 2022

This config helped me. (using linter only for yamllint)

    "linter.linters": {
        "brakeman": {
            "enabled": false,
        },
        "credo": {
            "enabled": false,
        },
        "dart": {
            "enabled": false,
        },
        "eslint": {
            "enabled": false,
        },
        "hadolint": {
            "enabled": false,
        },
        "language-tool": {
            "enabled": false,
        },
        "luacheck": {
            "enabled": false,
        },
        "markdownlint": {
            "enabled": false,
        },
        "php-code-sniffer": {
            "enabled": false,
        },
        "proselint": {
            "enabled": false,
        },
        "pylint": {
            "enabled": false,
        },
        "reek": {
            "enabled": false,
        },
        "rubocop": {
            "enabled": false,
        },
        "ruby": {
            "enabled": false,
        },
        "shellcheck": {
            "enabled": false,
        },
        "sqlfluff": {
            "enabled": false,
        },
        "stylelint": {
            "enabled": false,
        },
        "swiftlint": {
            "enabled": false,
        },
        "textlint": {
            "enabled": false,
        },
        "vale": {
            "enabled": false,
        },
        "yamllint": {
            "enabled": true,
        }
    }

@michaelglass
Copy link

I tried using your config (even disabling yamllint because I just want to use linter with actionlint but linter still had prohibitively slow performance characteristics :(

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

3 participants