From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#21514: Guile 2.2: Sluggish elf calls, esp around arity / promises / statprof Date: Fri, 24 Jun 2016 14:24:37 +0200 Message-ID: <87lh1ug4fu.fsf@pobox.com> References: <874mirbv8x.fsf@dustycloud.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466771128 13544 80.91.229.3 (24 Jun 2016 12:25:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2016 12:25:28 +0000 (UTC) Cc: 21514-done@debbugs.gnu.org To: Christopher Allan Webber Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jun 24 14:25:17 2016 Return-path: Envelope-to: guile-bugs@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 1bGQAe-0002aL-9N for guile-bugs@m.gmane.org; Fri, 24 Jun 2016 14:25:16 +0200 Original-Received: from localhost ([::1]:43108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGQAd-0003w3-ES for guile-bugs@m.gmane.org; Fri, 24 Jun 2016 08:25:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGQAU-0003qz-QB for bug-guile@gnu.org; Fri, 24 Jun 2016 08:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGQAQ-0008V7-QV for bug-guile@gnu.org; Fri, 24 Jun 2016 08:25:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGQAQ-0008V3-M9 for bug-guile@gnu.org; Fri, 24 Jun 2016 08:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGQAQ-0001Bl-FV for bug-guile@gnu.org; Fri, 24 Jun 2016 08:25:02 -0400 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Fri, 24 Jun 2016 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 21514 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 21514@debbugs.gnu.org, wingo@pobox.com, cwebber@dustycloud.org Original-Received: via spool by 21514-done@debbugs.gnu.org id=D21514.14667710884538 (code D ref 21514); Fri, 24 Jun 2016 12:25:02 +0000 Original-Received: (at 21514-done) by debbugs.gnu.org; 24 Jun 2016 12:24:48 +0000 Original-Received: from localhost ([127.0.0.1]:53487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGQAB-0001B8-VS for submit@debbugs.gnu.org; Fri, 24 Jun 2016 08:24:48 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:55096 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGQAA-0001B0-VU for 21514-done@debbugs.gnu.org; Fri, 24 Jun 2016 08:24:47 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 4A1E0202C6; Fri, 24 Jun 2016 08:24:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=iqVSisTKdarzXNC71EOkS/sdgLc=; b=ZRwzM6 4oSm2T7L4k3JXcoIkMU0fVyRGsoMre1TcdCEMd4qNYajKdjLWuiYBv4bN2gQHXSq 01xVrhfxrDVttxvOoRDDxccmUP/kt8lB3KT66OY/v9j0o8y0YR1BZ0qUP9hXWDeR yLLoGqL0FpVhMP411HcwmQzIq3G5MPDyj/5QM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=BJTpCLjpqZMlqZdNojyuh4vNEVgPUnw6 emxQk09ykf0bKIeG/8urehv+HBvo6bPRwaiKkjTE0y8s6ljzWgRYoftXKtoVFO55 7dbPmIdlyXKFzDt5tTLk4vBH1tAIkX/KRVgbDe9dUP8XJYDRKokP3q7P2wKBsdkG IQqUm3HPNzY= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 428C2202C5; Fri, 24 Jun 2016 08:24:45 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 88E44202C4; Fri, 24 Jun 2016 08:24:44 -0400 (EDT) In-Reply-To: <874mirbv8x.fsf@dustycloud.org> (Christopher Allan Webber's message of "Fri, 18 Sep 2015 10:19:56 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Pobox-Relay-ID: A24C0F52-3A06-11E6-A271-C1836462E9F6-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8220 Archived-At: On Fri 18 Sep 2015 17:19, Christopher Allan Webber writes: > I was testing a program of mine under Guile 2.2, and was surprised to > find things slower than in Guile 2.0, surprising given all the various > optimizations I've heard about! However, I think I've found good clues > as to what's going on. (Summary: procedure-minimum-arity, called via `thunk?' when making promises, was doing a lot of work, grovelling debuginfo to answer simple questions.) I fixed procedure-minimum-arity to be quicker, which should fix this bug. Please let me know if you see thunk? as a perf problem in your use case. In the meantime I seem to have broken ,trace :/ I'll see what the deal is there. Andy