viff

changeset 654:f9fe663c0de1

Use (n-1)/3 as threshold when benchmarking. This threshold works for both passive and active security.
author Martin Geisler <mg@daimi.au.dk>
date Sat, 12 Apr 2008 13:40:16 +0200
parents 0743b624fb60
children 46be7fc26c47 c1ad22124f89
files apps/benchmark.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/apps/benchmark.py	Fri Apr 11 16:21:52 2008 +0200
     1.2 +++ b/apps/benchmark.py	Sat Apr 12 13:40:16 2008 +0200
     1.3 @@ -212,7 +212,8 @@
     1.4  else:
     1.5      benchmark = SequentialBenchmark
     1.6  
     1.7 -pre_runtime = create_runtime(id, players, (len(players) -1)//2, options, runtime_class)
     1.8 +pre_runtime = create_runtime(id, players, (len(players) -1)//3,
     1.9 +                             options, runtime_class)
    1.10  pre_runtime.addCallback(benchmark, operation)
    1.11  
    1.12  print "#### Starting reactor ###"