From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 10:57:23 2016 Received: (at submit) by debbugs.gnu.org; 9 Jul 2016 14:57:23 +0000 Received: from localhost ([127.0.0.1]:44269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLth3-000567-Kj for submit@debbugs.gnu.org; Sat, 09 Jul 2016 10:57:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLth0-00055s-3S for submit@debbugs.gnu.org; Sat, 09 Jul 2016 10:57:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLtgp-0004W3-07 for submit@debbugs.gnu.org; Sat, 09 Jul 2016 10:57:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLtgo-0004Vr-Rl for submit@debbugs.gnu.org; Sat, 09 Jul 2016 10:57:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLtgh-000574-EB for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 10:57:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLtga-0004VG-CM for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 10:56:58 -0400 Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]:35157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLtga-0004VC-0s for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 10:56:52 -0400 Received: by mail-it0-x233.google.com with SMTP id u186so30401373ita.0 for ; Sat, 09 Jul 2016 07:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=ZqXomjdhamDHEb5vxfv2l8sHWu+qPqPlWhYzL1IypBA=; b=ZwPimss288gpw5m0G2QK1bYNDXFOSVcPPtMsBNbMi6HrMMEqZ2xCSDTsnZB3Df4SeK muaxLkTpPDJb2y158Tjc4HhNMuZHzlIyDWgKSdCNLHamM8IERwd6O6HBf6eWfD+tJO0D GytmgZFXdHqLcdjzhv1sR3s1VPJQsBEhFYXsCpNJDExeF58HidVaOv2w4mr+QKYCGzvO SMoDuVgZK1XTLJg1c+Hc36AmPC+q4R8pU7xrMUhybmwdtPjcwv98PlqzWtH+FuUd5ahF 9Jns7mgeo4KxAepkFVRYAADE72+m+wi2TTQrq1U5uU9fG0yiiRxkeryKoNYyP8/TH8Of q7aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZqXomjdhamDHEb5vxfv2l8sHWu+qPqPlWhYzL1IypBA=; b=aSGQNTILYqLfjzSxIdX88f6LGNM6+8nlP4Lb5SaXdBqb0NeZo5DkYPWucJ++hg25Sz ZONFI/LBLmeOvlL8emPAjA/Ng/AlMEWUi8a2Dl60rRrTduIXpUXHvCsn49t5X+yguDYv 0JbCiECmt3FDvB8b6Ib02B9OM4+0TCdqZOPogrRvcdUQX66z1gfz+jHRQcROBawmlvkA ME3v8lwN+mBPCBNpGG2RyIXg1Ut6eSMEGUgykNxMZfLKtW3GaTAZosI6T6XIDH1wwe+I Ey5Ha095m1Ue/+OAsh2z55hH3Xrep1RAdSNjc7+Pu37Qc0Ogrr2gT7smmort6kOqPc+O dBpQ== X-Gm-Message-State: ALyK8tKULqx7/TU3ngKPYyFsoPgMqy0FG7Cl8y5g6TAGzefPgMkRHe+0IOasM2YI202AXDvPzH9ju0RI9jFJjg== X-Received: by 10.36.29.5 with SMTP id 5mr2405468itj.97.1468076210008; Sat, 09 Jul 2016 07:56:50 -0700 (PDT) MIME-Version: 1.0 From: Aaron Jensen Date: Sat, 09 Jul 2016 14:56:40 +0000 Message-ID: Subject: 25.0.95; Performance regression observable with smartparens To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a1135b194003a580537352169 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1135b194003a580537352169 Content-Type: text/plain; charset=UTF-8 When compared to emacs 24.5, smartparens is now nearly unusable in emacs 25. I'm not familiar enough with emacs to track down the specific performance regression, but it appears to be regular expression or save-excursion related. This is the function that shows up hot on profiles: https://github.com/Fuco1/smartparens/blob/1d858a9ec235cef5285503b6bb34be84cc3f5aa3/smartparens.el#L3621-L3646 Here is one such example profile: - command-execute 20509 84% - call-interactively 20459 84% - funcall-interactively 19411 80% - self-insert-command 10642 43% - sp--post-self-insert-hook-handler 10642 43% - sp-insert-pair 5531 22% - sp--pair-to-insert 5126 21% - sp--all-pairs-to-insert 5116 21% - sp--looking-back-p 5107 21% - sp--looking-back 4620 19% sp--looking-at 7 0% # 4 0% + sp--do-action-p 5 0% sp--strict-regexp-quote 4 0% + sp--pair-to-uninsert 405 1% - sp--all-pairs-to-insert 5111 21% - sp--looking-back-p 5111 21% - sp--looking-back 4642 19% sp--looking-at 3 0% # 4 0% + file-notify-handle-event 7947 32% + newline-and-indent 745 3% The issue was originally reported here as an issue in smartparens: https://github.com/Fuco1/smartparens/issues/595 Since it appears to be an emacs regression, I figured I would report it here as well. Thanks! In GNU Emacs 25.0.95.1 (x86_64-apple-darwin15.5.0, NS appkit-1404.47 Version 10.11.5 (Build 15F34)) of 2016-06-10 built on aaronmbp.local Windowing system distributor 'Apple', version 10.3.1404 Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/25.0.95/share/info/emacs --prefix=/usr/local/Cellar/emacs/25.0.95 --with-xml2 --without-dbus --with-gnutls --with-rsvg --with-imagemagick --with-ns --disable-ns-self-contained' Configured features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Dockerfile Minor modes in effect: helm-descbinds-mode: t magit-auto-revert-mode: t goto-address-prog-mode: t bug-reference-prog-mode: t auto-highlight-symbol-mode: t clean-aindent-mode: t highlight-numbers-mode: t highlight-parentheses-mode: t rainbow-delimiters-mode: t yas-global-mode: t yas-minor-mode: t projectile-global-mode: t projectile-mode: t recentf-mode: t shackle-mode: t global-hungry-delete-mode: t hungry-delete-mode: t evil-mc-mode: t hl-todo-mode: t global-spacemacs-whitespace-cleanup-mode: t spacemacs-whitespace-cleanup-mode: t ws-butler-global-mode: t ws-butler-mode: t winner-mode: t window-numbering-mode: t volatile-highlights-mode: t global-vi-tilde-fringe-mode: t vi-tilde-fringe-mode: t spaceline-info-mode: t spaceline-helm-mode: t save-place-mode: t savehist-mode: t popwin-mode: t persp-mode: t Info-breadcrumbs-in-mode-line-mode: t ido-vertical-mode: t helm-mode: t global-git-gutter+-mode: t git-gutter+-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t flyspell-mode: t global-flycheck-mode: t flx-ido-mode: t eyebrowse-mode: t global-evil-surround-mode: t evil-surround-mode: t global-evil-search-highlight-persist: t evil-search-highlight-persist: t show-smartparens-global-mode: t show-smartparens-mode: t smartparens-mode: t evil-escape-mode: t global-anzu-mode: t anzu-mode: t eval-sexp-fu-flash-mode: t hybrid-mode: t which-key-mode: t override-global-mode: t spacemacs-leader-override-mode: t global-spacemacs-leader-override-mode: t global-undo-tree-mode: t undo-tree-mode: t evil-mode: t evil-local-mode: t diff-auto-refine-mode: t global-hl-line-mode: t xterm-mouse-mode: t global-auto-revert-mode: t global-page-break-lines-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Recent messages: (No changes need to be saved) Saving file /Users/aaronjensen/.emacs.d/.cache/recentf... Wrote /Users/aaronjensen/.emacs.d/.cache/recentf Error during redisplay: (eval (spaceline-ml-main)) signaled (wrong-type-argument stringp nil) When done with a buffer, type C-x # Mark set Saving file /Users/aaronjensen/Source/hex_repro/mix.exs... Wrote /Users/aaronjensen/Source/hex_repro/mix.exs Saving file /Users/aaronjensen/.emacs.d/.cache/recentf... Wrote /Users/aaronjensen/.emacs.d/.cache/recentf Load-path shadows: /Users/aaronjensen/.emacs.d/elpa/helm-20160705.144/helm-multi-match hides /Users/aaronjensen/.emacs.d/elpa/helm-core-20160701.2319/helm-multi-match /Users/aaronjensen/.emacs.d/elpa/ox-gfm-20160520.2040/ox-gfm hides /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-gfm /Users/aaronjensen/.emacs.d/elpa/org-download-20160620.607/org-download hides /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-download /Users/aaronjensen/.emacs.d/elpa/org-bullets-20140918.1137/org-bullets hides /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-bullets /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-texinfo hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-texinfo /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-publish hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-publish /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-org hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-org /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-odt hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-odt /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-md hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-md /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-man hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-man /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-latex hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-latex /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-icalendar hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-icalendar /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-html hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-html /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-beamer hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-beamer /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-ascii hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-ascii /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-w3m hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-w3m /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-version hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-version /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-timer hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-timer /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-table hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-table /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-src hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-src /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-rmail hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-rmail /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-protocol hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-protocol /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-plot hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-plot /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-pcomplete hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-pcomplete /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-mouse hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mouse /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-mobile hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mobile /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-mhe hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mhe /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-macs hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-macs /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-macro hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-macro /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-loaddefs hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-loaddefs /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-list hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-list /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-irc hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-irc /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-install hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-install /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-inlinetask hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-inlinetask /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-info hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-info /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-indent hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-indent /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-id hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-id /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-habit hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-habit /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-gnus hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-gnus /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-footnote hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-footnote /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-feed hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-feed /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-faces hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-faces /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-eshell hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-eshell /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-entities hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-entities /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-element hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-element /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-docview hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-docview /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-datetree hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-datetree /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-ctags hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-ctags /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-crypt hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-crypt /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-compat hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-compat /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-colview hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-colview /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-clock hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-clock /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-capture hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-capture /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-bibtex hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-bibtex /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-bbdb hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-bbdb /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-attach hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-attach /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-archive hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-archive /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-agenda hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-agenda /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-tangle hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-tangle /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-table hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-table /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-sqlite hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-sqlite /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-sql hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-sql /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-shen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-shen /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-screen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-screen /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-scheme hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-scheme /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-scala hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-scala /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-sass hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-sass /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-ruby hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ruby /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-ref hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ref /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-R hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-R /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-python hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-python /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-plantuml hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-plantuml /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-picolisp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-picolisp /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-perl hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-perl /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-org hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-org /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-octave hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-octave /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-ocaml hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ocaml /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-mscgen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-mscgen /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-maxima hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-maxima /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-matlab hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-matlab /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-makefile hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-makefile /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-lob hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-lob /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-lisp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-lisp /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-lilypond hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-lilypond /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-ledger hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ledger /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-latex hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-latex /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-keys hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-keys /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-js hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-js /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-java hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-java /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-io hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-io /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-haskell hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-haskell /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-gnuplot hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-gnuplot /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-fortran hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-fortran /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-exp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-exp /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-eval hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-eval /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-emacs-lisp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-emacs-lisp /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-dot hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-dot /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-ditaa hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ditaa /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-css hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-css /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-core hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-core /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-comint hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-comint /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-clojure hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-clojure /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-calc hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-calc /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-C hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-C /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-awk hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-awk /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-asymptote hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-asymptote /Users/aaronjensen/.emacs.d/elpa/seq-2.16/seq hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/emacs-lisp/seq Features: (shadow sort mail-extr emacsbug sendmail alchemist alchemist-macroexpand alchemist-company alchemist-help alchemist-complete alchemist-refcard alchemist-phoenix alchemist-compile alchemist-iex alchemist-message alchemist-hooks alchemist-hex alchemist-mix alchemist-info alchemist-goto alchemist-scope alchemist-eval alchemist-interact alchemist-server alchemist-execute alchemist-report alchemist-test-mode alchemist-project alchemist-file alchemist-key alchemist-utils elixir-mode pkg-info epl elixir-smie company-web-html emmet-mode web-mode dockerfile-mode json-mode json-reformat json-snatcher js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs markdown-mode helm-ag flycheck-elm company-robe evil-matchit robe inf-ruby rubocop ruby-tools gitignore-mode conf-mode term/xterm xterm deft calc calc-loaddefs calc-macs cua-base org-eldoc evil-org ob-shell org-bullets org-download toc-org ert debug image-file org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr org-bibtex bibtex org-bbdb org-w3m ox-gfm ox-md ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element avl-tree org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs helm-command helm-elisp helm-eval edebug mwim avy misearch multi-isearch company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-nxml company-bbdb yaml-mode helm-descbinds fill-column-indicator magit-gitflow linum git-rebase magit-gh-pulls gh gh-users gh-issues gh-pulls gh-repos gh-gist gh-oauth gh-api logito gh-cache pcache eieio-base gh-auth gh-common gh-url gh-profile evil-magit magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert magit-process magit-popup magit-mode magit-git crm magit-section magit-utils goto-addr bug-reference auto-highlight-symbol clean-aindent-mode highlight-numbers parent-mode highlight-parentheses hideshow rainbow-delimiters clojure-snippets yasnippet sh-script executable helm-projectile projectile grep ibuf-ext ibuffer recentf tree-widget shackle hungry-delete fill-or-unfill fix-autorevert-breaking-git eval-overlay fix-bracketed-paste company-simple-complete init-terminal-cursor evil-terminal-cursor-changer init-org init-magit init-elixir init-deft evil-mc evil-mc-command-execute evil-mc-command-record evil-mc-cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands evil-mc-common hl-todo xterm-color spacemacs-whitespace-cleanup ws-butler winner window-numbering etags xref project volatile-highlights vi-tilde-fringe tmux spaceline-config spaceline-segments s spaceline powerline powerline-separators powerline-themes smartparens-config smartparens-ruby smartparens-html saveplace savehist ruby-test-mode pcre2el rxt re-builder ruby-mode smie popwin persp-mode osx-trash info+ image-mode ido-vertical-mode helm-mode helm-files image-dired dired-x dired-aux ffap helm-buffers helm-elscreen helm-tags helm-bookmark helm-adaptive helm-info bookmark pp helm-locate helm-grep helm-regexp helm-plugin helm-external helm-net browse-url xml helm-utils helm-help helm-types git-gutter-fringe+ fringe-helper git-gutter+ git-commit with-editor async-bytecomp async tramp-sh server log-edit pcvs-util add-log docker-tramp tramp-cache tramp tramp-compat tramp-loaddefs trampver shell pcomplete flyspell-correct-helm helm helm-source helm-multi-match helm-lib flyspell-correct flyspell ispell flycheck find-func flx-ido flx ido eyebrowse exec-path-from-shell evil-surround evil-search-highlight-persist evil-numbers evil-lisp-state smartparens evil-indent-plus evil-exchange evil-escape evil-args evil-anzu anzu cider-eval-sexp-fu eval-sexp-fu rx highlight diff-hl vc-dir ewoc vc vc-dispatcher company-web dash company-css company web-completion-data adaptive-wrap hybrid-mode evil-evilified-state which-key use-package diminish bind-key hydra lv cus-edit cus-start cus-load bind-map color evil evil-integration undo-tree diff evil-maps evil-commands evil-jumps evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core evil-common windmove thingatpt rect evil-digraphs evil-vars compile comint ansi-color ring vc-git diff-mode autoload info mm-archive message dired format-spec rfc822 mml mml-sec epg mailabbrev gmm-utils mailheader url-handlers mail-utils network-stream nsm starttls url-http tls gnutls url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap quelpa url-parse auth-source gnus-util password-cache url-vars package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json map lisp-mnt hl-line xt-mouse autorevert filenotify disp-table wid-edit monokai-theme finder-inf init-html init-javascript sgml-mode init-evil core-configuration-layer eieio-compat cl-seq ht cl warnings package epg-config seq eieio byte-opt bytecomp byte-compile cl-extra help-mode cconv eieio-core core-spacemacs core-use-package-ext core-transient-state core-micro-state core-toggle core-keybindings core-fonts-support core-spacemacs-buffer derived edmacro kmacro core-funcs cl-macs gv core-themes-support core-display-init core-auto-completion core-release-management core-dotspacemacs core-command-line core-debug advice profiler easymenu cl-loaddefs cl-lib page-break-lines easy-mmode subr-x pcase time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 1027204 982968) (symbols 48 76747 21) (miscs 40 10656 22806) (strings 32 208072 282751) (string-bytes 1 7135132) (vectors 16 113725) (vector-slots 8 2540642 333664) (floats 8 2447 14293) (intervals 56 12098 12677) (buffers 976 92)) -- Aaron --001a1135b194003a580537352169 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
When compared to emacs 24.5, smartparens is now nearl= y unusable in emacs
25. I'm not familiar enough with emacs to= track down the specific
performance regression, but it appears t= o be regular expression or
save-excursion related. This is the fu= nction that shows up hot on
profiles:

