Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion of Mops, jit and perl6
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leopold Toetsch  
View profile  
 More options Jul 30 2002, 5:48 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Tue, 30 Jul 2002 10:23:06 +0200
Local: Tues, Jul 30 2002 4:23 am
Subject: Re: of Mops, jit and perl6

Dan Sugalski wrote:
> At 10:44 AM +0200 7/28/02, Leopold Toetsch wrote:

>> 2) Some Mops numbers, all on i386/linux Athlon 800, slightly shortend:
> Just out of curiosity, I presume the (rather abysmal) perl 6 numbers

After the bugfix in perlarray.pmc I can bring you new numbers, which are
not that abysmal.

Changing the while loop in mops.p6 to:
  $I4 = $I4 - $I3              # sub    I4, I4, I3
-      while ($I4>0);             # if     I4, REDO
+      while ($I4);             # if     I4, REDO

(which is more correct, comparing to e.g. mops.pl)

$ time perl6 -Rj mops.p6
Iterations:    1000000
Estimated ops: 2000000
Elapsed time:  1.032118
M op/s:        1.937763

real    0m3.357s
user    0m3.190s
sys     0m0.150s

We have already the same Mops as perl5, but additionaly 2.3 seconds
overhead. Just running the byte code is as fast as perl5.

Without jit, mops.p6 performs at 0.8 Mops.

leo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.