[viff-devel] What to benchmark
ivan at daimi.au.dk
ivan at daimi.au.dk
Wed Sep 24 06:59:27 PDT 2008
Quoting Mikkel Krøigård <mk at daimi.au.dk>:
> Citat ivan at daimi.au.dk:
>
> > I think there was earlier some version where arithmetic was done by calling
> > some
> > external C code.
> We are easily able to switch between gmpy (which is implemented in C) and
> Python
> arithmetic, if that's what you mean.
Well I guess that's part of what I meant. Certainly, if you can measure how much
time is spent inside the C code, this will say how much "raw" time is spent on
arithmetic. This assumes, however, that all arithmetic, even down to simple
additions are done this way. Then there are other things, such as computing
PRF's that I suppose is not done using gmp?. This would have to be measured
separately
>
> > Exercise: if you can measure 1) and 2), how do you measure 3)? :-)
> That's one tough equation.
>
Many years of experience as a university teacher allows me to ask almost
impossible questions with surprising ease..
regards, Ivan
More information about the viff-devel
mailing list