https://github.com/Fuco1/smart= parens/blob/1d858a9ec235cef5285503b6bb34be84cc3f5aa3/smartparens.el#L3621-L= 3646

Here is one such example profile:

- command-execute =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 20509 =C2=A084%
= =C2=A0- call-interactively =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 20459 =C2=A084%
=C2=A0 - funcall-interac= tively =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 19411 = =C2=A080%
=C2=A0 =C2=A0- self-insert-command =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A010642 =C2=A043%
=C2= =A0 =C2=A0 - sp--post-self-insert-hook-handler =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 10642 =C2=A043%
=C2=A0 =C2=A0 =C2=A0- sp-insert-pair =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05531 =C2=A022%
= =C2=A0 =C2=A0 =C2=A0 - sp--pair-to-insert =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 5126 =C2=A021%
=C2=A0 =C2=A0 =C2=A0 = =C2=A0- sp--all-pairs-to-insert =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 5116 = =C2=A021%
=C2=A0 =C2=A0 =C2=A0 =C2=A0 - sp--looking-back-p =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 5107 =C2=A021%
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0- sp--looking-back =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04620 =C2=A019%
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 sp--looking-at =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A07 =C2=A0 0%
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#<compiled 0x2b3d647> =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04 =C2=A0 0%
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 + sp--do-action-p =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 5 =C2=A0 0%
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 sp--strict-regexp-quote =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 4 =C2=A0 0%
=C2=A0 =C2=A0 =C2=A0 + sp--pair-to-uninser= t =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0405 =C2=A0 1%
=C2=A0 =C2=A0 =C2=A0- sp--all-pairs-to-insert =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 5111 =C2=A021%
=C2=A0 =C2=A0 =C2=A0 - sp= --looking-back-p =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 5111 =C2=A021%
=C2=A0 =C2=A0 =C2=A0 =C2=A0- sp--looking-back = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04642 =C2= =A019%
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sp--looking-at =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A03 = =C2=A0 0%
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#<compiled 0x2b3d6= 47> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A04 =C2=A0 = 0%
=C2=A0 =C2=A0+ file-notify-handle-event =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A07947 =C2=A032%
=C2=A0 =C2=A0+ newl= ine-and-indent =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 745 =C2=A0 3%

The issue was original= ly reported here as an issue in smartparens:


Since it appears t= o be an emacs regression, I figured I would report it
here as wel= l. Thanks!

In GNU Emacs 25.0.95.1 (x86_64-apple-da= rwin15.5.0, NS appkit-1404.47 Version 10.11.5 (Build 15F34))
=C2= =A0of 2016-06-10 built on aaronmbp.local
Windowing system distrib= utor 'Apple', version 10.3.1404
Configured using:
=C2=A0'configure --disable-dependency-tracking --disable-silent-rule= s
=C2=A0--enable-locallisppath=3D/usr/local/share/emacs/site-lisp=
=C2=A0--infodir=3D/usr/local/Cellar/emacs/25.0.95/share/info/ema= cs
=C2=A0--prefix=3D/usr/local/Cellar/emacs/25.0.95 --with-xml2 -= -without-dbus
=C2=A0--with-gnutls --with-rsvg --with-imagemagick = --with-ns
=C2=A0--disable-ns-self-contained'

Configured features:
JPEG RSVG IMAGEMAGICK NOTIFY ACL GN= UTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
NS

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mod= e: Dockerfile

Minor modes in effect:
=C2= =A0 helm-descbinds-mode: t
=C2=A0 magit-auto-revert-mode: t
=
=C2=A0 goto-address-prog-mode: t
=C2=A0 bug-reference-prog-m= ode: t
=C2=A0 auto-highlight-symbol-mode: t
=C2=A0 clea= n-aindent-mode: t
=C2=A0 highlight-numbers-mode: t
=C2= =A0 highlight-parentheses-mode: t
=C2=A0 rainbow-delimiters-mode:= t
=C2=A0 yas-global-mode: t
=C2=A0 yas-minor-mode: t
=C2=A0 projectile-global-mode: t
=C2=A0 projectile-mode:= t
=C2=A0 recentf-mode: t
=C2=A0 shackle-mode: t
<= div>=C2=A0 global-hungry-delete-mode: t
=C2=A0 hungry-delete-mode= : t
=C2=A0 evil-mc-mode: t
=C2=A0 hl-todo-mode: t
=
=C2=A0 global-spacemacs-whitespace-cleanup-mode: t
=C2=A0 sp= acemacs-whitespace-cleanup-mode: t
=C2=A0 ws-butler-global-mode: = t
=C2=A0 ws-butler-mode: t
=C2=A0 winner-mode: t
<= div>=C2=A0 window-numbering-mode: t
=C2=A0 volatile-highlights-mo= de: t
=C2=A0 global-vi-tilde-fringe-mode: t
=C2=A0 vi-t= ilde-fringe-mode: t
=C2=A0 spaceline-info-mode: t
=C2= =A0 spaceline-helm-mode: t
=C2=A0 save-place-mode: t
= =C2=A0 savehist-mode: t
=C2=A0 popwin-mode: t
=C2=A0 pe= rsp-mode: t
=C2=A0 Info-breadcrumbs-in-mode-line-mode: t
=C2=A0 ido-vertical-mode: t
=C2=A0 helm-mode: t
=C2= =A0 global-git-gutter+-mode: t
=C2=A0 git-gutter+-mode: t
=C2=A0 global-git-commit-mode: t
=C2=A0 async-bytecomp-package= -mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 flyspell-= mode: t
=C2=A0 global-flycheck-mode: t
=C2=A0 flx-ido-m= ode: t
=C2=A0 eyebrowse-mode: t
=C2=A0 global-evil-surr= ound-mode: t
=C2=A0 evil-surround-mode: t
=C2=A0 global= -evil-search-highlight-persist: t
=C2=A0 evil-search-highlight-pe= rsist: t
=C2=A0 show-smartparens-global-mode: t
=C2=A0 = show-smartparens-mode: t
=C2=A0 smartparens-mode: t
=C2= =A0 evil-escape-mode: t
=C2=A0 global-anzu-mode: t
=C2= =A0 anzu-mode: t
=C2=A0 eval-sexp-fu-flash-mode: t
=C2= =A0 hybrid-mode: t
=C2=A0 which-key-mode: t
=C2=A0 over= ride-global-mode: t
=C2=A0 spacemacs-leader-override-mode: t
=C2=A0 global-spacemacs-leader-override-mode: t
=C2=A0 glob= al-undo-tree-mode: t
=C2=A0 undo-tree-mode: t
=C2=A0 ev= il-mode: t
=C2=A0 evil-local-mode: t
=C2=A0 diff-auto-r= efine-mode: t
=C2=A0 global-hl-line-mode: t
=C2=A0 xter= m-mouse-mode: t
=C2=A0 global-auto-revert-mode: t
=C2= =A0 global-page-break-lines-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: = t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode:= t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mod= e: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryp= tion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 col= umn-number-mode: t
=C2=A0 line-number-mode: t
=C2=A0 tr= ansient-mark-mode: t
=C2=A0 abbrev-mode: t
=C2=A0 hs-mi= nor-mode: t

Recent messages:
(No changes= need to be saved)
Saving file /Users/aaronjensen/.emacs.d/.cache= /recentf...
Wrote /Users/aaronjensen/.emacs.d/.cache/recentf
Error during redisplay: (eval (spaceline-ml-main)) signaled (wrong-ty= pe-argument stringp nil)
When done with a buffer, type C-x #
Mark set
Saving file /Users/aaronjensen/Source/hex_repro/mi= x.exs...
Wrote /Users/aaronjensen/Source/hex_repro/mix.exs
<= div>Saving file /Users/aaronjensen/.emacs.d/.cache/recentf...
Wro= te /Users/aaronjensen/.emacs.d/.cache/recentf

