wahab- wrote:
> Thus spoke DJ Stunks (on 2006-05-27 17:51):
>
> > Mirco Wahab wrote:
> >> BTW, I adjusted the code to give the OP's output
> >> an timed it again (64KB string this time):
> >>
> >> When invoking the Regex in ruud2_2*, I get:
> >> [2 times]
> >> Rate krahn peavy ruud2_2 ruud2_1 original
> >> wahab krahn 6.07/s -- -20% -52% -62% -63%
> >> -77% peavy 7.59/s 25% -- -39% -52% -54%
> >> -72% ruud2_2* 12.5/s 106% 65% -- -21% -25%
> >> -53% ruud2_1 15.9/s 162% 109% 27% -- -4%
> >> -41% original 16.6/s 174% 119% 33% 5% --
> >> -38% wahab 26.8/s 342% 254% 114% 69% 61%
> >> --
>
> > well something is still definitely way off.... are you telling me you
> > can only run these subroutines between 6 and 26 times per second? look
> > at my benchmark - the peavy() subroutine ran 34,000 times per second.
> > or are you running on this on your ADAM II with 64k of RAM?
>
> No. Initially we did run these tests on strings of
> 24 bytes (or the like). These results should,
> therefore, mostly measure initialization overhead.
>
> Now we run the tests on a character stream of
> *65,500 bytes*, which gives (imho) much more
> insights.
I still fail to see the point of any of this, other than pure academic
interest. If you are actually going to print the output, why not
include that printing in the benchmark? OTOH, if you are not going to
print the output, why demand that the nonexistent output be formatted in a
certain way?
Why test for 65,500 bytes of input but only 4 bytes of shift-register?
Xho
--
--------------------
http://NewsReader.Com/ --------------------
Usenet Newsgroup Service $9.95/Month 30GB