From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.devel Subject: rtl tests Date: Tue, 18 Dec 2012 22:41:33 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=005045016f078ecc9c04d1275c22 X-Trace: ger.gmane.org 1355866905 7705 80.91.229.3 (18 Dec 2012 21:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2012 21:41:45 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 18 22:41:59 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 1Tl4vC-0002JR-9t for guile-devel@m.gmane.org; Tue, 18 Dec 2012 22:41:54 +0100 Original-Received: from localhost ([::1]:41832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl4uy-000373-TP for guile-devel@m.gmane.org; Tue, 18 Dec 2012 16:41:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl4uu-00035n-Me for guile-devel@gnu.org; Tue, 18 Dec 2012 16:41:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl4ut-0002dQ-6u for guile-devel@gnu.org; Tue, 18 Dec 2012 16:41:36 -0500 Original-Received: from mail-qa0-f41.google.com ([209.85.216.41]:50421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl4ut-0002cx-1l for guile-devel@gnu.org; Tue, 18 Dec 2012 16:41:35 -0500 Original-Received: by mail-qa0-f41.google.com with SMTP id o19so3918524qap.14 for ; Tue, 18 Dec 2012 13:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uD8zrM7jYBHbpgqNMOY5W2jHfBsNpOzmxRiSOHHB8O8=; b=dXMmkk+o6Ijq/0u7OkEvuNp9w8fdcPEBF9Eq7KP2udA+/BNcagV0ZBVo7qjG8HTrQc oD4tn0usIFegV19cm6tADm/UQssfFp9L5K8Q6NBmkBh5xYira9gsVeiXFGjwkVoazfEN XoV54G4ihPI5bKiDn0kPs3MHo0VAjuUBFcyQAC8HJvu7yvRq9XGdRh+JY/r4XY0tPhqk byNyC92DgGwBP1jdMnqbR6tpSekC79ufWUljb0mldrizg1EAIVf6193AzijTsKws3zw1 hX0GOjtBHG0SFHVqPD5mGALy9ICgBj6+8YaxhlV/xZE8A1YPtzXQpi9bKi0Nv40/6e97 Ullg== Original-Received: by 10.229.195.211 with SMTP id ed19mr319052qcb.78.1355866893634; Tue, 18 Dec 2012 13:41:33 -0800 (PST) Original-Received: by 10.49.28.135 with HTTP; Tue, 18 Dec 2012 13:41:33 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.216.41 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:15354 Archived-At: --005045016f078ecc9c04d1275c22 Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm just finished debugging the rtl generator to actually compile files to the rtl VM and today I managed to get srfi-1.scm to pass all tests. Maybe more interesting is the performance test in the repo. And here are the vote: -------------------------------------------------------------------------------------- RTL VM =======: ("srfi-1.bm: fold: big" 30 real 1.11 ("srfi-1.bm: fold: small" 2000000 real 1.18 ("srfi-1.bm: drop-while: big" 30 real 1.24 ("srfi-1.bm: drop-while: small" 2000000 real 1.27 ("srfi-1.bm: map: big" 30 real 2.95 ("srfi-1.bm: map: small" 2000000 real 2.35 ("srfi-1.bm: for-each: big" 30 real 1.88 ("srfi-1.bm: for-each: small" 2000000 real 1.72 ------------------------------------------------------------------------------------- GUILE-2.0 VM in master? =================== ("srfi-1.bm: fold: big" 30 real 1.47 ("srfi-1.bm: fold: small" 2000000 real 1.29 real/iteration ("srfi-1.bm: drop-while: big" 30 real 1.43 real/iteration ("srfi-1.bm: drop-while: small" 2000000 real 1.23 real/iteration ("srfi-1.bm: map: big" 30 real 3.42 real/iteration ("srfi-1.bm: map: small" 2000000 real 2.55 real/iteration ("srfi-1.bm: for-each: big" 30 real 2.25 ("srfi-1.bm: for-each: small" 2000000 real 1.80 ---------------------------------------------------------------------------------------- To note here are that I executed the functions from guile-2.0 VM e.g. there is an expensive call to set upp the RTL VM for each iteration of the test. Therefore I would not judge the small cases. On the other hand the big cases shows quite a significant speedup! Have fun! /Stefan --005045016f078ecc9c04d1275c22 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I'm just finished debuggi= ng the rtl generator to actually compile files to the rtl VM and today I ma= naged to get srfi-1.scm to pass all tests.=A0

Maybe more interesting is the performance test in the repo. And here are th= e vote:
---------------------------------------------------= -----------------------------------
RTL VM
=3D=3D=3D=3D=3D=3D=3D:
("srfi-1.bm: fold: big" 30=A0
real 1.11

("srfi-1.bm: fold: sm= all" 2000000=A0
real 1.18

("srfi-1.bm: drop-while: big" 30=A0
real 1.24

("srfi-1.bm: dr= op-while: small" 2000000=A0
real 1.27

("srfi-1.bm: map: big" 30=A0
real 2.95
=
("srfi-1.bm: map: smal= l" 2000000=A0
real 2.35

("srfi-1.bm: for-each: big" 30 real=A0
1.88
=

("srfi-1.bm: for-= each: small" 2000000=A0
real 1.72
----------------------------------------------= ---------------------------------------
GUILE-2.0 VM in mas= ter?
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D
("srfi-1.bm:= fold: big" 30=A0
real 1.47=A0

("srfi-1.bm: fold: small" 2000000 real=A0
1.29 real/it= eration

("srfi-1= .bm: drop-while: big" 30 real=A0
1.43 real/iteration

("srfi-1.bm: drop-while: small" 2000000 real=A0
=
1.23 real/iteration

("srfi-1.bm: map: big" 30 real=A0
3.42 real/iteration

("srfi-1.bm: map: small" 2000000 real=A0
2.55 r= eal/iteration

("= srfi-1.bm: for-each: big" 30 real=A0
2.25

("srfi= -1.bm: for-each: small" 2000000 real=A0
1.80
-= ---------------------------------------------------------------------------= ------------

To note here are that I executed the functions fr= om guile-2.0 VM
e.g. there is an expensive call to set upp = the RTL VM for each iteration of the test. Therefore I would not judge the = small cases. On the other hand the big cases shows quite a significant spee= dup!

Have fun!
/Stefan
--005045016f078ecc9c04d1275c22--