From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Help debugging elisp and emacs display engine Date: Thu, 26 Nov 2015 23:32:35 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1448598780 6637 80.91.229.3 (27 Nov 2015 04:33:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2015 04:33:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Cody Goodman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 05:32:53 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 1a2AiJ-000057-9N for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2015 05:32:51 +0100 Original-Received: from localhost ([::1]:54602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2AiL-0003BU-Rl for ged-emacs-devel@m.gmane.org; Thu, 26 Nov 2015 23:32:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Ai5-00037p-0g for emacs-devel@gnu.org; Thu, 26 Nov 2015 23:32:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2Ai4-00069k-BE for emacs-devel@gnu.org; Thu, 26 Nov 2015 23:32:36 -0500 Original-Received: from mail-io0-x22a.google.com ([2607:f8b0:4001:c06::22a]:33551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2Ai4-00069Z-7t for emacs-devel@gnu.org; Thu, 26 Nov 2015 23:32:36 -0500 Original-Received: by iouu10 with SMTP id u10so105338511iou.0 for ; Thu, 26 Nov 2015 20:32:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=s6k440Q/0vBDWSIx26/s3VtYyDlMp/XfYtfwuCJb1Tk=; b=C3eb0Nl0eFRlqWD4PLPZeCp5j7eUoXLaEl2Xbg1Tj/b/xQKM7j6Zvlu1eR2885THui vwWSsufWJ5LgUGrU8U1qPoyLKn+h753W2GjNGJAHtAiZkOoMoY1V9FZ/FRJ12wlDTrLy FUmFJvndQWHhxulMUXgLJ5eb6SwK4wgFlf0UWYs6TeGMCA3luYDvJPOC3C+0EMT19qz4 qNbIZ7/MWs2blo5623G8J1Hefr083fnP/Ay3u51GDLOBz/uIikIJw8xrQAzyXp8a64Pu eQFsa+zSbRPwVkRTAJ606mzCB0zcFzgwxTesZD/co0lydk7jv6rNOA9xgby5SpcZadJH oZ1g== X-Received: by 10.107.167.68 with SMTP id q65mr43293090ioe.120.1448598755673; Thu, 26 Nov 2015 20:32:35 -0800 (PST) Original-Received: by 10.79.119.2 with HTTP; Thu, 26 Nov 2015 20:32:35 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: 6Tjuk82wFDgphKzB0cVZHwKkcls X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c06::22a 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:195338 Archived-At: On Thu, Nov 26, 2015 at 6:35 PM, Cody Goodman wrote: > ;; TODO: lookup how benchmark works > (benchmark 10 (test-long-line-scrolling 100)) You need to quote the form you want to measure: (benchmark 10 '(test-long-line-scrolling 100)) This seems to have come up several times in the last couple of weeks. Maybe `benchmark' should issue a warning if the FORM argument satisfies `atom'?