/rev/42f614d9acf3
changeset: 1296:42f614d9acf3
user: Martin Geisler <[email protected]>
date: Fri Oct 16 23:31:06 2009 +0200
summary: 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.
diffstat:
apps/benchmark.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r beefdf8f16c4 -r 42f614d9acf3 apps/benchmark.py
--- a/apps/benchmark.py Fri Oct 16 22:34:26 2009 +0200
+++ b/apps/benchmark.py Fri Oct 16 23:31:06 2009 +0200
@@ -143,7 +143,7 @@
parser.set_defaults(modulus=2**65, threshold=1, count=10,
runtime="PassiveRuntime", mixins="", num_players=2,
prss=True,
- operation=operations.keys()[0], parallel=True, fake=False,
+ operation="mul", parallel=True, fake=False,
args="", needed_data="")
print "*" * 60
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk