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

nXML mode too slow #11649

Closed
wasphin opened this issue Nov 26, 2018 · 2 comments
Closed

nXML mode too slow #11649

wasphin opened this issue Nov 26, 2018 · 2 comments
Labels
stale marked as a stale issue/pr (usually by a bot)

Comments

@wasphin
Copy link

wasphin commented Nov 26, 2018

The nXML-mode is so slow that I can not even move cursor up and down.

And this seems not the same as #6689.

- timer-event-handler                                           10691  74%
 - apply                                                        10689  74%
  - sp-show--pair-function                                      10296  71%
   - #<compiled 0x17140b9>                                      10284  71%
    - sp-get-thing                                              10260  71%
     - sp-get-expression                                         9445  65%
      - sp-get-stringlike-or-textmode-expression                 9442  65%
       - sp-get-textmode-stringlike-expression                   9427  65%
        - sp--find-next-textmode-stringlike-delimiter               8820  61%
           sp--search-backward-regexp                            8749  60%
           sp--search-forward-regexp                               48   0%
         + sp-get-pair                                             11   0%
           sp--skip-match-p                                         4   0%
           match-string-no-properties                               1   0%
        + sp--get-allowed-stringlike-list                         509   3%
        + sp--textmode-stringlike-regexp                           72   0%
          -map                                                      1   0%
      + sp--get-stringlike-regexp                                   2   0%
      + sp--get-allowed-regexp                                      1   0%
       sp--looking-back                                           565   3%
     + sp-skip-forward-to-symbol                                    7   0%
     + sp--maybe-init                                               2   0%
     + sp--get-allowed-pair-list                                    2   0%
     + sp-skip-backward-to-symbol                                   1   0%
     + sp--get-closing-regexp                                       1   0%
    + sp-show--pair-echo-match                                     24   0%
   + sp--get-stringlike-regexp                                      5   0%
   + sp--get-allowed-pair-list                                      3   0%
   + sp--get-allowed-regexp                                         2   0%
     sp--looking-back                                               1   0%
  + rng-validate-while-idle                                       227   1%
  + require                                                       112   0%
  + rng-validate-quick-while-idle                                  26   0%
  + mouse-avoidance-fancy                                          19   0%
  + #<lambda 0x1671108e>                                            4   0%
 + timer-activate-when-idle                                         2   0%
+ normal-top-level                                               2887  20%
+ redisplay_internal (C function)                                 380   2%
+ command-execute                                                 325   2%
+ ...                                                              92   0%
+ sp--save-pre-command-state                                        3   0%
+ evil-escape-pre-command-hook                                      1   0%
  sp--post-command-hook-handler                                     1   0%

System Info 💻

  • OS: gnu/linux
  • Emacs: 25.3.2
  • Spacemacs: 0.200.13
  • Spacemacs branch: master (rev. c7a103a)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: emacs
  • Completion: helm
  • Layers:
(auto-completion
 (c-c++ :variables c-c++-enable-clang-support t)
 emacs-lisp go html javascript latex lua markdown octave python sql version-control)
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
@Alexander-Miller
Copy link
Contributor

Fuco1/smartparens#943 should fix that.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

2 participants