[hashcash] Re: Low end benchmarks

  • From: "John Honan" <jhonan@xxxxxxxxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Sat, 28 Aug 2004 18:13:38 -0500 (CDT)

>> When I do 'make 386', I'm getting;
>>
>> knoppix@ttyp0[hashcash-1.03]$ hashcash -s
>> collisions = 36800
>> speed: 368000 collision tests per second
>>
>> On 'make x86-mmx', I get; speed: 375000 collision tests per second
>>
>> 'make generic' gives me the best performance at 463,000 tests per
>> second.
>>
>> Am I missing something?
>
> Are you doing "make clean" in between?  If not, almost nothing will get
> recompiled with the new settings.  The x86-mmx target should get you
> about 2.6 million or so.
>
> OTOH, the present method of doing a "quick benchmark" may well be
> suspect.  I was going to put in a proper one, but haven't got around to
> it yet.
>
> --------------------------------------------------------------
> from:     Jonathan "Chromatix" Morton

Yup, doing 'make clean' between.

What's the best way of getting a more detailed/verbose benchmark output?
(What I mean is, is there an easy way?!)

I compiled the x86-mmx version and stopwatch timed some 24-bit stamps. I
was getting between 10-15 seconds, with some of them up at 35-45
seconds... But I'd like to see how many tests/second this is actually
giving me.

John.

Other related posts: