From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dr. Arne Babenhauserheide" Newsgroups: gmane.lisp.guile.devel Subject: Re: FWD: Test reader speed of Guile 3.0.6 in Lilypond Date: Thu, 18 Mar 2021 18:21:36 +0100 Message-ID: <87tup8nzrz.fsf@web.de> References: <878s6vaa7c.fsf@web.de> <87v99wf1n0.fsf@web.de> <87czvwj230.fsf@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25381"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.15; emacs 27.1 To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu Mar 18 18:22:06 2021 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMwLW-0006TX-76 for guile-devel@m.gmane-mx.org; Thu, 18 Mar 2021 18:22:06 +0100 Original-Received: from localhost ([::1]:55472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMwLV-0002eG-7o for guile-devel@m.gmane-mx.org; Thu, 18 Mar 2021 13:22:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMwLB-0002bF-NH for guile-devel@gnu.org; Thu, 18 Mar 2021 13:21:45 -0400 Original-Received: from mout.web.de ([212.227.15.3]:56833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMwL8-0005GA-Um for guile-devel@gnu.org; Thu, 18 Mar 2021 13:21:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1616088100; bh=9+t6ooH6H2so/SUU6RkLVmIjtVictMc3OrVNC5KthKA=; h=X-UI-Sender-Class:References:From:To:Subject:In-reply-to:Date; b=mNncpdwt0zLpLMYtrkLAuH/n5KBYPNdA9hAiUeZLk6EdcWtNsu4M1CJgMhxmOToYI 4ltBbU1gXAV0pns8FkwXJXgRAIskWcooinNl2lON68p+IODaY+s2mNySCdrDm9o/NJ NqRK+6kvihn+bGUrNAG0BCzOE3lZxB2OMdOTjRdM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from fluss ([84.149.81.26]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MIeCm-1lP8CS2xLM-002Ikr; Thu, 18 Mar 2021 18:21:40 +0100 In-reply-to: <87czvwj230.fsf@web.de> X-Provags-ID: V03:K1:CUNCgTE545FL/REma4Tjt2SSkbbgbl4mIYsLVxc1+YEVRDHAoRb adVJqQI28D4krWV32t0fiamEmKjb+ySBwPZSKCCzl3dEIUbQw5ZFMhrCS1ZmrXWLA6HKI08 IPASH737kfNBNPhsRWg/RHkzsKnERZkQGkBHDlnQv/7oKWnir3WHRO45aqEjU1VH1Aw7uuI v377zo4Y8QHi26kZBqJRg== X-UI-Out-Filterresults: notjunk:1;V03:K0:5+gPof1/n4Q=:scU+bAb4nB6APGtEJSuSnt X18WdgHVGAwpcJDIG7KYYAJUhvysNoe3lEQ9bkl+x2JOGyQB+M4IgVDNeCDPjOFBF41ktRqy3 rx7NgbqUMvbva9tMnl2gM1sqHgzFdmNkhjbjuhinBefj9WAq/Td8577Rc4yLAPNvmntfSA3ir pohfTf4tfBMoznepyE5bqxThUVwkG4PmLo9xN7mSskLtvemg3t6ozzqS4dVMjzZNcK1BSMDQx sC3ar4FkIqFIqd7owvAKO67eP6wQ4cy1eWacK8tyCywOeT+EsoDg7WrHTtrRSJEfNVLO/B7dv HMPj2JGsufSijLeZKacHIoPz+k9LG4N+fcLFmmv7Za3mq/FHj3tTstthVE/A3f+TUn5s5jLM4 Sp8hWSLRgmeDSs1k/0TY7UqUBpMLUlxAnYvXxOSz4UlN7+kRglw3Js0WqLOdv2NDW6M5Di67I OY4NfgXpRPMXChMBv7MvhYaq1/cvtsyvRmxB0C7PKJCsz8zr8lGIbVivL9gBWDwcblJpLQq/o 1OhWJEC7yeR/SR56kmtiUlDNGc/i26dtzmeRe0q9fCTe1VF4BzX71d4BhzgsUvIYEk1TR1aKv /p8W0VBbHQCSP5SfFQ9MKzXrGz2qsKj/M1rBbtrcdMwFfThxTbIsmJvV/TDDg54kShCiGq35L cktOb8yfOR5qeUAs5Xsa+F8d1oe+COE9+jEKocXneD+np1hb6BET55VmJwgfMxuijDPYgGCiK LrGqQmRURf7ulraIOPX4bC1T6UlqILmf2z3IhKe5zs95Ky+9AKhKX25tmezWcW5TRHsAeZUM Received-SPF: pass client-ip=212.227.15.3; envelope-from=arne_bab@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20710 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable More tests were done by Thomas Morley, which also give a perspective on the initial very negative reaction by the lilypond developers, as it shows the abysmal speed that initial versions of Guile2-Lilypond integration had. Thomas Morley writes: > Am Fr., 12. M=C3=A4rz 2021 um 10:45 Uhr schrieb Thomas Morley > : >> >> Am Do., 11. M=C3=A4rz 2021 um 22:47 Uhr schrieb Dr. Arne Babenhauserheide > >> > Do you already have results? >> >> Currently my regular job eats up all my time. >> Probably I'll find some free time at upcoming weekend, not sure though... >> If so, to which guile-version should I compare, guile-1.8 (which is >> still LilyPond-default) or a certain guile-2/3-version? > > Found some time today... > > I tested a huge ly-score, once sent by Jean-Charles for testing > different guile-versions: > https://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00948.html > Thanks again! > I made it compilable with recent ly-master out of > 55ca32d951dd17556df8d0332b861f0cd189379a > (though I didn't fix all warnings and programming errors) > > Tested with these guile versions: > guile-1.8.8 from tarball > guile-2-2-6 out of a69b567d97f7c9193924c775e1dd86e43a35b8bd > guile-3.0.6 from master, i.e. out of 85433fc2b122dc78342c3c83941949d1d931= 8399 > (although (version) says: 3.0.5.116-85433) > > There are some guile-warnings, multiple instances of: > WARNING: (#{ g478}#): `smallCaps-markup' imported from both (lily) and > (#{ g171}#) > WARNING: (scm framework-ps): imported module (lily) overrides core bindin= g `_' > The latter one is about gettext and PITA. > > > I compiled Urtext.ly from the tarball linked above (giving a 158 pages pd= f): > > %%%%%%%%%%%%%%%%%%%% > guile-1.8.8 > > real 4m37,304s > user 4m14,144s > sys 0m7,717s > > %%%%%%%%%%%%%%%%%%%% > guile-2.2.6, (version) says: 2.2.6.7-9a11b > > real 7m18,995s > user 6m41,808s > sys 0m11,960s > > eating much more memory than guile-1.8.8 > > %%%%%%%%%%%%%%%%%%%% > guile-3.0.6, (version) says: 3.0.5.116-85433 > > real 5m49,587s > user 5m11,033s > sys 0m9,488s > > eating a little more memory than with guile-1.8.8 but far less than guile= -2.2.6 =E2=80=A6 > I tested _one_ huge file. > In it there's some custom-code to deal with accented letters like in > "=C3=A9=C3=A8=C3=AA=C3=AB=C3=A1=C3=A0=C3=A2=C3=A4=C3=AD=C3=AC=C3=AE=C3=AF= =C3=B3=C3=B2=C3=B4=C3=B6=C3=BA=C3=B9=C3=BB=C3=BC=C3=A7=C5=93=C3=A6", which = guile-1 was not able to cope with in > many cases. > I think guile-2/3 does a better job in this regard. > Btw, this is my strongest argument to switch to guile-2/3 > I could eliminate that code for guile-2/3 runs and take timing values aga= in. > Maybe it has positive impact. > Interested? Has to wait for the weekend, though. >=20 > Otoh, adjusting small things in a small file like finding the needed valu= e for > \override Grob.X-offset =3D FINDME > is a pain with guile-2/3 because of the already mentioned startup delay. > The strongest argument against switching to guile-2/3, imho. =E2=80=A6 > %%%%%%%%%%%%%%%%%%%% > %%%%%%%%%%%%%%%%%%%% > > Interestingly I found some older timing values from former tests: > > %%%%%%%%%%%%%%%%%%%% > released lilypond-2.19.52 with guile-1.8.7 > > real 8m16.191s > user 6m39.864s > sys 0m10.860s > > %%%%%%%%%%%%%%%%%%%% > with guile-versions from 2.0.14 and 2.1.7 I noted: > > Best result was: > real 25m17.082s > user 31m1.668s > sys 0m5.480s > > Worst result was: > real 77m44.348s > user 100m40.324s > sys 0m18.932s > > Though, my noted former results are a little messy: I can't say > anymore which guile-version with which lilypond-patches was > best/worst. > > Anyway, both, LilyPond and guile seem to have improved a lot. > A: Did you do these tests on the same machine? > Yes, it was all on the same machine. > Though, guile-2.0.12 was the first version with a _chance_ to compile > LilyPond, iirc > These early attempts used patches which nowadays are superseeded by > far better ones. > So while the machine is the same, LilyPond has become far better to > deal with guile-2/3. > I think those scary values are documenting where we started and are of > historic interest, nothing more. > Cheers, > Harm =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qE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