Doom Emacs 性能问题

Doom Eamcs启动后在 SPC ff 打开文件的时候Emacs会卡住,打开org文件的时候也会卡住 profile的分析如下:

 78485  90% - command-execute
 74899  86%  - funcall-interactively
 74763  86%   - find-file
 74760  86%    - find-file-noselect
 74760  86%     - apply
 74760  86%      - editorconfig--advice-find-file-noselect
 74685  86%       - apply
 74684  86%        + #<subr find-file-noselect>
    75   0%       + editorconfig-call-get-properties-function
     3   0%    + pop-to-buffer-same-window
    84   0%   + mwheel-scroll
    46   0%   + execute-extended-command
     4   0%   + evil-mouse-drag-region
     1   0%     evil-next-line
  3586   4%  + byte-code
  4319   4% + ...
  1484   1% + timer-event-handler
   831   0% + doom--after-call-pyim-h
   762   0% + normal-top-level
   544   0% + doom-first-input-hook-init-on-pre-command-hook-h
    61   0% + redisplay_internal (C function)
     3   0% + flycheck-perform-deferred-syntax-check
     1   0% + substitute-command-keys
     1   0% + tooltip-show-help-non-mode

spc f f 从来没卡过 开org会小卡一下 lazyload是这样的

editorconfig关掉。

这个关掉了,打开org文件还是会卡死

看了你的log,可能不是editorconfig的锅, editorconfig又调用了find-file-noselect, log中这一行 + #<subr find-file-noselect> 你需要继续展开到底.