From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.devel Subject: Re: Performance tracking Date: Sat, 5 May 2012 12:33:49 -0400 Message-ID: References: <87bom334ns.fsf@inria.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1336235642 14456 80.91.229.3 (5 May 2012 16:34:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 16:34:02 +0000 (UTC) Cc: guile-devel@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat May 05 18:34:02 2012 Return-path: Envelope-to: guile-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 1SQhvk-00016I-P1 for guile-devel@m.gmane.org; Sat, 05 May 2012 18:34:00 +0200 Original-Received: from localhost ([::1]:45696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQhvk-0002If-5S for guile-devel@m.gmane.org; Sat, 05 May 2012 12:34:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQhvg-0002IM-13 for guile-devel@gnu.org; Sat, 05 May 2012 12:33:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQhvd-0008CQ-EX for guile-devel@gnu.org; Sat, 05 May 2012 12:33:55 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:42242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQhvd-00085a-6m; Sat, 05 May 2012 12:33:53 -0400 Original-Received: by obbwd18 with SMTP id wd18so6998961obb.0 for ; Sat, 05 May 2012 09:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1qs+xgaUpGlvmwkps5nmP4UchG0ux1wfJReZlFG29lc=; b=ddCU/GuDvG+mryqGeTgoVqY6dztZFwUqmZGR+Vm1A9nR+7PUVrJVWAvQBJlVVxsqH2 6qcNiBa8IBQYEqtu6m+9Fc2XVx1YokTnLz/C9GEH61PfZhxNRgEJ66EzTKaCg9pDCWsx gGZO5+6eE5fpI4EHOWCRi44oX9r+B3lqVAhGajHoD+Ip9AcW4xMlfFPQj9UfvkI+AK19 BkY6sEEnb4JMweyhATdidvPFcHosGX5k0xuifcdQWxGLR7RuLQAuMdUx9doXdDT4jGPp IXv6crcNzeFBKhwgD6WkikljT9vcZzq/xWgqaKirYRky8B5AdYCmHwmTjyJEP/WQtSJE u4dA== Original-Received: by 10.50.220.227 with SMTP id pz3mr5339959igc.7.1336235629181; Sat, 05 May 2012 09:33:49 -0700 (PDT) Original-Received: by 10.42.29.200 with HTTP; Sat, 5 May 2012 09:33:49 -0700 (PDT) In-Reply-To: <87bom334ns.fsf@inria.fr> X-Google-Sender-Auth: 8gR8utskiA4XiEXT2Fi_HMSX5Eg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14349 Archived-At: It appears to me (anecdotally) that most of the build time is spent compiling Scheme code, rather than C code. One idea I had been toying with is whether Guile could compile faster if it had another copy of Guile already around, so it could skip the portion of compile-time where the interpreter is running the compiler. This is how most compilers do it - you want another C compiler around to compile GCC, etc. I was afraid that this would result in a too-complicated build system, but maybe not. Does anyone have experience with implementing something like this? Noah On Fri, May 4, 2012 at 7:30 PM, Ludovic Court=E8s wrote: > Hello! > > I was looking at the =93history chart=94 at > , which shows graphs > of the build time and installed Guile size vs. commits. =A0Timings must b= e > taken with a grain of salt, because of variability on the build machines. > > Still, a couple of worthwhile observations: > > =A0=95 commit 1af6d2a (=93Minimize size of embedded syntax objects in > =A0 =A0psyntax-pp.scm=94) reduced the installed size from ~14.6=A0MiB to > =A0 =A0~13.3=A0MiB; > > =A0=95 CSE led to a build time increase from 28m at > =A0 =A0 to 43m > =A0 =A0. > > Thanks, > Ludo=92. > >