From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: Take some lowhanging fruit to speed up R6RS fixnum operations Date: Wed, 30 Mar 2011 03:37:21 +0200 Message-ID: <871v1pcrse.fsf@gmx.at> References: <1300836034-17716-1-git-send-email-a.rottmann@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301449069 11128 80.91.229.12 (30 Mar 2011 01:37:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 01:37:49 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Mar 30 03:37:44 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4kLu-0002Bd-Su for guile-devel@m.gmane.org; Wed, 30 Mar 2011 03:37:43 +0200 Original-Received: from localhost ([127.0.0.1]:49658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4kLu-00073f-Ex for guile-devel@m.gmane.org; Tue, 29 Mar 2011 21:37:42 -0400 Original-Received: from [140.186.70.92] (port=47916 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4kLn-0006xy-Hc for guile-devel@gnu.org; Tue, 29 Mar 2011 21:37:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4kLi-0006QS-TZ for guile-devel@gnu.org; Tue, 29 Mar 2011 21:37:35 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:42030) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q4kLi-0006Ot-Ir for guile-devel@gnu.org; Tue, 29 Mar 2011 21:37:30 -0400 Original-Received: (qmail invoked by alias); 30 Mar 2011 01:37:27 -0000 Original-Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp006) with SMTP; 30 Mar 2011 03:37:27 +0200 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1/2i3pYYib2q2yFtdb6NUXygZQOicLyJlZ0JGQ83U LZUY1d3ZAnfCt0 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 42CC13A68F; Wed, 30 Mar 2011 03:37:26 +0200 (CEST) Original-Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RYSoI9Dydpq8; Wed, 30 Mar 2011 03:37:21 +0200 (CEST) Original-Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 9799A3A685; Wed, 30 Mar 2011 03:37:21 +0200 (CEST) Original-Received: by delenn.lan (Postfix, from userid 1000) id 522832C00C1; Wed, 30 Mar 2011 03:37:21 +0200 (CEST) In-Reply-To: (Andy Wingo's message of "Tue, 29 Mar 2011 13:05:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12068 Archived-At: Andy Wingo writes: > On Wed 23 Mar 2011 00:20, Andreas Rottmann writes: > >> In porting dorodango[0], I have noticed that Guile's R6RS fixnum >> operations are quite slow; here's a patch to remedy that a bit. > > What is the state of things here? I'm a bit lost in the discussion :) > I'll post a summary mail regarding performace soonish; it's quite tedious to set up branches for all the possibly interesting combinations of optimizations, and then actually running the benchmarks. > You said that decompressing the zip file takes 74 seconds with Guile as > it is now. What if you change to use Guile's arithmetic instead of > fxops? That would give is a good baseline so that we can know how much > overhead the fxops have. > I'll put numbers for that into the benchmark; i.e. with a `(rnrs arithmetic fixnum)' module just containing aliases. Regards, Rotty -- Andreas Rottmann --