8000 `flycheck-rust-cargo-workspace-root` is a heavy blocking function, it will make type lag. · Issue #2116 · flycheck/flycheck · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
flycheck-rust-cargo-workspace-root is a heavy blocking function, it will make type lag. #2116
Open
@eval-exec

Description

@eval-exec

Feature description

Hello, I found the flycheck-rust-cargo-workspace-root is a heavy blocking function on large rust project, such as rust-lang/rust, it will call shell command: cargo metadata, it's very may cost 500ms ~ 1,2s on large cargo project.

         288   7% - flycheck-handle-signal
         288   7%  - flycheck-finish-checker-process
         220   5%   - #<byte-code-function BB8>
         220   5%    - apply
         220   5%     - flycheck-report-buffer-checker-status
         220   5%      - flycheck-finish-current-syntax-check
         204   5%       - flycheck-filter-errors
         204   5%        - #<byte-code-function 959>
         196   5%         - flycheck-rust-cargo-workspace-root
         196   5%          - flycheck-rust-cargo-metadata
         193   4%           - flycheck-call-checker-process-for-output
         193   4%            - flycheck-call-checker-process
         192   4%             - apply
         192   4%                call-process

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0