viff

changeset 1296:42f614d9acf3

benchmark: make benchmark run again without options Using operations.keys()[0] as the default operation made the benchmark chose a semi-random operation! In my case it picked triple_gen, which is of course incompatible with the default PassiveRuntime.
author Martin Geisler <mg@cs.au.dk>
date Fri, 16 Oct 2009 23:31:06 +0200
parents beefdf8f16c4
children 0a96f8ee4bd3
files apps/benchmark.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/apps/benchmark.py	Fri Oct 16 22:34:26 2009 +0200
     1.2 +++ b/apps/benchmark.py	Fri Oct 16 23:31:06 2009 +0200
     1.3 @@ -143,7 +143,7 @@
     1.4  
     1.5  parser.set_defaults(modulus=2**65, threshold=1, count=10,
     1.6                      runtime="PassiveRuntime", mixins="", num_players=2, prss=True,
     1.7 -                    operation=operations.keys()[0], parallel=True, fake=False,
     1.8 +                    operation="mul", parallel=True, fake=False,
     1.9                      args="", needed_data="")
    1.10  
    1.11  print "*" * 60