当打开链接时,Emacs很慢并且滞后

时间:2017-02-06 08:14:58

标签: performance emacs

我的emacs有时很慢。特别是当我在光标下打开链接时。

我已经运行了探查器。接下来要做什么?如何提高绩效?

结果如下。 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

- command-execute                                                 113  52%
 - call-interactively                                             113  52%
  - evil-ex                                                        30  13%
   - read-from-minibuffer                                          23  10%
    + command-execute                                               6   2%
    + elscreen-run-screen-update-hook                               2   0%
      redisplay_internal (C function)                               1   0%
  - eval-expression                                                28  12%
   - eval                                                          28  12%
    - debug                                                        28  12%
     - recursive-edit                                              24  11%
      - command-execute                                            16   7%
       - call-interactively                                        16   7%
        + evil-ex                                                   7   3%
        + byte-code                                                 4   1%
        + evil-mouse-drag-region                                    3   1%
        + org-open-at-point                                         1   0%
        + mouse-set-point                                           1   0%
  - evil-mouse-drag-region                                         14   6%
   - evil-mouse-drag-track                                         14   6%
    - eval                                                         14   6%
     - track-mouse                                                 14   6%
      - byte-code                                                  14   6%
       - read-event                                                 9   4%
        + redisplay_internal (C function)                           1   0%
  - org-agenda                                                     10   4%
   - byte-code                                                     10   4%
    - org-agenda-get-restriction-and-command                       10   4%
     - byte-code                                                   10   4%
        read-char-exclusive                                         8   3%
  - byte-code                                                       9   4%
   - read-file-name                                                 9   4%
    + read-file-name-default                                        9   4%
  + minibuffer-complete                                             5   2%
  + org-open-at-point                                               4   1%
  + org-todo                                                        4   1%
  + org-refile                                                      3   1%
  + evil-previous-line                                              2   0%
  + profiler-report-write-profile                                   2   0%
  + profiler-report                                                 1   0%
  + org-ctrl-c-ctrl-c                                               1   0%
- timer-event-handler                                              62  28%
 - byte-code                                                       62  28%
  - apply                                                          62  28%
   - tooltip-timeout                                               62  28%
    - run-hook-with-args-until-success                             62  28%
     - tooltip-help-tips                                           62  28%
      - tooltip-show                                               62  28%
       - byte-code                                                 62  28%
        - x-show-tip                                               59  27%
         - face-set-after-frame-default                            59  27%
          - byte-code                                              59  27%
           - face-spec-recalc                                      57  26%
            - make-face-x-resource-internal                        54  24%
             - set-face-attributes-from-resources                  53  24%
              - set-face-attribute-from-resource                   50  23%
               + face-name                                          4   1%
            + face-spec-set-2                                       2   0%
- ...                                                              26  11%
   Automatic GC                                                    25  11%
 + vc-backend                                                       1   0%
+ elscreen-run-screen-update-hook                                   5   2%
  mouse-fixup-help-message                                          4   1%
+ redisplay_internal (C function)                                   4   1%
  and                                                               2   0%
+ tooltip-show-help                                                 1   0%

更新1

有一段时间我不再观察到这个问题了。

0 个答案:

没有答案