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#15555: 24.3; Bidirectional display very slow with long lines Date: Tue, 18 Feb 2014 18:21:10 +0200 Message-ID: <83fvng75op.fsf@gnu.org> References: <83wqlo461e.fsf@gnu.org> <8338obskk4.fsf@gnu.org> <83iox6qt1t.fsf@gnu.org> <53035588.3080705@dev.rtsoft.ru> <530367A1.3010002@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1392740530 7491 80.91.229.3 (18 Feb 2014 16:22:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 16:22:10 +0000 (UTC) Cc: 15555@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 18 17:22:17 2014 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 1WFnR3-0004wS-45 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 17:22:17 +0100 Original-Received: from localhost ([::1]:50560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFnR2-0004lC-NS for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 11:22:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFnQt-0004b8-9X for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 11:22:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFnQn-0000ol-W9 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 11:22:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFnQn-0000oh-Tr for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 11:22:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFnQn-0004Jo-MQ for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 11:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2014 16:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15555-submit@debbugs.gnu.org id=B15555.139274046916513 (code B ref 15555); Tue, 18 Feb 2014 16:22:01 +0000 Original-Received: (at 15555) by debbugs.gnu.org; 18 Feb 2014 16:21:09 +0000 Original-Received: from localhost ([127.0.0.1]:58612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFnPx-0004IH-7e for submit@debbugs.gnu.org; Tue, 18 Feb 2014 11:21:09 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:39291) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFnPv-0004HT-If for 15555@debbugs.gnu.org; Tue, 18 Feb 2014 11:21:08 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0N1700F0099BI400@mtaout28.012.net.il> for 15555@debbugs.gnu.org; Tue, 18 Feb 2014 18:21:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N17005BL9G9QPB0@mtaout28.012.net.il>; Tue, 18 Feb 2014 18:21:46 +0200 (IST) In-reply-to: <530367A1.3010002@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85824 Archived-At: > Date: Tue, 18 Feb 2014 18:01:05 +0400 > From: Dmitry Antipov > CC: 15555@debbugs.gnu.org > > On 02/18/2014 04:43 PM, Dmitry Antipov wrote: > > > Are you sure that bidi_copy_it doesn't add one more bottleneck to the whole > > stuff? > > There is a busy bidi_shelve_cache/bidi_unshelve_cache loop which processes > ~1.5M of cache data per each iteration. Where's that loop in the sources? > That's why memcpy takes ~25% in the overall profile... Why doesn't this happen in the other (smaller) file?