mpir/bench/README

66 lines
2.2 KiB
Plaintext
Raw Normal View History

2009-04-12 12:50:39 -04:00
MPIRbench 0.1
Copyright 2003 Free Software Foundation, Inc.
This file is part of the MPIRbench.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA. */
The idea is to have a hierarchy of benchmarks, with benchmark results
computed for the entire "MPIRbench", and for "MPIRbench.app.mersenne",
"MPIRbench.app.RSA", "MPIRbench.app.RSA.encrypt", etc, separately.
For MPIRbench 0.1, there are just three parts:
[Multiply large numbers]
base.multiply 128
512
8192
131072
2097152
[Divide numbers of different sizes by small primes]
base.divide 8192/32 preinv
8192/64 preinv
8192/128
8192/4096
8192/8064 clever
131072/8192 barrett repeat
131072/65536
8388608/4194304 newton+barrett
[Run the RSA encryption algorithm]
app.RSA encrypt/verify 512
1024
2048
decrypt/sign 512
1024
2048
Result scores are computed as a geometric mean. Please use the included
script runbench for running the benchmarks and computing benchmark scores.
When reporting results please include:
A. Machine type and model
B. CPU type and clock frequency
C. MPIR version used
D. Modifications as permitted above
E. Compiler and compiler version used
F. Compiler options used
Please also report any changes you have made to MPIR or the benchmark code
provided here.