From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Pixel-based display functions Date: Sat, 07 Feb 2015 10:16:39 -0500 Message-ID: References: <54CE6BD2.8000402@gmx.at> <8361bliin0.fsf@gnu.org> <83386piiby.fsf@gnu.org> <87oap9yoti.fsf@building.gnus.org> <874mqzvnwo.fsf@building.gnus.org> <83h9uzeb4a.fsf@gnu.org> <87bnl7jrr7.fsf@building.gnus.org> <831tm3dt8u.fsf@gnu.org> <87k2zvgj4d.fsf@building.gnus.org> <83siejcahb.fsf@gnu.org> <87bnl7gh7x.fsf@building.gnus.org> <87zj8qcqjv.fsf@building.gnus.org> <87r3u2cn46.fsf@building.gnus.org> <838ugacfd3.fsf@gnu.org> <87fvaiccjk.fsf@building.gnus.org> <83zj8qawhh.fsf@gnu.org> <874mqycadq.fsf@building.gnus.org> <83wq3uauua.fsf@gnu.org> <87zj8qaue7.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423322211 26625 80.91.229.3 (7 Feb 2015 15:16:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2015 15:16:51 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 07 16:16:50 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YK77o-0000Ok-Ht for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2015 16:16:48 +0100 Original-Received: from localhost ([::1]:53471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK77o-0006xd-01 for ged-emacs-devel@m.gmane.org; Sat, 07 Feb 2015 10:16:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK77l-0006xY-9j for emacs-devel@gnu.org; Sat, 07 Feb 2015 10:16:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YK77i-0007t7-3H for emacs-devel@gnu.org; Sat, 07 Feb 2015 10:16:45 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK77h-0007t0-VA; Sat, 07 Feb 2015 10:16:42 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t17FGdCq031720; Sat, 7 Feb 2015 10:16:39 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 3C7ABFAA; Sat, 7 Feb 2015 10:16:39 -0500 (EST) In-Reply-To: <87zj8qaue7.fsf@building.gnus.org> (Lars Ingebrigtsen's message of "Sat, 07 Feb 2015 21:27:44 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5210=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5210> : inlines <2048> : streams <1386309> : uri <1849062> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182610 Archived-At: >> That could explain the shr-vertical-motion vs vertical-motion alone, >> but what about the twofold degradation of speed, from 1.75 sec for >> 2625 calls to 1.46 sec for 854 calls? > I don't have an explanation for that. ELP weirdness? You can also try M-x profiler-start/report which, being sample-based rather than rewriting code, should have less side-effects. Of course, it won't tell you how many times a function was called. Stefan