From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23928: 25.0.95; Performance regression observable with smartparens Date: Sat, 09 Jul 2016 19:50:04 +0300 Message-ID: <831t32hi2r.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468083086 31568 80.91.229.3 (9 Jul 2016 16:51:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 16:51:26 +0000 (UTC) Cc: 23928@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 09 18:51:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLvTG-0007NB-Nm for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 18:51:14 +0200 Original-Received: from localhost ([::1]:51804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLvTF-0002oF-N1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 12:51:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLvT9-0002o6-CM for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 12:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLvT4-00053y-Dr for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 12:51:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLvT4-00053u-A9 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 12:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLvT4-0000vp-5m for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 12:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2016 16:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23928 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23928-submit@debbugs.gnu.org id=B23928.14680830273540 (code B ref 23928); Sat, 09 Jul 2016 16:51:02 +0000 Original-Received: (at 23928) by debbugs.gnu.org; 9 Jul 2016 16:50:27 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 In-reply-to: (message from Aaron Jensen on Sat, 09 Jul 2016 14:56:40 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120701 Archived-At: > 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.