From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: indirect threading for bytecode interpreter Date: Mon, 21 Sep 2009 08:27:01 -0600 Message-ID: References: <200909181915.n8IJFfw7006915@godzilla.ics.uci.edu> <200909210158.n8L1wr55000349@godzilla.ics.uci.edu> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253543259 19699 80.91.229.12 (21 Sep 2009 14:27:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2009 14:27:39 +0000 (UTC) Cc: Dan Nicolaescu , Emacs development discussions To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 21 16:27:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MpjrX-0004tH-OB for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2009 16:27:32 +0200 Original-Received: from localhost ([127.0.0.1]:50480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpjrW-000685-Tv for ged-emacs-devel@m.gmane.org; Mon, 21 Sep 2009 10:27:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpjrH-00067C-5s for emacs-devel@gnu.org; Mon, 21 Sep 2009 10:27:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpjrA-000655-M5 for emacs-devel@gnu.org; Mon, 21 Sep 2009 10:27:12 -0400 Original-Received: from [199.232.76.173] (port=54856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mpjr9-00064u-Uj for emacs-devel@gnu.org; Mon, 21 Sep 2009 10:27:08 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:62517) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mpjr9-0001JC-70 for emacs-devel@gnu.org; Mon, 21 Sep 2009 10:27:07 -0400 Original-Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8LER5w4013400; Mon, 21 Sep 2009 10:27:06 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8LER4A6012641; Mon, 21 Sep 2009 10:27:04 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8LER2mc016570; Mon, 21 Sep 2009 10:27:03 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 2A8553782C6; Mon, 21 Sep 2009 08:27:02 -0600 (MDT) X-Attribution: Tom In-Reply-To: (Stefan Monnier's message of "Mon, 21 Sep 2009 09:13:10 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115495 Archived-At: >>>>> "Stefan" == Stefan Monnier writes: >> I've profiled (using oprofile) Emacs running this a few times; typical >> results show mark_object at 10-12% of runtime. It is probably pretty >> easy to reproduce this with a variety of elisp programs. Stefan> So no matter how hard we try, we won't gain more than about 10% speed-up Stefan> trying to optimize the GC. Doesn't sound like a great motivator. Yeah, though it does vary by workload. re_match_2_internal is actually the top time user in my profiles, using 17-25% of the runtime. Tom