Load= -path shadows:
/Users/aaronjensen/.emacs.d/elpa/helm-20160705.144= /helm-multi-match hides /Users/aaronjensen/.emacs.d/elpa/helm-core-20160701= .2319/helm-multi-match
/Users/aaronjensen/.emacs.d/elpa/ox-gfm-20= 160520.2040/ox-gfm hides /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-= 20160704/ox-gfm
/Users/aaronjensen/.emacs.d/elpa/org-download-201= 60620.607/org-download hides /Users/aaronjensen/.emacs.d/elpa/org-plus-cont= rib-20160704/org-download
/Users/aaronjensen/.emacs.d/elpa/org-bu= llets-20140918.1137/org-bullets hides /Users/aaronjensen/.emacs.d/elpa/org-= plus-contrib-20160704/org-bullets
/Users/aaronjensen/.emacs.d/elp= a/org-plus-contrib-20160704/ox hides /usr/local/Cellar/emacs/25.0.95/share/= emacs/25.0.95/lisp/org/ox
/Users/aaronjensen/.emacs.d/elpa/org-pl= us-contrib-20160704/ox-texinfo hides /usr/local/Cellar/emacs/25.0.95/share/= emacs/25.0.95/lisp/org/ox-texinfo
/Users/aaronjensen/.emacs.d/elp= a/org-plus-contrib-20160704/ox-publish hides /usr/local/Cellar/emacs/25.0.9= 5/share/emacs/25.0.95/lisp/org/ox-publish
/Users/aaronjensen/.ema= cs.d/elpa/org-plus-contrib-20160704/ox-org hides /usr/local/Cellar/emacs/25= .0.95/share/emacs/25.0.95/lisp/org/ox-org
/Users/aaronjensen/.ema= cs.d/elpa/org-plus-contrib-20160704/ox-odt hides /usr/local/Cellar/emacs/25= .0.95/share/emacs/25.0.95/lisp/org/ox-odt
/Users/aaronjensen/.ema= cs.d/elpa/org-plus-contrib-20160704/ox-md hides /usr/local/Cellar/emacs/25.= 0.95/share/emacs/25.0.95/lisp/org/ox-md
/Users/aaronjensen/.emacs= .d/elpa/org-plus-contrib-20160704/ox-man hides /usr/local/Cellar/emacs/25.0= .95/share/emacs/25.0.95/lisp/org/ox-man
/Users/aaronjensen/.emacs= .d/elpa/org-plus-contrib-20160704/ox-latex hides /usr/local/Cellar/emacs/25= .0.95/share/emacs/25.0.95/lisp/org/ox-latex
/Users/aaronjensen/.e= macs.d/elpa/org-plus-contrib-20160704/ox-icalendar hides /usr/local/Cellar/= emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-icalendar
/Users/aa= ronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-html hides /usr/local/= Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-html
/Users/= aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-beamer hides /usr/lo= cal/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-beamer
/= Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ox-ascii hides /u= sr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ox-ascii
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org hides /us= r/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org
/Us= ers/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-w3m hides /usr/= local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-w3m
/= Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-version hides= /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-version
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-tim= er hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-t= imer
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/o= rg-table hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org= /org-table
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-2016= 0704/org-src hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp= /org/org-src
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20= 160704/org-rmail hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/= lisp/org/org-rmail
/Users/aaronjensen/.emacs.d/elpa/org-plus-cont= rib-20160704/org-protocol hides /usr/local/Cellar/emacs/25.0.95/share/emacs= /25.0.95/lisp/org/org-protocol
/Users/aaronjensen/.emacs.d/elpa/o= rg-plus-contrib-20160704/org-plot hides /usr/local/Cellar/emacs/25.0.95/sha= re/emacs/25.0.95/lisp/org/org-plot
/Users/aaronjensen/.emacs.d/el= pa/org-plus-contrib-20160704/org-pcomplete hides /usr/local/Cellar/emacs/25= .0.95/share/emacs/25.0.95/lisp/org/org-pcomplete
/Users/aaronjens= en/.emacs.d/elpa/org-plus-contrib-20160704/org-mouse hides /usr/local/Cella= r/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mouse
/Users/aar= onjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-mobile hides /usr/loca= l/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mobile
/U= sers/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-mhe hides /usr= /local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-mhe
= /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-macs hides /= usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-macs
<= div>/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-macro hi= des /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-macro<= /div>
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-lo= addefs hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/o= rg-loaddefs
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-201= 60704/org-list hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/li= sp/org/org-list
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib= -20160704/org-irc hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95= /lisp/org/org-irc
/Users/aaronjensen/.emacs.d/elpa/org-plus-contr= ib-20160704/org-install hides /usr/local/Cellar/emacs/25.0.95/share/emacs/2= 5.0.95/lisp/org/org-install
/Users/aaronjensen/.emacs.d/elpa/org-= plus-contrib-20160704/org-inlinetask hides /usr/local/Cellar/emacs/25.0.95/= share/emacs/25.0.95/lisp/org/org-inlinetask
/Users/aaronjensen/.e= macs.d/elpa/org-plus-contrib-20160704/org-info hides /usr/local/Cellar/emac= s/25.0.95/share/emacs/25.0.95/lisp/org/org-info
/Users/aaronjense= n/.emacs.d/elpa/org-plus-contrib-20160704/org-indent hides /usr/local/Cella= r/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-indent
/Users/aa= ronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-id hides /usr/local/C= ellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-id
/Users/aa= ronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-habit hides /usr/loca= l/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-habit
/Us= ers/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-gnus hides /usr= /local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-gnus
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-footnote hi= des /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-footno= te
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org= -feed hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/or= g-feed
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704= /org-faces hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/o= rg/org-faces
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20= 160704/org-eshell hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95= /lisp/org/org-eshell
/Users/aaronjensen/.emacs.d/elpa/org-plus-co= ntrib-20160704/org-entities hides /usr/local/Cellar/emacs/25.0.95/share/ema= cs/25.0.95/lisp/org/org-entities
/Users/aaronjensen/.emacs.d/elpa= /org-plus-contrib-20160704/org-element hides /usr/local/Cellar/emacs/25.0.9= 5/share/emacs/25.0.95/lisp/org/org-element
/Users/aaronjensen/.em= acs.d/elpa/org-plus-contrib-20160704/org-docview hides /usr/local/Cellar/em= acs/25.0.95/share/emacs/25.0.95/lisp/org/org-docview
/Users/aaron= jensen/.emacs.d/elpa/org-plus-contrib-20160704/org-datetree hides /usr/loca= l/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-datetree
= /Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-ctags hides = /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-ctags
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-crypt = hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-cryp= t
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-= compat hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/o= rg-compat
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160= 704/org-colview hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/l= isp/org/org-colview
/Users/aaronjensen/.emacs.d/elpa/org-plus-con= trib-20160704/org-clock hides /usr/local/Cellar/emacs/25.0.95/share/emacs/2= 5.0.95/lisp/org/org-clock
/Users/aaronjensen/.emacs.d/elpa/org-pl= us-contrib-20160704/org-capture hides /usr/local/Cellar/emacs/25.0.95/share= /emacs/25.0.95/lisp/org/org-capture
/Users/aaronjensen/.emacs.d/e= lpa/org-plus-contrib-20160704/org-bibtex hides /usr/local/Cellar/emacs/25.0= .95/share/emacs/25.0.95/lisp/org/org-bibtex
/Users/aaronjensen/.e= macs.d/elpa/org-plus-contrib-20160704/org-bbdb hides /usr/local/Cellar/emac= s/25.0.95/share/emacs/25.0.95/lisp/org/org-bbdb
/Users/aaronjense= n/.emacs.d/elpa/org-plus-contrib-20160704/org-attach hides /usr/local/Cella= r/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-attach
/Users/aa= ronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-archive hides /usr/lo= cal/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-archive
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/org-agenda hide= s /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/org-agenda
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob hide= s /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-tangle hides= /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-tangle
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-table = hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-table=
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-sq= lite hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-= sqlite
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704= /ob-sql hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/= ob-sql
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704= /ob-shen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org= /ob-shen
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-201607= 04/ob-screen hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp= /org/ob-screen
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-= 20160704/ob-scheme hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.9= 5/lisp/org/ob-scheme
/Users/aaronjensen/.emacs.d/elpa/org-plus-co= ntrib-20160704/ob-scala hides /usr/local/Cellar/emacs/25.0.95/share/emacs/2= 5.0.95/lisp/org/ob-scala
/Users/aaronjensen/.emacs.d/elpa/org-plu= s-contrib-20160704/ob-sass hides /usr/local/Cellar/emacs/25.0.95/share/emac= s/25.0.95/lisp/org/ob-sass
/Users/aaronjensen/.emacs.d/elpa/org-p= lus-contrib-20160704/ob-ruby hides /usr/local/Cellar/emacs/25.0.95/share/em= acs/25.0.95/lisp/org/ob-ruby
/Users/aaronjensen/.emacs.d/elpa/org= -plus-contrib-20160704/ob-ref hides /usr/local/Cellar/emacs/25.0.95/share/e= macs/25.0.95/lisp/org/ob-ref
/Users/aaronjensen/.emacs.d/elpa/org= -plus-contrib-20160704/ob-R hides /usr/local/Cellar/emacs/25.0.95/share/ema= cs/25.0.95/lisp/org/ob-R
/Users/aaronjensen/.emacs.d/elpa/org-plu= s-contrib-20160704/ob-python hides /usr/local/Cellar/emacs/25.0.95/share/em= acs/25.0.95/lisp/org/ob-python
/Users/aaronjensen/.emacs.d/elpa/o= rg-plus-contrib-20160704/ob-plantuml hides /usr/local/Cellar/emacs/25.0.95/= share/emacs/25.0.95/lisp/org/ob-plantuml
/Users/aaronjensen/.emac= s.d/elpa/org-plus-contrib-20160704/ob-picolisp hides /usr/local/Cellar/emac= s/25.0.95/share/emacs/25.0.95/lisp/org/ob-picolisp
/Users/aaronje= nsen/.emacs.d/elpa/org-plus-contrib-20160704/ob-perl hides /usr/local/Cella= r/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-perl
/Users/aaron= jensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-org hides /usr/local/Cell= ar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-org
/Users/aaron= jensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-octave hides /usr/local/C= ellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-octave
/Users= /aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-ocaml hides /usr/lo= cal/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-ocaml
/U= sers/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-mscgen hides /u= sr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-mscgen
<= div>/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-maxima hi= des /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-maxima<= /div>
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-mat= lab hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-m= atlab
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/= ob-makefile hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/= org/ob-makefile
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib= -20160704/ob-lob hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/= lisp/org/ob-lob
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib= -20160704/ob-lisp hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95= /lisp/org/ob-lisp
/Users/aaronjensen/.emacs.d/elpa/org-plus-contr= ib-20160704/ob-lilypond hides /usr/local/Cellar/emacs/25.0.95/share/emacs/2= 5.0.95/lisp/org/ob-lilypond
/Users/aaronjensen/.emacs.d/elpa/org-= plus-contrib-20160704/ob-ledger hides /usr/local/Cellar/emacs/25.0.95/share= /emacs/25.0.95/lisp/org/ob-ledger
/Users/aaronjensen/.emacs.d/elp= a/org-plus-contrib-20160704/ob-latex hides /usr/local/Cellar/emacs/25.0.95/= share/emacs/25.0.95/lisp/org/ob-latex
/Users/aaronjensen/.emacs.d= /elpa/org-plus-contrib-20160704/ob-keys hides /usr/local/Cellar/emacs/25.0.= 95/share/emacs/25.0.95/lisp/org/ob-keys
/Users/aaronjensen/.emacs= .d/elpa/org-plus-contrib-20160704/ob-js hides /usr/local/Cellar/emacs/25.0.= 95/share/emacs/25.0.95/lisp/org/ob-js
/Users/aaronjensen/.emacs.d= /elpa/org-plus-contrib-20160704/ob-java hides /usr/local/Cellar/emacs/25.0.= 95/share/emacs/25.0.95/lisp/org/ob-java
/Users/aaronjensen/.emacs= .d/elpa/org-plus-contrib-20160704/ob-io hides /usr/local/Cellar/emacs/25.0.= 95/share/emacs/25.0.95/lisp/org/ob-io
/Users/aaronjensen/.emacs.d= /elpa/org-plus-contrib-20160704/ob-haskell hides /usr/local/Cellar/emacs/25= .0.95/share/emacs/25.0.95/lisp/org/ob-haskell
/Users/aaronjensen/= .emacs.d/elpa/org-plus-contrib-20160704/ob-gnuplot hides /usr/local/Cellar/= emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-gnuplot
/Users/aaro= njensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-fortran hides /usr/local= /Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-fortran
/Us= ers/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-exp hides /usr/l= ocal/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-exp
/Us= ers/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-eval hides /usr/= local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-eval
/= Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-emacs-lisp hid= es /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-emacs-li= sp
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-= dot hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob-d= ot
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704/ob-= ditaa hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/ob= -ditaa
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704= /ob-css hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org/= ob-css
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-20160704= /ob-core hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/org= /ob-core
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-201607= 04/ob-comint hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp= /org/ob-comint
/Users/aaronjensen/.emacs.d/elpa/org-plus-contrib-= 20160704/ob-clojure hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.= 95/lisp/org/ob-clojure
/Users/aaronjensen/.emacs.d/elpa/org-plus-= contrib-20160704/ob-calc hides /usr/local/Cellar/emacs/25.0.95/share/emacs/= 25.0.95/lisp/org/ob-calc
/Users/aaronjensen/.emacs.d/elpa/org-plu= s-contrib-20160704/ob-C hides /usr/local/Cellar/emacs/25.0.95/share/emacs/2= 5.0.95/lisp/org/ob-C
/Users/aaronjensen/.emacs.d/elpa/org-plus-co= ntrib-20160704/ob-awk hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.= 0.95/lisp/org/ob-awk
/Users/aaronjensen/.emacs.d/elpa/org-plus-co= ntrib-20160704/ob-asymptote hides /usr/local/Cellar/emacs/25.0.95/share/ema= cs/25.0.95/lisp/org/ob-asymptote
/Users/aaronjensen/.emacs.d/elpa= /seq-2.16/seq hides /usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lis= p/emacs-lisp/seq

Features:
(shadow sort = mail-extr emacsbug sendmail alchemist alchemist-macroexpand
alche= mist-company alchemist-help alchemist-complete alchemist-refcard
= alchemist-phoenix alchemist-compile alchemist-iex alchemist-message
alchemist-hooks alchemist-hex alchemist-mix alchemist-info
alc= hemist-goto alchemist-scope alchemist-eval alchemist-interact
alc= hemist-server alchemist-execute alchemist-report alchemist-test-mode
<= div>alchemist-project alchemist-file alchemist-key alchemist-utils
elixir-mode pkg-info epl elixir-smie company-web-html emmet-mode
web-mode dockerfile-mode json-mode json-reformat json-snatcher js imenu
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-e= ngine
cc-vars cc-defs markdown-mode helm-ag flycheck-elm company-= robe
evil-matchit robe inf-ruby rubocop ruby-tools gitignore-mode= conf-mode
term/xterm xterm deft calc calc-loaddefs calc-macs cua= -base org-eldoc
evil-org ob-shell org-bullets org-download toc-or= g ert debug image-file
org-rmail org-mhe org-irc org-info org-gnu= s org-docview doc-view
jka-compr org-bibtex bibtex org-bbdb org-w= 3m ox-gfm ox-md ox-latex
ox-icalendar ox-html ox-ascii ox-publish= ox org-element avl-tree org
org-macro org-footnote org-pcomplete= org-list org-faces org-entities
noutline outline org-version ob-= emacs-lisp ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-src ob-= keys ob-comint ob-core ob-eval org-compat
org-macs org-loaddefs c= al-menu calendar cal-loaddefs helm-command
helm-elisp helm-eval e= debug mwim avy misearch multi-isearch
company-oddmuse company-key= words company-etags company-gtags
company-dabbrev-code company-da= bbrev company-files company-capf
company-cmake company-xcode comp= any-clang company-semantic company-eclim
company-template company= -nxml company-bbdb yaml-mode helm-descbinds
fill-column-indicator= magit-gitflow linum git-rebase magit-gh-pulls gh
gh-users gh-iss= ues gh-pulls gh-repos gh-gist gh-oauth gh-api logito
gh-cache pca= che eieio-base gh-auth gh-common gh-url gh-profile
evil-magit mag= it-blame magit-stash magit-bisect magit-remote
magit-commit magit= -sequence magit magit-apply magit-wip magit-log
magit-diff smerge= -mode magit-core magit-autorevert magit-process
magit-popup magit= -mode magit-git crm magit-section magit-utils goto-addr
bug-refer= ence auto-highlight-symbol clean-aindent-mode highlight-numbers
p= arent-mode highlight-parentheses hideshow rainbow-delimiters
cloj= ure-snippets yasnippet sh-script executable helm-projectile
proje= ctile grep ibuf-ext ibuffer recentf tree-widget shackle
hungry-de= lete fill-or-unfill fix-autorevert-breaking-git eval-overlay
fix-= bracketed-paste company-simple-complete init-terminal-cursor
evil= -terminal-cursor-changer init-org init-magit init-elixir init-deft
evil-mc evil-mc-command-execute evil-mc-command-record
evil-mc-= cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo
evil= -mc-vars evil-mc-known-commands evil-mc-common hl-todo xterm-color
spacemacs-whitespace-cleanup ws-butler winner window-numbering etags
xref project volatile-highlights vi-tilde-fringe tmux spaceline-confi= g
spaceline-segments s spaceline powerline powerline-separators
powerline-themes smartparens-config smartparens-ruby smartparens-h= tml
saveplace savehist ruby-test-mode pcre2el rxt re-builder ruby= -mode smie
popwin persp-mode osx-trash info+ image-mode ido-verti= cal-mode helm-mode
helm-files image-dired dired-x dired-aux ffap = helm-buffers helm-elscreen
helm-tags helm-bookmark helm-adaptive = helm-info bookmark pp helm-locate
helm-grep helm-regexp helm-plug= in helm-external helm-net browse-url xml
helm-utils helm-help hel= m-types git-gutter-fringe+ fringe-helper
git-gutter+ git-commit w= ith-editor async-bytecomp async tramp-sh server
log-edit pcvs-uti= l add-log docker-tramp tramp-cache tramp tramp-compat
tramp-loadd= efs trampver shell pcomplete flyspell-correct-helm helm
helm-sour= ce helm-multi-match helm-lib flyspell-correct flyspell ispell
fly= check find-func flx-ido flx ido eyebrowse exec-path-from-shell
ev= il-surround evil-search-highlight-persist evil-numbers evil-lisp-state
smartparens evil-indent-plus evil-exchange evil-escape evil-args
evil-anzu anzu cider-eval-sexp-fu eval-sexp-fu rx highlight diff-hl
vc-dir ewoc vc vc-dispatcher company-web dash company-css company<= /div>
web-completion-data adaptive-wrap hybrid-mode evil-evilified-stat= e
which-key use-package diminish bind-key hydra lv cus-edit cus-s= tart
cus-load bind-map color evil evil-integration undo-tree diff= evil-maps
evil-commands evil-jumps evil-command-window evil-type= s evil-search
evil-ex evil-macros evil-repeat evil-states evil-co= re evil-common
windmove thingatpt rect evil-digraphs evil-vars co= mpile comint
ansi-color ring vc-git diff-mode autoload info mm-ar= chive message dired
format-spec rfc822 mml mml-sec epg mailabbrev= gmm-utils mailheader
url-handlers mail-utils network-stream nsm = starttls url-http tls gnutls
url-gw url-cache url-auth url url-pr= oxy url-privacy url-expand
url-methods url-history url-cookie url= -domsuf url-util mailcap quelpa
url-parse auth-source gnus-util p= assword-cache url-vars package-build
mm-decode mm-bodies mm-encod= e mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util help-fns = mail-prsvr json map lisp-mnt hl-line
xt-mouse autorevert filenoti= fy disp-table wid-edit monokai-theme
finder-inf init-html init-ja= vascript sgml-mode init-evil
core-configuration-layer eieio-compa= t cl-seq ht cl warnings package
epg-config seq eieio byte-opt byt= ecomp byte-compile cl-extra help-mode
cconv eieio-core core-space= macs core-use-package-ext
core-transient-state core-micro-state c= ore-toggle core-keybindings
core-fonts-support core-spacemacs-buf= fer derived edmacro kmacro
core-funcs cl-macs gv core-themes-supp= ort core-display-init
core-auto-completion core-release-managemen= t core-dotspacemacs
core-command-line core-debug advice profiler = easymenu cl-loaddefs cl-lib
page-break-lines easy-mmode subr-x pc= ase time-date mule-util tooltip
eldoc electric uniquify ediff-hoo= k vc-hooks lisp-float-type mwheel
ns-win ucs-normalize term/commo= n-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list= newcomment elisp-mode lisp-mode
prog-mode register page menu-bar= rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syn= tax facemenu font-core frame cl-generic cham
georgian utf-8-lang = misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eu= cjp-ms cp51932 hebrew greek romanian slovak czech
european ethiop= ic indian cyrillic chinese charscript case-table epa-hook
jka-cmp= r-hook help simple abbrev minibuffer cl-preloaded nadvice
loaddef= s button faces cus-face macroexp files text-properties overlay
sh= a1 md5 base64 format env code-pages mule custom widget
hashtable-= print-readable backquote kqueue cocoa ns multi-tty
make-network-p= rocess emacs)

