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

Switching between candidates causes short freezes when using company-box-mode with mode-icons-mode #80

Open
fapdash opened this issue Aug 1, 2021 · 0 comments

Comments

@fapdash
Copy link

fapdash commented Aug 1, 2021

Report:

- timer-event-handler                                            9089  87%
 - apply                                                         9088  87%
  - #<compiled 0x1560fee4a721>                                   1032   9%
   - company-box-doc--show                                       1031   9%
    + company-box-doc--fetch-doc-buffer                          1010   9%
    + company-box-doc--set-frame-position                          18   0%
    + company-box-doc--make-buffer                                  2   0%
    + company-call-backend                                          1   0%
  - #<lambda 0x135a7a8b5051d4>                                    196   1%
   - when                                                         196   1%
    - if                                                          196   1%
     - progn                                                      196   1%
      - with-current-buffer                                       196   1%
       - save-current-buffer                                      196   1%
        + mode-icons-set-minor-mode-icon                          196   1%
  - #<lambda 0x135a7a8b5051d4>                                    189   1%
   - when                                                         189   1%
    - if                                                          189   1%
     - progn                                                      189   1%
      - with-current-buffer                                       189   1%
       - save-current-buffer                                      189   1%
        - mode-icons-set-minor-mode-icon                          189   1%
         - mode-icons-get-icon-spec                               183   1%
          - mode-icons-supported-p                                177   1%
           - mode-icons--get-font-xpm-file                        115   1%
              mode-icons-get-icon-file                            115   1%
           + mode-icons--ext-available-p                            7   0%
             mode-icons-supported-font-p                            4   0%
           + mode-icons--get-emoji-xpm-file                         1   0%
             image-type-available-p                                 1   0%
  - #<lambda 0x135a7a8b5051d4>                                    189   1%
   - when                                                         189   1%
    - if                                                          189   1%
     - progn                                                      189   1%
      - with-current-buffer                                       189   1%
       - save-current-buffer                                      189   1%
        - mode-icons-set-minor-mode-icon                          189   1%
         - mode-icons-get-icon-spec                               184   1%
          - mode-icons-supported-p                                179   1%
           - mode-icons--get-font-xpm-file                        120   1%
              mode-icons-get-icon-file                            119   1%
           - mode-icons--ext-available-p                            5   0%
              mode-icons-get-icon-file                              3   0%
             mode-icons-supported-font-p                            3   0%
  - #<lambda 0x135a7a8b5051d4>                                    185   1%
   - when                                                         185   1%
    - if                                                          185   1%
     - progn                                                      185   1%
      - with-current-buffer                                       185   1%
       - save-current-buffer                                      185   1%
        - mode-icons-set-minor-mode-icon                          185   1%
         - mode-icons-get-icon-spec                               184   1%
          - mode-icons-supported-p                                181   1%
           - mode-icons--get-font-xpm-file                        114   1%
              mode-icons-get-icon-file                            110   1%
           - mode-icons--ext-available-p                           10   0%
              mode-icons-get-icon-file                              5   0%
             mode-icons-supported-font-p                            4   0%
  + #<lambda 0x135a7a8b5051d4>                                    177   1%
  + #<lambda 0x135a7a8b5051d4>                                    177   1%
  + #<lambda 0x135a7a8b5051d4>                                    175   1%
  + #<lambda 0x135a7a8b5051d4>                                    175   1%
  + #<lambda 0x135a7a8b5051d4>                                    175   1%
  + #<lambda 0x135a7a8b5051d4>                                    175   1%
  + #<lambda 0x135a7a8b5051d4>                                    175   1%
  + #<lambda 0x135a7a8b5051d4>                                    174   1%
  + #<lambda 0x135a7a8b5051d4>                                    172   1%
  + #<lambda 0x135a7a8b5051d4>                                    172   1%
  + #<lambda 0x135a7a8b5051d4>                                    171   1%
  + #<lambda 0x135a7a8b5051d4>                                    171   1%
  + #<lambda 0x135a7a8b5051d4>                                    171   1%
  + #<lambda 0x135a7a8b5051d4>                                    170   1%
  + #<lambda 0x135a7a8b5051d4>                                    170   1%
  + #<lambda 0x135a7a8b5051d4>                                    170   1%
  + #<lambda 0x135a7a8b5051d4>                                    170   1%
  + #<lambda 0x135a7a8b5051d4>                                    169   1%
  + #<lambda 0x135a7a8b5051d4>                                    169   1%
  + #<lambda 0x135a7a8b5051d4>                                    169   1%
  + #<lambda 0x135a7a8b5051d4>                                    168   1%
  + #<lambda 0x135a7a8b5051d4>                                    168   1%
  + #<lambda 0x135a7a8b5051d4>                                    167   1%
  + #<lambda 0x135a7a8b5051d4>                                    167   1%
  + #<lambda 0x135a7a8b5051d4>                                    167   1%
  + #<lambda 0x135a7a8b5051d4>                                    166   1%
  + #<lambda 0x135a7a8b5051d4>                                    166   1%
  + #<lambda 0x135a7a8b5051d4>                                    166   1%
  + #<lambda 0x135a7a8b5051d4>                                    166   1%
  + #<lambda 0x135a7a8b5051d4>                                    165   1%
  + #<lambda 0x135a7a8b5051d4>                                    165   1%
  + #<lambda 0x135a7a8b5051d4>                                    165   1%
  + #<lambda 0x135a7a8b5051d4>                                    165   1%
  + #<lambda 0x135a7a8b5051d4>                                    164   1%
  + #<lambda 0x135a7a8b5051d4>                                    164   1%
  + #<lambda 0x135a7a8b5051d4>                                    163   1%
  + #<lambda 0x135a7a8b5051d4>                                    163   1%
  + #<lambda 0x135a7a8b5051d4>                                    163   1%
  + #<lambda 0x135a7a8b5051d4>                                    163   1%
  + #<lambda 0x135a7a8b5051d4>                                    162   1%
  + #<lambda 0x135a7a8b5051d4>                                    162   1%
  + #<lambda 0x135a7a8b5051d4>                                    160   1%
  + #<lambda 0x135a7a8b5051d4>                                    156   1%

It looks to me like the icon fie gets loaded every time I'm switching between candidates?

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

1 participant