From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Lazy printing in tabulated-list-mode Date: Fri, 1 May 2015 19:12:19 +0100 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1430503947 4550 80.91.229.3 (1 May 2015 18:12:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 18:12:27 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 01 20:12:27 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 1YoFQI-0001bM-Fa for ged-emacs-devel@m.gmane.org; Fri, 01 May 2015 20:12:26 +0200 Original-Received: from localhost ([::1]:55094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFQH-0005Uo-P5 for ged-emacs-devel@m.gmane.org; Fri, 01 May 2015 14:12:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFQC-0005Uf-P2 for emacs-devel@gnu.org; Fri, 01 May 2015 14:12:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoFQB-0002wn-VN for emacs-devel@gnu.org; Fri, 01 May 2015 14:12:20 -0400 Original-Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]:33551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFQB-0002wh-O0 for emacs-devel@gnu.org; Fri, 01 May 2015 14:12:19 -0400 Original-Received: by lbbzk7 with SMTP id zk7so69446954lbb.0 for ; Fri, 01 May 2015 11:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=eePf6prJe1WVkhepDnffOER7hYdz4b0/LvhS0R7tBBI=; b=W6VFzTTM09oUj4jG/RJVNXXQUPqEurzPeei7X/G1hpnPj/Eia31KlATTekMwi7v47y IKDb88KiSSMJY14ZqF8swJWWqfiQseLi2xfZRiMwFQn3OmH8qUmDs4hTUfhxDNmxKWJw bFKEtfjSI4WPEMUgIvmabaCH9h2RTE7gk7T2sQMahtN4YArgPxhbvpPXRvwWYUG03Boj Li6mg4k2Ii4kGGz21KMZuxK/SXy1uDfRWsaZJTgk2RdEBgN3x9Y/aycr0WKusrg6pjNH 8H4FFBQ8cbYw7ecK/29l59zB/3RdUt2CnObTgi9ebOu/acSO9kwwr7Y9KofSuh5ne1iS k9IQ== X-Received: by 10.112.204.6 with SMTP id ku6mr9053124lbc.73.1430503939048; Fri, 01 May 2015 11:12:19 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Fri, 1 May 2015 11:12:18 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: O0w7yQgP4r_phyeNplt1e_21GcI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::229 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:186090 Archived-At: Damn, that's the second time I hit C-ret accidentally. Gotta disable this keybind.That message is not finished. 2015-05-01 19:11 GMT+01:00 Artur Malabarba : > I mean I didn't look hard enough. I've included the report below, here > is what I can infer > > > > - command-execute 3383 59% > - call-interactively 3383 59% > - funcall-interactively 3312 58% > - eval-expression 3312 58% > - eval 3312 58% > - progn 3312 58% > - tabulated-list-print 3309 58% > - let 3309 58% > - let 2676 46% > - while 2676 46% > - let 2669 46% > - apply 2646 46% > - tabulated-list-print-entry 2640 46% > - let 2624 46% > - let 2254 39% > - while 2241 39% > - let 2164 37% > - setq 2151 37% > - tabulated-list-print-col 2101 36% > - let* 1939 34% > + let 965 16% > + if 534 9% > + setq 50 0% > < 33 0% > + and 13 0% > or 9 0% > concat 6 0% > setq 4 0% > + if 96 1% > add-text-properties 21 0% > insert 3 0% > + if 465 8% > + profiler-report 3 0% > + byte-code 71 1% > + ... 2313 40% > > 2015-05-01 18:27 GMT+01:00 Stefan Monnier : >>> I did profile, and as far as I could tell it is spent in the printing itself. =P >> >> You mean it's spent in `insert'? >> >> >> Stefan