Memory information:
((cons= es 16 1027204 982968)
=C2=A0(symbols 48 76747 21)
=C2= =A0(miscs 40 10656 22806)
=C2=A0(strings 32 208072 282751)
<= div>=C2=A0(string-bytes 1 7135132)
=C2=A0(vectors 16 113725)
=C2=A0(vector-slots 8 2540642 333664)
=C2=A0(floats 8 2447 = 14293)
=C2=A0(intervals 56 12098 12677)
=C2=A0(buffers = 976 92))

--
Aaron
--001a1135b194003a580537352169-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 11:53:07 2016 Received: (at 23928) by debbugs.gnu.org; 9 Jul 2016 15:53:07 +0000 Received: from localhost ([127.0.0.1]:44305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLuZ1-00081V-HP for submit@debbugs.gnu.org; Sat, 09 Jul 2016 11:53:07 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:36256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLuZ0-000813-C3 for 23928@debbugs.gnu.org; Sat, 09 Jul 2016 11:53:06 -0400 Received: by mail-oi0-f54.google.com with SMTP id f189so96770350oig.3 for <23928@debbugs.gnu.org>; Sat, 09 Jul 2016 08:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=sNmGu+daW9POuAQRWET2PoeQG90/6ry5s1Axnz5uirQ=; b=YYHXn5yJh3/DuGlnXrYD7OPOsvllqkO8pM5+bL1J0Hsa/JXAXFvhAkqCPfuEEJknt0 otzC0UKI3VW8xRUs5Y/xrlZZgEBGhERAVuXG5G8whfsjlttfvwakivdadpRGuJ1JIhj4 21jGpkjuNuQnx5Q2yXD7rLgUTBWluzGW/Jd4I4XxOlItYHrasezpAFLENSjeTmUBFcOZ zBxdtStNWN5/Oi6hsCmSvMrhIYV6I6aPUIy9cgW3eUEItM+x/Wj/pZfV7hXGleJlHJ5e KWqNvjyA29KO1DSXiPZ57q4joUMa/eML+gYliSTWcfJ5vJa8LiSYajq9vbTFuzD4Bynw 29kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=sNmGu+daW9POuAQRWET2PoeQG90/6ry5s1Axnz5uirQ=; b=Lp1pg461g+jk8ssveaY7HRZJ8cMtijvbCkZH6pSe3eR1szNQcXb2x+lHlJKXFvXE8x 03Hz/oXykEQjY5ewCZmLwe+l1xKS9CnS0auSWCuXsSaV/g5RBX12m1hmph1dZl40PVB1 7KbhVDa/5R7x9jIoTMRT3UoW/kBbQhDdoYC2QEgNDJ2z2722Ii7SufxA8Qbj54pcxaGd jxRYacVW0dmXHC6DfwH5syKITUgRv0lK+kUkP38KEHAaEPgmlOFH2RviXwMF8z0/auRx mkQlAVU4YNMZLvarnj9CqvNrihD8nnWeSDhpWpl6eJw3eIRTaEX4S7sL728UNREnHr9N xMrg== X-Gm-Message-State: ALyK8tIbs/4EtxoinkNg5QsBf/d4u6SNCMm/IvGPq4sBIKKyQfCwDsroiN5Pdzax3aRkG/FQ2ufvcRwJQkzhYg== X-Received: by 10.157.9.248 with SMTP id 53mr6468254otz.35.1468079580785; Sat, 09 Jul 2016 08:53:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.4.197 with HTTP; Sat, 9 Jul 2016 08:53:00 -0700 (PDT) In-Reply-To: References: From: Noam Postavsky Date: Sat, 9 Jul 2016 11:53:00 -0400 X-Google-Sender-Auth: r0KFiYmodJPbksm5GC0x9-si-rs Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Aaron Jensen Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) To narrow things down, it would be helpful to have a profile from 24.5 (which I understand doesn't have this performance problem?) for comparison. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 12:50:27 2016 Received: (at 23928) by debbugs.gnu.org; 9 Jul 2016 16:50:27 +0000 Received: from localhost ([127.0.0.1]:44311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvSV-0000v2-5M for submit@debbugs.gnu.org; Sat, 09 Jul 2016 12:50:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvSS-0000um-R5 for 23928@debbugs.gnu.org; Sat, 09 Jul 2016 12:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLvSI-0004wP-N6 for 23928@debbugs.gnu.org; Sat, 09 Jul 2016 12:50:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLvSI-0004wL-Jr; Sat, 09 Jul 2016 12:50:14 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1890 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLvSG-0002gJ-7s; Sat, 09 Jul 2016 12:50:12 -0400 Date: Sat, 09 Jul 2016 19:50:04 +0300 Message-Id: <831t32hi2r.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Sat, 09 Jul 2016 14:56:40 +0000) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Aaron Jensen > Date: Sat, 09 Jul 2016 14:56:40 +0000 > > When compared to emacs 24.5, smartparens is now nearly unusable in emacs > 25. I'm not familiar enough with emacs to track down the specific > performance regression, but it appears to be regular expression or > save-excursion related. This is the function that shows up hot on > profiles: > > https://github.com/Fuco1/smartparens/blob/1d858a9ec235cef5285503b6bb34be84cc3f5aa3/smartparens.el#L3621-L3646 All of the profiles in that issue point to smartparens' own functions as the main sinks of CPU time, so I'm unsure why you think it's an Emacs regression. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 13:01:31 2016 Received: (at 23928) by debbugs.gnu.org; 9 Jul 2016 17:01:31 +0000 Received: from localhost ([127.0.0.1]:44331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvdD-0002Se-4s for submit@debbugs.gnu.org; Sat, 09 Jul 2016 13:01:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLvdB-0002MQ-5J for 23928@debbugs.gnu.org; Sat, 09 Jul 2016 13:01:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLvd4-0000WE-Ep for 23928@debbugs.gnu.org; Sat, 09 Jul 2016 13:01:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLvd4-0000W1-Bp; Sat, 09 Jul 2016 13:01:22 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1957 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLvd0-0004R0-Da; Sat, 09 Jul 2016 13:01:19 -0400 Date: Sat, 09 Jul 2016 20:01:11 +0300 Message-Id: <83wpkug2zs.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: (message from Noam Postavsky on Sat, 9 Jul 2016 11:53:00 -0400) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: aaronjensen@gmail.com, 23928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Noam Postavsky > Date: Sat, 9 Jul 2016 11:53:00 -0400 > Cc: 23928@debbugs.gnu.org > > To narrow things down, it would be helpful to have a profile from 24.5 > (which I understand doesn't have this performance problem?) for > comparison. I think the version of smartparens and some kind of recipe starting from "emacs -Q" is also required, because saying it's unusable doesn't really tell enough. As I said, I'm not yet convinced it's an Emacs core problem. I see no evidence to that effect. And please don't use elp.el to produce profiles, use profiler.el, because the latter can profile primitives as well. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:55:49 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 02:55:49 +0000 Received: from localhost ([127.0.0.1]:44559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM4uK-0001mc-Ox for submit@debbugs.gnu.org; Sat, 09 Jul 2016 22:55:49 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:36624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bM4uI-0001mN-Vm for 23928@debbugs.gnu.org; Sat, 09 Jul 2016 22:55:47 -0400 Received: by mail-it0-f42.google.com with SMTP id f6so31014549ith.1 for <23928@debbugs.gnu.org>; Sat, 09 Jul 2016 19:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Tuw0fQKThu1KOK2tLE1RgA44Enph/kFXoWL0vHetrE=; b=ysWFd1cDswoDoP6vGCwxn9TvUgC9VWDmrAQK1I9FwwzgIvOqZ2niI/SI/1MILYOyMf 7F+g8yeGx7IVFVXlp46xPlcCWgKI9STMy3x9NL9b577YHpkQvEJ4ywUC0eJSY+bSdlCB gg3O0CAFi0aTlme7BhOawnhZeliYjOpY7FYUg5x4hyMh0Psnn9jxwn4jeK0Hf9Q5Zc4J lyI1G3UF1hw76mSaWfViLxLZMQrDS319WvzSaUezRdVue8Bjw5LUzU9idX6sFjbtXdd/ OYMfZMppXDEbT0xxMjNzwxvhQUAlRlkwSg++SzFq+N44ElxuzaLAUfxMO+NmRnvfu0jd ToHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Tuw0fQKThu1KOK2tLE1RgA44Enph/kFXoWL0vHetrE=; b=Rod9Do3eu5nZquuDooirOaFExobhS8rAVxRtSbUo+XvyroInLe3hwcFSob3F/IfiWD tz9fJ36KTM8e7o54xUjqpZbQXarPX8Ybpbh/p94pw4FicwRl9JpSqEobqWb3mt6OPAh1 3/o3axIvAnhNXjGTYeC/rjtSx8eu/IkycWmb4qbAelKPGAb4Kt4nITW6+O8N5yGRGwY4 nAPYjJqqrVtd26d1bH8OhrrtqAARFUuadu9d1Q+5BxkjARbSw9Xcw/X4kaknfBXRfkXR pyVm6wS14+Ha0mih+ixX7uzI8D2kK7KRftmhTPWokpH7ZE+e5saMlLGsETLsIkabgCe2 H+dQ== X-Gm-Message-State: ALyK8tKLthsd+ACBlqX8ac9O6ILN64NLqChlGt+upA1H+OXGyB1+oZmsWqTt3xe7Q5xOtyr086+v0su4VZ7pxw== X-Received: by 10.36.142.129 with SMTP id h123mr10155927ite.66.1468119341408; Sat, 09 Jul 2016 19:55:41 -0700 (PDT) MIME-Version: 1.0 References: <83wpkug2zs.fsf@gnu.org> In-Reply-To: <83wpkug2zs.fsf@gnu.org> From: Aaron Jensen Date: Sun, 10 Jul 2016 02:55:31 +0000 Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii , Noam Postavsky Content-Type: multipart/alternative; boundary=94eb2c04a0d2d5285305373f2bd2 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c04a0d2d5285305373f2bd2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jul 9, 2016 at 10:01 AM Eli Zaretskii wrote: > > To narrow things down, it would be helpful to have a profile from 24.5 > > (which I understand doesn't have this performance problem?) for > > comparison. > I=E2=80=99ve added profiles of both here: https://gist.github.com/aaronjensen/a1c2b56eac192b0d9cac76b493822070 In this profile, they=E2=80=99re showing pretty much the exact same perform= ance, so that doesn=E2=80=99t tell us much. I believe the performance degradation is something that happens over time, and these are fresh runs of emacs. I=E2= =80=99ll have to try and get from 25 next time it slows down on me. One curious thing is that the emacs 24 profile shows all of the builtins (let/if/save-excusion) and the emacs 25 profile does not. Is there something I=E2=80=99m doing wrong that is causing that? I=E2=80=99m using t= he same `profiler-start` function. > > I think the version of smartparens and some kind of recipe starting > from "emacs -Q" is also required, because saying it's unusable doesn't > really tell enough. > I=E2=80=99ll work on this. It seems possible that it will be very hard to t= rack down given the nature=E2=80=94the performance isn=E2=80=99t *always* bad, i= t just becomes bad at some point in the session. It=E2=80=99s possible that this is not an= emacs or even a smartparens bug, I mostly opened this in case something stood out, =E2=80=9COh, yea we changed the regex engine and=E2=80=A6=E2=80=9D or = something like that. > > As I said, I'm not yet convinced it's an Emacs core problem. I see no > evidence to that effect. > > And please don't use elp.el to produce profiles, use profiler.el, > because the latter can profile primitives as well. > I don=E2=80=99t even know how to use elp.el, was there some indication that= I was? As I said above, I=E2=80=99m confused by the fact that emacs 25 profiler ou= tput is missing built in functions (Is this what you mean by primitives?) Thanks! --=20 Aaron --94eb2c04a0d2d5285305373f2bd2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sat, Jul 9, 2016 at 10:01 AM Eli Zaretskii <eliz@gnu.org> wrote:
<= div dir=3D"ltr">
&= gt; To narrow things down, it would be helpful to have a profile from 24.5<= br> > (which I understand doesn't have this performance problem?) for > comparison.

I=E2=80=99ve added profiles of both here:= =C2=A0https://gist.github.com/aaronjensen/a1c2b56eac192b0d9cac76b493= 822070

In this profile, they=E2=80=99re showin= g pretty much the exact same performance, so that doesn=E2=80=99t tell us m= uch. I believe the performance degradation is something that happens over t= ime, and these are fresh runs of emacs. I=E2=80=99ll have to try and get fr= om 25 next time it slows down on me.

One curious t= hing is that the emacs 24 profile shows all of the builtins (let/if/save-ex= cusion) and the emacs 25 profile does not. Is there something I=E2=80=99m d= oing wrong that is causing that? I=E2=80=99m using the same `profiler-start= ` function.

I think the version of smartparens and some kind of recipe starting
from "emacs -Q" is also required, because saying it's unusabl= e doesn't
really tell enough.

I=E2=80=99ll work on this. It seems po= ssible that it will be very hard to track down given the nature=E2=80=94the= performance isn=E2=80=99t *always* bad, it just becomes bad at some point = in the session. It=E2=80=99s possible that this is not an emacs or even a s= martparens bug, I mostly opened this in case something stood out, =E2=80=9C= Oh, yea we changed the regex engine and=E2=80=A6=E2=80=9D or something like= that.=C2=A0
<= div>=C2=A0

As I said, I'm not yet convinced it's an Emacs core problem.=C2=A0 = I see no
evidence to that effect.

And please don't use elp.el to produce profiles, use profiler.el,
because the latter can profile primitives as well.
I don=E2=80=99t even know how to use elp.el, was there some ind= ication that I was? As I said above, I=E2=80=99m confused by the fact that = emacs 25 profiler output is missing built in functions (Is this what you me= an by primitives?)

Thanks!
=
--
Aaron
--94eb2c04a0d2d5285305373f2bd2-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 07:51:12 2016 Received: (at control) by debbugs.gnu.org; 10 Jul 2016 11:51:12 +0000 Received: from localhost ([127.0.0.1]:44633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMDGS-0001QU-7E for submit@debbugs.gnu.org; Sun, 10 Jul 2016 07:51:12 -0400 Received: from mail-io0-f173.google.com ([209.85.223.173]:33404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMDGQ-0001QG-L3 for control@debbugs.gnu.org; Sun, 10 Jul 2016 07:51:10 -0400 Received: by mail-io0-f173.google.com with SMTP id t74so78389025ioi.0 for ; Sun, 10 Jul 2016 04:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:message-id:to:from:subject; bh=Yh32G/eETm8I2ZQeTg+OlmOdhow7Yl6C+ZNW7Q7aPgQ=; b=d7F8eUs0FWaVl3p3CP4JpMAQ0i0fQqMiujyABkATqF4yZVOaEUvco1Q0i/Yg92iyHZ t5k0jO9YjXqQd3HqcIRMiDBS75b3nDpw334/yG6tIeTDyIs6d6x5a/VtUK/itQi15BlF y/sdmNKMzbsVht4Sr1aFvmsSPVyfXosmIhtpFH44betok8VIfFas5zWpSlCGwWdNz9On DfSeMyGbrmss5VvnCH8Aut1zf5QFGHUzCR6LEh/xOwIf4MGlBhX7rT2hzQq+/AigkELu 9qifkTB6x4ajozVr5Qq+S+waRyYK9P3c6AEi3gj1GTNlhnkZGXK3oBbWnlBcFiAUp4Za hcFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:message-id:to:from:subject; bh=Yh32G/eETm8I2ZQeTg+OlmOdhow7Yl6C+ZNW7Q7aPgQ=; b=Uw4IZb+fSaOztOJZZrG1+FxMFPVBKB84om4z4b8Hv22GbmGbmmdCp5cJklf6tWDogD EtpjLb5h3BcWI1hr8wV/chry1oirSrKJj8hEowHJkglLndylGtNqPLQBhfQ5QBb74DSv 8rl7L7dfIoHvQoE/0TmDz5PF4BcgkbnZD78lXrzo0iUHse5uc1MJPOXl7DKKKR/MixaB QHgPW/pynkq8uBpqC3Eb9P8Gaqcz4bq1gUdThYtjBNPHJtw2ad9jdlcuFacGGWUtFZ11 sJFFqEhGh6D8AZZpu8Y0n+GZ7G2D6sovx4N+KS3XkTyZVHGg3k37+UyMFR9gSktr+JTE P2EQ== X-Gm-Message-State: ALyK8tKsBhPRr+vXx9uCC2GIchsljgnlr9apKchCEIzgSR3Gs8YJt9tmfKdTIULy7nw/Bw== X-Received: by 10.107.55.214 with SMTP id e205mr15680793ioa.166.1468151464822; Sun, 10 Jul 2016 04:51:04 -0700 (PDT) Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id j7sm5416237ita.6.2016.07.10.04.51.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 04:51:04 -0700 (PDT) Date: Sun, 10 Jul 2016 07:51:02 -0400 Message-Id: <87poqlhftl.fsf@users.sourceforge.net> To: control@debbugs.gnu.org From: npostavs@users.sourceforge.net Subject: control message for bug #23928 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 23928 moreinfo From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 10:29:42 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 14:29:42 +0000 Received: from localhost ([127.0.0.1]:45219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMFjq-0006rz-1d for submit@debbugs.gnu.org; Sun, 10 Jul 2016 10:29:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMFjp-0006ro-AA for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 10:29:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMFjj-0005XI-2b for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 10:29:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMFji-0005X5-VV; Sun, 10 Jul 2016 10:29:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2836 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMFjg-0001EX-F7; Sun, 10 Jul 2016 10:29:33 -0400 Date: Sun, 10 Jul 2016 17:29:27 +0300 Message-Id: <83h9bxftx4.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Sun, 10 Jul 2016 02:55:31 +0000) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Aaron Jensen > Date: Sun, 10 Jul 2016 02:55:31 +0000 > Cc: 23928@debbugs.gnu.org > > I’ve added profiles of both here: https://gist.github.com/aaronjensen/a1c2b56eac192b0d9cac76b493822070 > > In this profile, they’re showing pretty much the exact same performance, so that doesn’t tell us much. I believe the performance degradation is something that happens over time, and these are fresh runs of emacs. I’ll have to try and get from 25 next time it slows down on me. Thanks. That rings a bell. The hottest function on these profiles is sp--looking-back, which calls in a loop sp--looking-at, which does this: (defun sp--looking-at (regexp) "Like `looking-at', but always case sensitive." (let ((case-fold-search nil)) (looking-at regexp))) As you will see from bug#18522, binding case-fold-search can be very expensive, especially if you have a lot of buffers. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18522#201 for a summary of the findings there. It clearly shows in your profile: sp--looking-at 171 12% let 12 0% As to why you see a slowdown in Emacs 25, I don't know. Maybe you have more buffers crop up there as the session goes on? > One curious thing is that the emacs 24 profile shows all of the builtins (let/if/save-excusion) and the emacs 25 profile does not. Is there something I’m doing wrong that is causing that? Could it be that in Emacs 24 you loaded the library as a .el file, and in Emacs 25 as a .elc file? > I’ll work on this. It seems possible that it will be very hard to track down given the nature—the performance isn’t *always* bad, it just becomes bad at some point in the session. When it becomes bad, count the number of buffers in each session. Bug#18522 provides some tools for that. > And please don't use elp.el to produce profiles, use profiler.el, > because the latter can profile primitives as well. > > I don’t even know how to use elp.el, was there some indication that I was? Sorry, my bad. It looked like elp.el output to me. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 11:59:16 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 15:59:16 +0000 Received: from localhost ([127.0.0.1]:45342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMH8V-0005Uw-Og for submit@debbugs.gnu.org; Sun, 10 Jul 2016 11:59:16 -0400 Received: from mail-io0-f182.google.com ([209.85.223.182]:33291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMH8T-0005Uj-SE for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 11:59:14 -0400 Received: by mail-io0-f182.google.com with SMTP id t74so81051367ioi.0 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 08:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+W8V7RkBvn1CbWEvoLG6oerFBr0zA+Jr6cFhXCTxAFg=; b=iQg/gyX4zuwUI6TDg17g5YerpVyx6Pwv4nDJzxSuP8Eat9irhpqjBn+3tGESEk7TkA HpNFfO3sAzJREgAgMpdio0yCYP14xKYS5krmaFM6Uci6yLDmpRKu1TaXrbQgOkvPsQ2E 7xo8P8K/ka3Y/ln/iOEKWOvt024CRYz5eB+N6fspu5agZkLm1j+i1oPFVRZVhNuIgvCR HC3caUP3yW9ueuwXWctcSd70fsP/Ywkhs/zrYJhoKmxlK27XnaMpJEpNrjD1bVlaTysz yCfC3NpjGvjTB7GCs91yjL2AcEmMQA60drcFeJ7SiITQvIvPV8w85fT9H9KssQ5d80KS 2vVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+W8V7RkBvn1CbWEvoLG6oerFBr0zA+Jr6cFhXCTxAFg=; b=QFSNiEXS6ahXCg0yg1T1NCyHKEOnGMAAJJE8JPXHVbfNnJzPmNkqsVDQODU69VeHL6 Hv6cmawNk0sNwJPVSu+1f+OBkG+d+iAyE51KWM7xTVc4Yd8/Id6G4M3BcBnm3jjBMfEw rPoXwPyfnRuwhEfdAmVl3JSI3QoN/vzxBF2gBp+ZxUxkVCojCra3VwIheydCM/nryUNh t52xzFqLNfmP3c3HpZ6F9TALj47vXXHxNZvT5+YX7/23uAFuvSGaf1v/HHcraP/OzaFm /oScV+GChFrolJJQIqQviE9MazlERBSXndzGVpZbg1XumHmIA32BY+T6mMEifGNTEmx7 4jpA== X-Gm-Message-State: ALyK8tKo5BnUCPYco2i9Fn+KkTU4U+4k0VAGXAPVt404e0ianUA+lZHicj4i1TYZ77irhrVCXeDDgtl8JsMoRQ== X-Received: by 10.107.175.1 with SMTP id y1mr16228734ioe.137.1468166348275; Sun, 10 Jul 2016 08:59:08 -0700 (PDT) MIME-Version: 1.0 References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> In-Reply-To: <83h9bxftx4.fsf@gnu.org> From: Aaron Jensen Date: Sun, 10 Jul 2016 15:58:58 +0000 Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii Content-Type: multipart/alternative; boundary=001a11449100a9071b05374a1de3 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11449100a9071b05374a1de3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jul 10, 2016 at 7:30 AM Eli Zaretskii wrote: > Thanks. > > That rings a bell. The hottest function on these profiles is > sp--looking-back, which calls in a loop sp--looking-at, which does > this: > > (defun sp--looking-at (regexp) > "Like `looking-at', but always case sensitive." > (let ((case-fold-search nil)) > (looking-at regexp))) > > As you will see from bug#18522, binding case-fold-search can be very > expensive, especially if you have a lot of buffers. See > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D18522#201 for a summary > of the findings there. It clearly shows in your profile: > > sp--looking-at 171 12% > let 12 0% > > As to why you see a slowdown in Emacs 25, I don't know. Maybe you > have more buffers crop up there as the session goes on? > Interesting, yes this is possible. I switched to Emacs 25 before I started emacs itself heavily and using window configurations heavily, so it is very likely that I just end up with a large number of buffers and that=E2=80=99s= when the slowdown happens. What is the alternative to binding case-fold-search? Could smartparens just bind it once in a surrounding function? Or is there another way to ensure that `looking-at` is case sensitive? > > One curious thing is that the emacs 24 profile shows all of the builtin= s > (let/if/save-excusion) and the emacs 25 profile does not. Is there > something I=E2=80=99m doing wrong that is causing that? > > Could it be that in Emacs 24 you loaded the library as a .el file, and > in Emacs 25 as a .elc file? > I suppose this is possible, I had just started emacs 24 and let it install all from elpa/melpa (I=E2=80=99m using spacemacs, so it handled all this fo= r me). Typically it compiles everything, but maybe it hadn=E2=80=99t yet in the se= ssion I was running. I have confirmed that if I eval-buffer smartparens.el, I get the more detailed profile. That=E2=80=99s useful, thanks. > > I=E2=80=99ll work on this. It seems possible that it will be very hard = to track > down given the nature=E2=80=94the performance isn=E2=80=99t *always* bad,= it just becomes > bad at some point in the session. > > When it becomes bad, count the number of buffers in each session. > Bug#18522 provides some tools for that. > I couldn=E2=80=99t figure out how to count all_buffers, but I saw (length (buffer-list)), is that sufficient? --=20 Aaron --001a11449100a9071b05374a1de3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun, Jul 10, 2016 at 7:30 AM Eli Zaretskii <eliz@gnu.org> wrote:
Thanks.

That rings a bell.=C2=A0 The hottest function on these profiles is
sp--looking-back, which calls in a loop sp--looking-at, which does
this:

=C2=A0 (defun sp--looking-at (regexp)
=C2=A0 =C2=A0 "Like `looking-at', but always case sensitive."=
=C2=A0 =C2=A0 (let ((case-fold-search nil))
=C2=A0 =C2=A0 =C2=A0 (looking-at regexp)))

As you will see from bug#18522, binding case-fold-search can be very
expensive, especially if you have a lot of buffers.=C2=A0 See
http://debbugs.gnu.org/cgi/bugreport.cgi?bug= =3D18522#201 for a summary
of the findings there.=C2=A0 It clearly shows in your profile:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sp--looking-a= t=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 171=C2=A0 12%
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 let=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A012=C2=A0 =C2=A00%

As to why you see a slowdown in Emacs 25, I don't know.=C2=A0 Maybe you=
have more buffers crop up there as the session goes on?

Interesting, yes this is possible. I switched to Emacs 25 = before I started emacs itself heavily and using window configurations heavi= ly, so it is very likely that I just end up with a large number of buffers = and that=E2=80=99s when the slowdown happens.

What= is the alternative to binding case-fold-search? Could smartparens just bin= d it once in a surrounding function? Or is there another way to ensure that= `looking-at` is case sensitive?


> One curious thing is that the emacs 24 profile shows all of the builti= ns (let/if/save-excusion) and the emacs 25 profile does not. Is there somet= hing I=E2=80=99m doing wrong that is causing that?

Could it be that in Emacs 24 you loaded the library as a .el file, and
in Emacs 25 as a .elc file?

I suppose t= his is possible, I had just started emacs 24 and let it install all from el= pa/melpa (I=E2=80=99m using spacemacs, so it handled all this for me). Typi= cally it compiles everything, but maybe it hadn=E2=80=99t yet in the sessio= n I was running. I have confirmed that if I eval-buffer smartparens.el, I g= et the more detailed profile. That=E2=80=99s useful, thanks.

=

> I=E2=80=99ll work on this. It seems possible that it will be very hard= to track down given the nature=E2=80=94the performance isn=E2=80=99t *alwa= ys* bad, it just becomes bad at some point in the session.

When it becomes bad, count the number of buffers in each session.
Bug#18522 provides some tools for that.

I couldn=E2=80=99t figure out how to count all_buffers, but I saw (length = (buffer-list)), is that sufficient?
--
Aaron
--001a11449100a9071b05374a1de3-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 12:15:00 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 16:15:00 +0000 Received: from localhost ([127.0.0.1]:45358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHNk-0005sh-2w for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:15:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHNi-0005sW-O4 for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 12:14:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMHNa-0007nv-FE for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 12:14:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMHNa-0007np-Bq; Sun, 10 Jul 2016 12:14:50 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2930 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMHNY-0006q5-HS; Sun, 10 Jul 2016 12:14:48 -0400 Date: Sun, 10 Jul 2016 19:14:43 +0300 Message-Id: <83y459eah8.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Sun, 10 Jul 2016 15:58:58 +0000) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Aaron Jensen > Date: Sun, 10 Jul 2016 15:58:58 +0000 > Cc: npostavs@users.sourceforge.net, 23928@debbugs.gnu.org > > What is the alternative to binding case-fold-search? Could smartparens just bind it once in a surrounding > function? That's one way, yes. > Or is there another way to ensure that `looking-at` is case sensitive? Does smartparens really care about this? Why? > When it becomes bad, count the number of buffers in each session. > Bug#18522 provides some tools for that. > > I couldn’t figure out how to count all_buffers, but I saw (length (buffer-list)), is that sufficient? That's a start, yes. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 12:54:02 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 16:54:02 +0000 Received: from localhost ([127.0.0.1]:45437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHzW-0006tq-Hw for submit@debbugs.gnu.org; Sun, 10 Jul 2016 12:54:02 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:33487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMHzU-0006t4-HC for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 12:54:00 -0400 Received: by mail-io0-f179.google.com with SMTP id t74so81654708ioi.0 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 09:54:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=N/MXv/7pC/sGV1WG35LE8QXZOCP9t7pI1nlvzdEKHSw=; b=MQkiTltrqX1BvEQ2jyqpskV7WnehS6Fg3HQqFhbVPQS541BVVJIqxYcQ91Aew1AApo n1m4uoQOA4oUgg2v5UdENafOUTne8S0W9/fT0VL32ENWeN9VJuv/7J3m6LnjqAnkKq8h ADh5Ny6DMV5PlAfShYPIgyE+ct0hmCibWPTkmKmo6b6vDtQY4B3hSZcuhuN/eqOCOBeQ LAQ9kHWQJzGsTHovsxKyl3cZ6KmPohA4f2qYuUIvCTZofIpWrc5AdXy2no6p2IcenrV0 03WyH0IHSbVQ1p7RXePoiva+1OF7S8h/pJfappqbpSLyb1OCNZRtK9oI6XDuZAMDk1/w 02dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=N/MXv/7pC/sGV1WG35LE8QXZOCP9t7pI1nlvzdEKHSw=; b=ZygVMNRlqx0zFbPGuhdAapo2BvVwDtIRe9mueBpGUtjAOfjO1r+nb2Rqsl0QCg++gN 7I2sgVMInoblbVWW61KuKCVqlTgbWtXneJZYeKgP7bI0NOotHgI6fjIWxgH9ffbKWhHw uHfBMElMk6zxkGyM4jgT7u2AR0clWI+Js34bsJRDKRDNFvIe1jj9PZkLOexGPGtdbd5F wqUQQJAMrow4uJ3Bo8P1ogR/CHBoKwr3WMvzCcUA9F1I97c3U5J9GbfkIwLL+u7OfPRK 2qgIqIqDE9MCRFv/Y3wof0Kv71K4LzpJ7yxJfnhHfNGYmSZG0BhKX+TexfTXRIeOYTQw oELg== X-Gm-Message-State: ALyK8tJnr9PJg479a+FYH4ktweYakTinE05SsUqELNOIOAi14l/p4ueLLlWyzwwnRqc37JEm36PrVxQUBAD7+A== X-Received: by 10.107.59.201 with SMTP id i192mr16556247ioa.89.1468169634987; Sun, 10 Jul 2016 09:53:54 -0700 (PDT) MIME-Version: 1.0 References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> In-Reply-To: <83y459eah8.fsf@gnu.org> From: Aaron Jensen Date: Sun, 10 Jul 2016 16:53:45 +0000 Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii Content-Type: multipart/alternative; boundary=94eb2c063e9e90480e05374ae181 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c063e9e90480e05374ae181 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jul 10, 2016 at 9:15 AM Eli Zaretskii wrote: > > Or is there another way to ensure that `looking-at` is case sensitive? > > Does smartparens really care about this? Why? > I=E2=80=99d imagine because of things like ruby=E2=80=99s do/end. It wouldn= =E2=80=99t want to match DO/Do/etc. By the way, I tested without the bind and smartparens doesn=E2=80=99t even = show up on the profile. Thank you very much for helping me track it down. Would it be worth putting a warning in the docs of `let` for this case? Is it only case-fold-search or are there other vars that require per buffer updates to rebind? --=20 Aaron --94eb2c063e9e90480e05374ae181 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun, Jul 10, 2016 at 9:15 AM Eli Zaretskii <eliz@gnu.org> wrote:
> Or is there another way to ensu= re that `looking-at` is case sensitive?

Does smartparens really care about this?=C2=A0 Why?
I=E2=80=99d imagine because of things like ruby=E2=80=99s do/e= nd. It wouldn=E2=80=99t want to match DO/Do/etc.

B= y the way, I tested without the bind and smartparens doesn=E2=80=99t even s= how up on the profile. Thank you very much for helping me track it down.

Would it be worth putting a warning in the docs of `= let` for this case? Is it only case-fold-search or are there other vars tha= t require per buffer updates to rebind?
-= -
Aaron<= /div>
--94eb2c063e9e90480e05374ae181-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 13:14:31 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 17:14:31 +0000 Received: from localhost ([127.0.0.1]:45477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIJK-0000Za-P7 for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:14:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIJJ-0000ZN-8G for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 13:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMIJB-0005OL-0e for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 13:14:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIJA-0005Mi-TN; Sun, 10 Jul 2016 13:14:20 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3121 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMIJ8-0004QS-Ts; Sun, 10 Jul 2016 13:14:19 -0400 Date: Sun, 10 Jul 2016 20:14:13 +0300 Message-Id: <83r3b1e7q2.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Sun, 10 Jul 2016 16:53:45 +0000) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Aaron Jensen > Date: Sun, 10 Jul 2016 16:53:45 +0000 > Cc: npostavs@users.sourceforge.net, 23928@debbugs.gnu.org > > Does smartparens really care about this? Why? > > I’d imagine because of things like ruby’s do/end. It wouldn’t want to match DO/Do/etc. Then setting case-fold-search locally in the buffer (with setq-local and its ilk) should do the trick. > By the way, I tested without the bind and smartparens doesn’t even show up on the profile. Does this mean that the slow operation is also gone when you do that? > Would it be worth putting a warning in the docs of `let` for this case? Maybe in the manual. > Is it only case-fold-search or are there other vars that require per > buffer updates to rebind? Any variable which is global by default, but can be local in some buffers. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 14:43:01 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 18:43:01 +0000 Received: from localhost ([127.0.0.1]:45631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJgy-0002o2-TY for submit@debbugs.gnu.org; Sun, 10 Jul 2016 14:43:01 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:37373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJgx-0002np-Fz for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 14:42:59 -0400 Received: by mail-wm0-f52.google.com with SMTP id k123so69711247wme.0 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 11:42:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=5qW2ylurxrniRpuqxsZOQYaBKRf0NIk86LzWBD9C8fw=; b=uE3GmKUXHGwSa2yanLBs+2IECUU4ltYmcHpS56Uq9iJlI+n/M7/68iMi1/Jyi2Z9f9 L2sXJHwUhEIBjqx+ja6gXqYaxww5+4+WsLEzLknYeyKV/27580vSc/mB8ueB8iCYVOON PzERcmcDxi0dBNo1c7GIP9z7mO3dkdtCK+N5iuZ181f7DpTCihbJBPlqtGYJzm0nHIPX Eo+4LWkZOBbj+51Z6guCwYgSXxWrUkhHpoP/179/PB8gdu3/392W4r1xLOiDSdIJTXUe Myte19OV18H2+FpIzTTD1XqGGml0YL7hKZ3pFzxki3jaKIV8z/roLx1pqcZneiXVQCqZ H2wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=5qW2ylurxrniRpuqxsZOQYaBKRf0NIk86LzWBD9C8fw=; b=mOyy31oPARpLxG6kpKH9DpD/SoJ2d0mHoasZH/d6spXLlX58SS0eRXLLfNgw04OjFN /kKsUBcyGRjWe2kV4tZ7IcPu2P3247OFp9AMOBk2bPL7qkFWOaKlY7ouIdhsei8eEJKD 4YjDFg2oS5Hx/XNcRtfKqVi6VbBo4qOWcVv12JSmo2jMDC9Hj9Kp5tDYeMfWxJ2LSEu6 HO0o5Ofte/sPKQ3wxEyMyM5CT+A2MhsIV8BAUrfFtS0kE2DINR6O7NVc97Loq/ZnZQ3u NKn6slImr3HK9MpYeIANYjn6jCV9Y1m2VrQAiQwlpq3VisuJruyNF/Etkv0Vtxj0JxUB UvSA== X-Gm-Message-State: ALyK8tJTvnF5pyElAnZ0pfzpN0nx4ihOwDYP43NsD2fGgx84oq4Hp+CD8q6ZMokD0EkpYg== X-Received: by 10.28.54.147 with SMTP id y19mr13314959wmh.68.1468176173885; Sun, 10 Jul 2016 11:42:53 -0700 (PDT) Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id a191sm3381141wme.5.2016.07.10.11.42.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 11:42:53 -0700 (PDT) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii , Aaron Jensen References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> From: Dmitry Gutov Message-ID: <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> Date: Sun, 10 Jul 2016 21:42:50 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <83r3b1e7q2.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 07/10/2016 08:14 PM, Eli Zaretskii wrote: >> Does smartparens really care about this? Why? >> >> I’d imagine because of things like ruby’s do/end. It wouldn’t want to match DO/Do/etc. > > Then setting case-fold-search locally in the buffer (with setq-local > and its ilk) should do the trick. Do you mean something like (let (was-local was-value) (unwind-protect (progn (when (local-variable-p 'case-fold-search) (setq was-local t local-value case-fold-search)) (setq-local case-fold-search nil) do-stuff) (if was-local (setq-local case-fold-search was-value) (kill-local-variable 'case-fold-search)))) ? (Minor modes are generally not expected to leave behind themselves changes buffer-local values of general-purpose variables). From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 14:49:57 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 18:49:57 +0000 Received: from localhost ([127.0.0.1]:45635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJnh-0002ya-KT for submit@debbugs.gnu.org; Sun, 10 Jul 2016 14:49:57 -0400 Received: from mail-vk0-f45.google.com ([209.85.213.45]:34390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJne-0002yL-Is for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 14:49:55 -0400 Received: by mail-vk0-f45.google.com with SMTP id o63so30686430vkg.1 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 11:49:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lG3ebq8TKfTmZhV6MYCnX4LpGIvtyemmS1haxQVsboQ=; b=m6wL7yr2Jzh56wckvvRj+BQan9bk5lmmatOt93/H5rJh5Gej/AeMY8phbv4CIz/fbC nm58eP5j/BAMldyavGPwRuEptUat7lGNy+1+AKdb61FWv+ogYflpg2IC3C+nXRqiAIFv thqcQ4QKp/WiluQuD8W6BQ5B1P8c/g4vGV+D/gPTGY0KRsvGFHp8xZoxQYjMcRALbJA8 RxW7zgAKZu5x4K3+xrZvedmK2msf6dM0iUpPgCi1Yvpv38ZZdhsLR1jZBpIGhTE6GCV5 pM+3iUp5d+Q4fkI15jnhir0jkkLosjr2WEw+cFUH5xb3UVGvby72SPuImn91LeXIBwZW ostA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lG3ebq8TKfTmZhV6MYCnX4LpGIvtyemmS1haxQVsboQ=; b=GRIdvHHnHfsdLQagDJliH+YIGxwkuWkomh8EU79a2/GtCT1w19ZS/uJwGppTseQb2b mfgCOFT2Z6pqM+DBl9UUSQ8q8N5EhtI2iLgXXUcrptMTnrigUBFnpp6ECRSzA+q9qynJ MoPP8yC+lbOxuSs+jfTV31JcW0qpJEsu9XZ1rjGzAINEx8vs/WecC9yBKs9WNUkRKKdP P2ZXn9XwkE1KafnTLCeuRBy3rEK3o1YTB3fnVpoxYPx45RZNB9SHOz3soPNu7CMcHPzE 3oANWbX3YbS+b+70vLm0xMS9kQQd/1SRI7nrPUmG3NkjUENxRT6wu+YzQFftxXcR490j JhJw== X-Gm-Message-State: ALyK8tIuUDPNlQ1/plsYLXsftA5L+UbpqbDaMW3GasDh44vmLa74G1Vhaz6f97TZg67nKttCsoo9MSSHuY3a8A== X-Received: by 10.176.65.41 with SMTP id j38mr7522288uad.108.1468176588971; Sun, 10 Jul 2016 11:49:48 -0700 (PDT) MIME-Version: 1.0 References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> In-Reply-To: <83r3b1e7q2.fsf@gnu.org> From: Aaron Jensen Date: Sun, 10 Jul 2016 18:49:38 +0000 Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii Content-Type: multipart/alternative; boundary=94eb2c1235920da5d305374c80e5 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c1235920da5d305374c80e5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jul 10, 2016 at 10:14 AM Eli Zaretskii wrote: Does this mean that the slow operation is also gone when you do that? It seems to be a little better, yes, though it=E2=80=99s hard to tell witho= ut running a long session and opening several buffers. I just opened 200 buffers and it didn=E2=80=99t seem to be enough. I=E2=80=99ll have to wait = and see until I get to it naturally. Any variable which is global by default, but can be local in some > buffers. > Interesting. Good to know, thank you. --=20 Aaron --94eb2c1235920da5d305374c80e5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun, Jul 10, 2016 at 10:14 AM Eli Zaretskii <eliz@gnu.org> wrote:
=C2=A0Does this mean that the slow operation is also gone when you= do that?

It seems to be a little better, yes, tho= ugh it=E2=80=99s hard to tell without running a long session and opening se= veral buffers. I just opened 200 buffers and it didn=E2=80=99t seem to be e= nough. I=E2=80=99ll have to wait and see until I get to it naturally.
=

Any variable which is global = by default, but can be local in some
buffers.

Interesting. Good to know, tha= nk you.=C2=A0
--
Aaron
--94eb2c1235920da5d305374c80e5-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 15:01:56 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 19:01:57 +0000 Received: from localhost ([127.0.0.1]:45649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJzI-0003HJ-MZ for submit@debbugs.gnu.org; Sun, 10 Jul 2016 15:01:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMJzG-0003H5-OP for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 15:01:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMJz7-0004Pa-2A for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 15:01:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMJz6-0004PV-VS; Sun, 10 Jul 2016 15:01:45 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3319 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMJz3-0000MT-Lz; Sun, 10 Jul 2016 15:01:42 -0400 Date: Sun, 10 Jul 2016 22:01:29 +0300 Message-Id: <83furhe2ra.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> (message from Dmitry Gutov on Sun, 10 Jul 2016 21:42:50 +0300) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, aaronjensen@gmail.com, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > Cc: npostavs@users.sourceforge.net, 23928@debbugs.gnu.org > From: Dmitry Gutov > Date: Sun, 10 Jul 2016 21:42:50 +0300 > > > Then setting case-fold-search locally in the buffer (with setq-local > > and its ilk) should do the trick. > > Do you mean something like > > (let (was-local was-value) > (unwind-protect > (progn > (when (local-variable-p 'case-fold-search) > (setq was-local t > local-value case-fold-search)) > (setq-local case-fold-search nil) > do-stuff) > (if was-local > (setq-local case-fold-search was-value) > (kill-local-variable 'case-fold-search)))) > > ? Yes, something like that. I admit I didn't study the code well enough to figure out the details. > (Minor modes are generally not expected to leave behind themselves > changes buffer-local values of general-purpose variables). Of course. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 15:17:42 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 19:17:42 +0000 Received: from localhost ([127.0.0.1]:45654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMKEY-0003eE-3X for submit@debbugs.gnu.org; Sun, 10 Jul 2016 15:17:42 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:35912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMKEW-0003e2-BI for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 15:17:40 -0400 Received: by mail-wm0-f42.google.com with SMTP id f126so68734671wma.1 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 12:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=EYKIBTv5BTEc8BYnSzKyTx1tM0xj95PEjGA9UDH5TpM=; b=h/GPQH+l4Lhz0a4uroBUNSQPBfafsBLnnOaDFG9nRrp/SM1iPRZCj4YB+/8hOUbKqc UuYCroQ1+ovI1+jEW4BjesDbpVVkzThvUbVcRkBrS+dfcaHxtirkKWvSCyZwTv/XPo2l TMo7tM2/Y5sknjMKiEbzjKwjPL2UCId3tPg0eI8IAxb4I1KszHOhc6fkMn9t6HU/t7Qq IRuPcklha9QmNexWRRTPdJxIW48ETKmU1xMMmB/jCEDWjvepzlf0FjJJUPVi5GQyydmt LWbwkargedts+7NcjbLCB57l00LP/xmkDQ/9ej8ypD+KyqXu+cB3raGsSc86nUhpkYlZ b0eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=EYKIBTv5BTEc8BYnSzKyTx1tM0xj95PEjGA9UDH5TpM=; b=lEzHUlO6NNC//f2tOjp35N359fqwwhivLvfOu/9QUAu+zQWzglSEEnq8BaJ7E4dS2O LtS2TcWZ20hyXK6Z4bRX3IbBVThFG1eq01YOEKaZYUSu9INpfSDl8nLKKl1j7rddPXc4 PQdbX+kWlYzW+S61nN0uoQWb9PdtS2bib9Hv0B0riZfl86wzsduBHtOTHrSx/A3cIJiL UDxHUMsC8WirlshpAEsMGD9snh7bx994H3FiwyJduVA1YqHPgsPzZwB2XDpncu8uvT/X ywXq3rr/vFu5xrqeaejuTG3iM6blaAmb1RkWvIYaVTENlYyFPUdhCQGOneSoueaIqqUz ILRA== X-Gm-Message-State: ALyK8tK0igMHfa/QiSiwmgpb4/JaYmGl6EOTsyUBpiTuqQjJLdraNpltDe8DO0BZunQnGw== X-Received: by 10.28.176.7 with SMTP id z7mr13186327wme.17.1468178254696; Sun, 10 Jul 2016 12:17:34 -0700 (PDT) Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id e138sm10567499wme.16.2016.07.10.12.17.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 12:17:33 -0700 (PDT) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> From: Dmitry Gutov Message-ID: Date: Sun, 10 Jul 2016 22:17:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <83furhe2ra.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, aaronjensen@gmail.com, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 07/10/2016 10:01 PM, Eli Zaretskii wrote: > Yes, something like that. I admit I didn't study the code well enough > to figure out the details. I have to say that the idea of using the above for changing the value of case-fold-search instead of let, is surprising for me. Most of the time, one is using let just for that effect. The fact that it also changes the default values in all buffers is fine, for consistency and the principle of least surprise, but paying N(number-of-buffers) for that seems high. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 15:20:53 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 19:20:53 +0000 Received: from localhost ([127.0.0.1]:45658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMKHd-0003it-HB for submit@debbugs.gnu.org; Sun, 10 Jul 2016 15:20:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMKHc-0003ig-5U for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 15:20:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMKHT-0007ep-So for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 15:20:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMKHT-0007ee-Q0; Sun, 10 Jul 2016 15:20:43 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3344 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMKHR-00010t-9n; Sun, 10 Jul 2016 15:20:42 -0400 Date: Sun, 10 Jul 2016 22:20:29 +0300 Message-Id: <83d1mle1vm.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: (message from Dmitry Gutov on Sun, 10 Jul 2016 22:17:31 +0300) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, aaronjensen@gmail.com, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > Cc: aaronjensen@gmail.com, npostavs@users.sourceforge.net, > 23928@debbugs.gnu.org > From: Dmitry Gutov > Date: Sun, 10 Jul 2016 22:17:31 +0300 > > I have to say that the idea of using the above for changing the value of > case-fold-search instead of let, is surprising for me. Most of the time, > one is using let just for that effect. It only causes trouble if done in the innermost loops of your program. Otherwise, the cost is almost negligible. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 15:56:13 2016 Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 19:56:13 +0000 Received: from localhost ([127.0.0.1]:45674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMKpo-0004ad-Se for submit@debbugs.gnu.org; Sun, 10 Jul 2016 15:56:13 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMKpn-0004aO-E8 for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 15:56:11 -0400 Received: by mail-wm0-f41.google.com with SMTP id f65so42243668wmi.0 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 12:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=AHZIlLFCc6+IfnZOTjt0ZejnA27jl+BD64HEdsEjprU=; b=CF4XueMXRV0Fou3trq0pT5m6Fm7f/qa41ZfSl7908fN0qzdrmZ0II/2yFf3ANG+2ke SEhxuPIagyc86NOYufZhqkv4gQBs7rfhP7IHDF3seZ28fkjSUQ1WADviZhmxXPLgtDuR XwYk1fbLEgeqg2zaO8Runlyff6XH+INMSpJKRFX3HBe9nXMG4sRuZLL+13qxqWQyfh4A Ubso3KtZwoZaA16T1Jk7w/8FfgUBupj/Omw2O2asyXF+y7ojEtQc1WuCIEin8HvnlyPQ E66aA3Argv2azRM9PTZ+Hyt/axOogxQVlYV73IlFYI0oi28CqXzEt4PfxsPFTlHGr97r Fu9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=AHZIlLFCc6+IfnZOTjt0ZejnA27jl+BD64HEdsEjprU=; b=LgDokxBKIxV1DslECmFr+0qJKi52UKp2TTo06Zsv6Hc0PlNgtum79EfukZ3yA7i6Ag rr1bEqYjgaZpKTn50z+lXNbFUYP+s1zIsSb8pgGGoHiGeJj9CSQpL2AcxzhOZeV5r69m A7VWWgNv1ByYW9TM8mm2iGeV/nQGo3VmmD/Tlp1/5SLc9SbqSpxUtAVZwHl8cz6Me1uS DIYk6C0Id29SVP8hruxq0Vx/47hdKvdDFkJfqDr6E/Zjp5l5LzkLDQ29a7BA/0ywLSKC sIs96rvA5e5vjbDYEiMPIoIx4H3OLzjhFT4oCxQfDRR+u6C7E8UhiQ48Jf6XVhy1CYJf bkhg== X-Gm-Message-State: ALyK8tKZBncl1IuXtkmqc3UGTAaEqo9Fn+3M/MnTNZupFodaQ+1K9biJRDx8uqfJ28l5mA== X-Received: by 10.28.92.82 with SMTP id q79mr9432835wmb.24.1468180565840; Sun, 10 Jul 2016 12:56:05 -0700 (PDT) Received: from [192.168.1.2] ([185.105.173.135]) by smtp.googlemail.com with ESMTPSA id r190sm16547728wme.17.2016.07.10.12.56.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jul 2016 12:56:05 -0700 (PDT) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> <83d1mle1vm.fsf@gnu.org> From: Dmitry Gutov Message-ID: <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> Date: Sun, 10 Jul 2016 22:56:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <83d1mle1vm.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, aaronjensen@gmail.com, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 07/10/2016 10:20 PM, Eli Zaretskii wrote: > It only causes trouble if done in the innermost loops of your > program. Otherwise, the cost is almost negligible. I see. Then I think we should figure out why it's become more expensive in Emacs 25 (if that is indeed the case). From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 22:28:46 2016 Received: (at 23928) by debbugs.gnu.org; 11 Jul 2016 02:28:46 +0000 Received: from localhost ([127.0.0.1]:45798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMQxi-0002RS-Fm for submit@debbugs.gnu.org; Sun, 10 Jul 2016 22:28:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMQxg-0002RF-5i for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 22:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMQxW-0003iT-UP for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 22:28:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMQxW-0003iO-RC; Sun, 10 Jul 2016 22:28:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3522 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMQxU-0004pg-S9; Sun, 10 Jul 2016 22:28:33 -0400 Date: Mon, 11 Jul 2016 05:28:15 +0300 Message-Id: <83bn24ewn4.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> (message from Dmitry Gutov on Sun, 10 Jul 2016 22:56:03 +0300) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> <83d1mle1vm.fsf@gnu.org> <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, aaronjensen@gmail.com, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > Cc: npostavs@users.sourceforge.net, aaronjensen@gmail.com, > 23928@debbugs.gnu.org > From: Dmitry Gutov > Date: Sun, 10 Jul 2016 22:56:03 +0300 > > On 07/10/2016 10:20 PM, Eli Zaretskii wrote: > > > It only causes trouble if done in the innermost loops of your > > program. Otherwise, the cost is almost negligible. > > I see. Then I think we should figure out why it's become more expensive > in Emacs 25 (if that is indeed the case). It isn't yet clear that this is what happened. Can someone time this in both versions compiled with the same optimization options? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 22:48:32 2016 Received: (at 23928) by debbugs.gnu.org; 11 Jul 2016 02:48:32 +0000 Received: from localhost ([127.0.0.1]:45803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMRGq-0004Y0-7Q for submit@debbugs.gnu.org; Sun, 10 Jul 2016 22:48:32 -0400 Received: from mail-it0-f41.google.com ([209.85.214.41]:35923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMRGp-0004Xm-2A for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 22:48:31 -0400 Received: by mail-it0-f41.google.com with SMTP id f6so43835840ith.1 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 19:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qdjaZU6jG3IlV3xildTEe9vU6LOgq/M4xQltdsnRtS0=; b=ZwfQSqXcWLLcSuyee8RFD4VM5SWPc6+zc24BM9HyH0ekSZAqWdYfd5DR+lKLvSVktZ dSI3rKehNWfOd5kLMu3qYosl81RzpuqPvBqnej8lfTSeZxHboBltP/AOzTmX3bs1jK0+ 8/0rg9EntNAEhHXQymqFFOGHSfzp9dBwcYLTpSxa0vwcwFHstBUKQM3M2hBv2jterhz6 Y594Hnrt/DQADfqiWurkeBONq4Y2ZAtKPTQ2dTfsA44EkpVpRcEQHUM2DvLfBEj4iE8M V0K70/YxFVhfWqFS1kzRv5/5xZKyTYkiQg6GDj+BRQG09UY9PyYMRGdcDx1CKY9iJLqH lI6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qdjaZU6jG3IlV3xildTEe9vU6LOgq/M4xQltdsnRtS0=; b=evty4TC6+SCHbCMAKqyUNAdwxfUyqJeWSYIhQZEqeAn6lEMPLj2hA7KE4ROlo9L7Dn BdVjCfyjZ9VLWqLScylYHjJZov+cZWErUdWaJQV1qr13FNccZAG5D2wzLcMy4ErV1eSt hBmBgCz3o0o1bzCpBJZ+B7Tu7DGc2rglq4bqRudmJzZwznZaNqsOA6/DuO5lPMM+oNNt c8hXglXgAa1H6cDiKAr4QjV9EylgiRizbHuyPUluQ4/cAGZPKZQvOG3oFfrHXmUblc1J rEwIBqIgo+M+UCTOA00PXUw974HkJB29eJylJpluYXCEa+A3M6nkQYOxdt9hmAGxpSra khrw== X-Gm-Message-State: ALyK8tIwhsGx3yB4AWbWkJEB2yMkWM3WooonDeu6Ke4aHOjLJI0xUwEiaevb97/wLh3kEaOxkXYz12OBDrqg1w== X-Received: by 10.36.158.197 with SMTP id p188mr7731301itd.97.1468205305512; Sun, 10 Jul 2016 19:48:25 -0700 (PDT) MIME-Version: 1.0 References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> <83d1mle1vm.fsf@gnu.org> <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> <83bn24ewn4.fsf@gnu.org> In-Reply-To: <83bn24ewn4.fsf@gnu.org> From: Aaron Jensen Date: Mon, 11 Jul 2016 02:48:16 +0000 Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii , Dmitry Gutov Content-Type: multipart/alternative; boundary=94eb2c05f87eb14a2e0537532f3a X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c05f87eb14a2e0537532f3a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Jul 10, 2016 at 7:28 PM Eli Zaretskii wrote: > > I see. Then I think we should figure out why it's become more expensive > > in Emacs 25 (if that is indeed the case). > > It isn't yet clear that this is what happened. Can someone time this > in both versions compiled with the same optimization options? > I=E2=80=99m not thinking that this is the case anymore=E2=80=A6 at least, I= don=E2=80=99t have any evidence to point to that. I still don=E2=80=99t know exactly what state em= acs has to be in for it to be super painfully slow. The fix/workaround, while it helped, only really shaved off 4ms or so from a typometer avg, which is significant, but it wasn=E2=80=99t as bad as I had seen it in the slow case= , so I=E2=80=99m probably missing something in the repro. Any way, I=E2=80=99m happy to consider this bug closed if you all are, thou= gh I think that adding additional caveats to the docs would be wonderful, this is a particularly nasty/surprising thing. Thank you all for your help. --=20 Aaron --94eb2c05f87eb14a2e0537532f3a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Sun= , Jul 10, 2016 at 7:28 PM Eli Zaretskii <eliz@gnu.org> wrote:
> I see. Then I think we should figure out why it's become more expe= nsive
> in Emacs 25 (if that is indeed the case).

It isn't yet clear that this is what happened.=C2=A0 Can someone time t= his
in both versions compiled with the same optimization options?

I=E2=80=99m not thinking that this is the case anymo= re=E2=80=A6 at least, I don=E2=80=99t have any evidence to point to that. I= still don=E2=80=99t know exactly what state emacs has to be in for it to b= e super painfully slow. The fix/workaround, while it helped, only really sh= aved off 4ms or so from a typometer avg, which is significant, but it wasn= =E2=80=99t as bad as I had seen it in the slow case, so I=E2=80=99m probabl= y missing something in the repro.

Any way, I=E2=80= =99m happy to consider this bug closed if you all are, though I think that = adding additional caveats to the docs would be wonderful, this is a particu= larly nasty/surprising thing.

Thank you all for yo= ur help.
--
Aaron
--94eb2c05f87eb14a2e0537532f3a-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 22:49:22 2016 Received: (at 23928) by debbugs.gnu.org; 11 Jul 2016 02:49:22 +0000 Received: from localhost ([127.0.0.1]:45807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMRHe-0004Zb-HT for submit@debbugs.gnu.org; Sun, 10 Jul 2016 22:49:22 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:36106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMRHd-0004ZK-9k for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 22:49:21 -0400 Received: by mail-it0-f43.google.com with SMTP id f6so43845437ith.1 for <23928@debbugs.gnu.org>; Sun, 10 Jul 2016 19:49:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W45RMQi6U8dXe0xDRuyFT7Iee4VuFXwPQgofo0rZ+sw=; b=WciPTQ5XYobpGx2QKCBYTpcPQ+BmfdE+FwxJDeS7gXQEX5vXDfUrQFX/MEU+Enyh3O iSd4sbUzmjOYO/leWph5LShFEPqLjmbLzDkbPR4wCcpCYQitD0mPDrNGQghnSJcCyBEZ aD5nzKHWdIfuTFLfCUhuv/VN9TEtNsaYhpB52ZyGobClJrV+AMpG5Mwwis4B6DnbcfZx TTqL3VQTWe/6ZVrhP84fEAcxdXzRYXwFiAeylQNqTO1UCi9PvX5QYQJtKnXYgCb7CldO +KVih/5SSMW8/fBmtLJ7xyooC9KqmwsL1Ds522qYW5mfNo3vjUvU3qe+v4xwcN8KASYZ A6hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W45RMQi6U8dXe0xDRuyFT7Iee4VuFXwPQgofo0rZ+sw=; b=B1O7HuUPC55bkkI80nNGcwxcFMAVmA3XFbbjaXEduqsCxNiHyyDUYcQc9MHQUum0DR TTnX/EIKeCIwFIzaGjMqA4GuvoogA5QQsuD6LsUPBba78/wPNINV9CHFnzoXeqqSh36D x2CBexslnG8p4D+ANy8fa5xF2LQ//GRoz//MK/YyoIhIaz13jXWEzmlugiqFwcv2MWcR BnsXMX+P8whG7QD6WJBcRlBX4qSxtIvswWL2/PsB2AloMUFF+Ca/q0pviqtRSoH4StXn w9TYY895F6N3dmSU7HhWCirGQKjSY2CGpjWLTkurFyPD+ohRc15d7WILjfmIfHdjhHhM J/aQ== X-Gm-Message-State: ALyK8tLX5pxUk13LtJZmVMvJ5kMmxBG0GHESPBfXUW+vEXg9TEtLOOCNjQ83kJ3p9ojKtqZFgMNnpQsJXEvvLQ== X-Received: by 10.36.29.5 with SMTP id 5mr7061432itj.97.1468205355948; Sun, 10 Jul 2016 19:49:15 -0700 (PDT) MIME-Version: 1.0 References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> <83d1mle1vm.fsf@gnu.org> <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> <83bn24ewn4.fsf@gnu.org> In-Reply-To: From: Aaron Jensen Date: Mon, 11 Jul 2016 02:49:06 +0000 Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii , Dmitry Gutov Content-Type: multipart/alternative; boundary=001a1135b194b2e02d053753328f X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a1135b194b2e02d053753328f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable By the way, here=E2=80=99s the pull request I ended up submitting back to smartparens: https://github.com/Fuco1/smartparens/pull/628 Feel free to comment on it if you have feedback. Thanks again! --=20 Aaron --001a1135b194b2e02d053753328f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
By the way, here=E2=80=99s the pull request I ended up sub= mitting back to smartparens:=C2=A0https://github.com/Fuco1/smartparens/pull/628=C2=A0

<= div>Feel free to comment on it if you have feedback. Thanks again!
--
Aaron
--001a1135b194b2e02d053753328f-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 11 10:38:45 2016 Received: (at 23928) by debbugs.gnu.org; 11 Jul 2016 14:38:45 +0000 Received: from localhost ([127.0.0.1]:46968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMcM9-0003fR-5c for submit@debbugs.gnu.org; Mon, 11 Jul 2016 10:38:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMcM7-0003fF-Uk for 23928@debbugs.gnu.org; Mon, 11 Jul 2016 10:38:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMcLz-0007Ox-QT for 23928@debbugs.gnu.org; Mon, 11 Jul 2016 10:38:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMcLz-0007Oj-NS; Mon, 11 Jul 2016 10:38:35 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3814 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMcLw-0004io-GJ; Mon, 11 Jul 2016 10:38:33 -0400 Date: Mon, 11 Jul 2016 17:38:12 +0300 Message-Id: <83wpkscka3.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Mon, 11 Jul 2016 02:48:16 +0000) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> <83d1mle1vm.fsf@gnu.org> <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> <83bn24ewn4.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Aaron Jensen > Date: Mon, 11 Jul 2016 02:48:16 +0000 > Cc: npostavs@users.sourceforge.net, 23928@debbugs.gnu.org > > Any way, I’m happy to consider this bug closed if you all are, though I think that adding additional caveats to > the docs would be wonderful, this is a particularly nasty/surprising thing. Let's wait for a few days, in case you find more interesting data. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 20 00:58:34 2016 Received: (at 23928) by debbugs.gnu.org; 20 Jul 2016 04:58:34 +0000 Received: from localhost ([127.0.0.1]:57827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPjac-000818-5K for submit@debbugs.gnu.org; Wed, 20 Jul 2016 00:58:34 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:35032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPjaY-00080q-Sj for 23928@debbugs.gnu.org; Wed, 20 Jul 2016 00:58:33 -0400 Received: by mail-io0-f171.google.com with SMTP id m101so37865424ioi.2 for <23928@debbugs.gnu.org>; Tue, 19 Jul 2016 21:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vQ5+SJR1t21YbuMbYHqGjbi2uxnlgbNoXRRxz4R+f/Q=; b=LOl4ip7VAKXu2LBpv8L3OM2IftsjXV3m/2vlmHcjSrv0GilgToVcYenan22+qYMNGD fdYAMMUL8CIJOFUNOtu8Kxmcl2pScrp1EkzeuF+sIAFGuXuWMWxQzH+mgiOmTyCb6353 ZEo4j50fnoIHyYksGDTaZiB/dL8EzE/GbasTU1VwWmvhPe/KbFN+mvyRKWzpP5mUr6L3 GoJRNS9gUc27btzCL35trRokeRbbSx70nKmYwVlYy+yoQwRuYrCFE58ZaB6cfpsi+mKb EDV/IZPl+BPxa3a74GhMKjqnVzC1wtmyPlNXF5R9uv/ZF3IH9U5N/bLV/xGZcc0EgsTC RKZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vQ5+SJR1t21YbuMbYHqGjbi2uxnlgbNoXRRxz4R+f/Q=; b=TSAddhPwXM7Hu7cwLD3tLP1uvU+95FwLgoJtR90PrG4W3sM6lNIQK6NRA1A6zDVrZY 7UP8gmWhuYZ76rZixtL5zNyrLy+eJamIoq4Om0TglJUHOUgDHNYrqr2mNpZUu49hKLYX Seb/hEG37WAjCS53h3UuUnKinErWIhQFz0YW5y8wFisDDg8ANvKLTM3coGgW8kSbST8R NpaTYIYScAO+7+OsL5dxYN26/DfQZsgDBAVoLas4VCcslAm8AT2Y2YHItLGF2HR760RI BNb6awg7JVQghZ51PZpQxcW+x52TIPrdTnX7mbVL7osGyKBjV31cEdtELwNqWouoPjEw NHOw== X-Gm-Message-State: ALyK8tJvZwVE1b9XtYpSJ8t52YrNwf5YJ0uw7GJQNLOqX/GvDuXX3wQy+WNA6hu4JNsVQ7GlNUdWngshQqvcSQ== X-Received: by 10.107.164.80 with SMTP id n77mr3333215ioe.105.1468990704502; Tue, 19 Jul 2016 21:58:24 -0700 (PDT) MIME-Version: 1.0 References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> <83d1mle1vm.fsf@gnu.org> <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> <83bn24ewn4.fsf@gnu.org> <83wpkscka3.fsf@gnu.org> In-Reply-To: <83wpkscka3.fsf@gnu.org> From: Aaron Jensen Date: Wed, 20 Jul 2016 04:58:15 +0000 Message-ID: Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens To: Eli Zaretskii Content-Type: multipart/alternative; boundary=001a1141ca581ed34405380a0dea X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23928 Cc: 23928@debbugs.gnu.org, npostavs@users.sourceforge.net, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a1141ca581ed34405380a0dea Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jul 11, 2016 at 7:39 AM Eli Zaretskii wrote: > Let's wait for a few days, in case you find more interesting data. > With the two patches[1][2] I=E2=80=99ve applied to smartparens, smartparens= no longer has any measurable performance issues on my machine in my testing, so if there was a regression I=E2=80=99m not going to be able to find it in= this way. I think the most likely story is that I never stuck w/ emacs 24 long enough w/ my current config to run into the performance issue. Thank you again for all your assistance. [1]: https://github.com/Fuco1/smartparens/pull/629 [2]: https://github.com/Fuco1/smartparens/pull/628 --=20 Aaron --001a1141ca581ed34405380a0dea Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Mon, Jul 11, 2016 at= 7:39 AM Eli Zaretskii <eliz@gnu.org= > wrote:
Let's wait for a few days, in case you find more interesting data.=

With the two patches[1][2] I=E2=80=99v= e applied to smartparens, smartparens no longer has any measurable performa= nce issues on my machine in my testing, so if there was a regression I=E2= =80=99m not going to be able to find it in this way. I think the most likel= y story is that I never stuck w/ emacs 24 long enough w/ my current config = to run into the performance issue.

Thank you again= for all your assistance.

--
= Aaron
--001a1141ca581ed34405380a0dea-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 20 10:56:51 2016 Received: (at 23928-done) by debbugs.gnu.org; 20 Jul 2016 14:56:51 +0000 Received: from localhost ([127.0.0.1]:58745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPsvX-0001tp-53 for submit@debbugs.gnu.org; Wed, 20 Jul 2016 10:56:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPsvS-0001tV-2v for 23928-done@debbugs.gnu.org; Wed, 20 Jul 2016 10:56:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPsvJ-0000BQ-QT for 23928-done@debbugs.gnu.org; Wed, 20 Jul 2016 10:56:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPsvJ-0000BH-Mw; Wed, 20 Jul 2016 10:56:33 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4244 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bPsvH-0000Ic-N2; Wed, 20 Jul 2016 10:56:32 -0400 Date: Wed, 20 Jul 2016 17:56:35 +0300 Message-Id: <83r3aoz7bw.fsf@gnu.org> From: Eli Zaretskii To: Aaron Jensen In-reply-to: (message from Aaron Jensen on Wed, 20 Jul 2016 04:58:15 +0000) Subject: Re: bug#23928: 25.0.95; Performance regression observable with smartparens References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> <83r3b1e7q2.fsf@gnu.org> <558772bd-cab7-3358-a7f0-4071d338f0f9@yandex.ru> <83furhe2ra.fsf@gnu.org> <83d1mle1vm.fsf@gnu.org> <6055e15a-5939-bfa9-a975-2482c74cb58d@yandex.ru> <83bn24ewn4.fsf@gnu.org> <83wpkscka3.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 23928-done Cc: 23928-done@debbugs.gnu.org, npostavs@users.sourceforge.net, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Aaron Jensen > Date: Wed, 20 Jul 2016 04:58:15 +0000 > Cc: dgutov@yandex.ru, npostavs@users.sourceforge.net, 23928@debbugs.gnu.org > > On Mon, Jul 11, 2016 at 7:39 AM Eli Zaretskii wrote: > > Let's wait for a few days, in case you find more interesting data. > > With the two patches[1][2] I’ve applied to smartparens, smartparens no longer has any measurable > performance issues on my machine in my testing, so if there was a regression I’m not going to be able to find > it in this way. I think the most likely story is that I never stuck w/ emacs 24 long enough w/ my current config to > run into the performance issue. Thanks, so I'm closing the bug. From unknown Tue Jun 17 22:01:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Aug 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator