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: Sun, 3 May 2015 18:02:06 +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 1430672544 27968 80.91.229.3 (3 May 2015 17:02:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 May 2015 17:02:24 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 03 19:02:21 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 1YoxHY-00088E-KE for ged-emacs-devel@m.gmane.org; Sun, 03 May 2015 19:02:20 +0200 Original-Received: from localhost ([::1]:59824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoxHY-0006aC-00 for ged-emacs-devel@m.gmane.org; Sun, 03 May 2015 13:02:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoxHM-0006Zu-A3 for emacs-devel@gnu.org; Sun, 03 May 2015 13:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoxHL-000851-Ei for emacs-devel@gnu.org; Sun, 03 May 2015 13:02:08 -0400 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:33022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoxHL-00084x-7A for emacs-devel@gnu.org; Sun, 03 May 2015 13:02:07 -0400 Original-Received: by lbbzk7 with SMTP id zk7so91637752lbb.0 for ; Sun, 03 May 2015 10:02:06 -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=usHCGuCg5DzFSaGtlXkNdGEnITErJ6560q8ICHCCY+Y=; b=jakQKYRXNBqVkFdKzAvSqROuf6eQaHO7p7HaFnd+5F205DfCMrWGxSagF/Z2S/uguF BgwuikvdNTz08KbT7amFKvBTxmpxdfYTgEe0o3r7+FR9ghr+sPlfL6ZVnyjYYUxjtJ+X CE480T4xU2QK/AczCV+PaZF1eDLciQlAijg4IDUoWPwKLO5uAYKv4ekgc9fxd1WU+btP EQD7ai4Ptn4BLHAErTkU+scFJ57UBcX3QAjTL4nBKEgyUUdIZb6uWgN4W63HOboIIbT5 7sTWGe+26rQ2ctIZbzUOqlvpUCg5H0vtQGLDBgP5GGOqF8oBrHps3U7IBjpOB9iZujXH HwFg== X-Received: by 10.152.43.110 with SMTP id v14mr11781388lal.4.1430672526380; Sun, 03 May 2015 10:02:06 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Sun, 3 May 2015 10:02:06 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: tIrg2_HPDGVnX1BITtgJG2jmWVc X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::232 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:186163 Archived-At: > Yes, the time spent in those functions is odd. Maybe it would be > worthwhile to run tabulated-list-print 10 times or so, to increase the > number of samples. Yep, that's what I was doing (if you consider 7 ~ 10). Here's the command I was running under M-: (progn (profiler-start 'cpu) (tabulated-list-print)(tabulated-list-print)(tabulated-list-print)(tabulated-list-print)(tabulated-list-print)(tabulated-list-print)(tabulated-list-print) (profiler-report) (profiler-stop))