LINUX.ORG.RU

История изменений

Исправление Kostafey, (текущая версия) :

Ok. GC все же сработал, но проблема не в нем, проблема в autocomplete:

- timer-event-handler                                            1726  68%
 - apply                                                         1726  68%
  - ac-update-greedy                                             1720  68%
   - ac-update                                                   1648  65%
    - ac-candidates                                              1314  52%
     - ac-candidates-1                                           1314  52%
      - ac-yasnippet-candidates                                   792  31%
       - yas-active-keys                                          792  31%
        - cl-mapcan                                               703  28%
         - apply                                                  703  28%
          - cl-mapcar                                             703  28%
           - mapcar                                               703  28%
            - yas--table-all-keys                                 703  28%
             - maphash                                            703  28%
              + #<compiled 0x28d0dfd>                             700  27%
        - cl-remove-duplicates                                     89   3%
         - cl--delete-duplicates                                   87   3%
            cl--position                                           21   0%
        mapcar                                                    247   9%
      + eval                                                       24   0%
      + ac-symbol-candidates                                        3   0%
      + ac-variable-candidates                                      2   0%
    - ac-menu-create                                              329  13%
     - popup-create                                               329  13%
      - let*                                                      329  13%
       - progn                                                    329  13%
        - progn                                                   329  13%
         - save-excursion                                         329  13%
          - let*                                                  329  13%
           - let                                                  325  12%
            - while                                               325  12%
             - let                                                325  12%
              - let*                                              230   9%
               - overlays-in                                      229   9%
                - save-excursion                                  229   9%
                 - end-of-visual-line                             131   5%
                  + vertical-motion                                 7   0%
                 + beginning-of-visual-line                        97   3%
                 while                                              1   0%
              + if                                                 90   3%
              + setq                                                3   0%
                while                                               1   0%
           + if                                                     3   0%
           + let*                                                   1   0%
    + ac-update-candidates                                          4   0%
   + ac-start                                                      72   2%
  + #<compiled 0x10011cbd5>                                         4   0%
  + show-paren-function                                             2   0%
- ...                                                             440  17%
   Automatic GC                                                   439  17%
 + minibuffer-inactive-mode                                         1   0%
+ redisplay_internal (C function)                                 145   5%
+ command-execute                                                  99   3%
+ ac-handle-post-command                                           88   3%
+ yas--post-command-handler                                         4   0%
+ ac-handle-pre-command                                             2   0%

Исходная версия Kostafey, :

Ok. GC все жt сработал, но проблема не в нем, проблема в autocomplete:

- timer-event-handler                                            1726  68%
 - apply                                                         1726  68%
  - ac-update-greedy                                             1720  68%
   - ac-update                                                   1648  65%
    - ac-candidates                                              1314  52%
     - ac-candidates-1                                           1314  52%
      - ac-yasnippet-candidates                                   792  31%
       - yas-active-keys                                          792  31%
        - cl-mapcan                                               703  28%
         - apply                                                  703  28%
          - cl-mapcar                                             703  28%
           - mapcar                                               703  28%
            - yas--table-all-keys                                 703  28%
             - maphash                                            703  28%
              + #<compiled 0x28d0dfd>                             700  27%
        - cl-remove-duplicates                                     89   3%
         - cl--delete-duplicates                                   87   3%
            cl--position                                           21   0%
        mapcar                                                    247   9%
      + eval                                                       24   0%
      + ac-symbol-candidates                                        3   0%
      + ac-variable-candidates                                      2   0%
    - ac-menu-create                                              329  13%
     - popup-create                                               329  13%
      - let*                                                      329  13%
       - progn                                                    329  13%
        - progn                                                   329  13%
         - save-excursion                                         329  13%
          - let*                                                  329  13%
           - let                                                  325  12%
            - while                                               325  12%
             - let                                                325  12%
              - let*                                              230   9%
               - overlays-in                                      229   9%
                - save-excursion                                  229   9%
                 - end-of-visual-line                             131   5%
                  + vertical-motion                                 7   0%
                 + beginning-of-visual-line                        97   3%
                 while                                              1   0%
              + if                                                 90   3%
              + setq                                                3   0%
                while                                               1   0%
           + if                                                     3   0%
           + let*                                                   1   0%
    + ac-update-candidates                                          4   0%
   + ac-start                                                      72   2%
  + #<compiled 0x10011cbd5>                                         4   0%
  + show-paren-function                                             2   0%
- ...                                                             440  17%
   Automatic GC                                                   439  17%
 + minibuffer-inactive-mode                                         1   0%
+ redisplay_internal (C function)                                 145   5%
+ command-execute                                                  99   3%
+ ac-handle-post-command                                           88   3%
+ yas--post-command-handler                                         4   0%
+ ac-handle-pre-command                                             2   0%