summaryrefslogtreecommitdiff
path: root/same/src
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-09 21:58:36 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-09 21:58:36 +0200
commitf4da6504442ba16829ddd206ef73329a7b02ad8c (patch)
tree62b2028336b4f3ecc27ad1c5c9b540d6b02266cb /same/src
parent4dbe03635e19bc894046c920ed1da5c94a023e36 (diff)
Run benchmark from Activities.
Diffstat (limited to 'same/src')
-rw-r--r--same/src/main/java/com/orbekk/same/benchmark/ClientBenchmark.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/same/src/main/java/com/orbekk/same/benchmark/ClientBenchmark.java b/same/src/main/java/com/orbekk/same/benchmark/ClientBenchmark.java
index ea23979..85d839e 100644
--- a/same/src/main/java/com/orbekk/same/benchmark/ClientBenchmark.java
+++ b/same/src/main/java/com/orbekk/same/benchmark/ClientBenchmark.java
@@ -50,7 +50,6 @@ public class ClientBenchmark {
}
});
}
-
finished.await();
}
@@ -75,7 +74,7 @@ public class ClientBenchmark {
String host = args[0];
int port = Integer.valueOf(args[1]);
try {
- benchmark(host, port, 1000, 10000);
+ benchmark(host, port, 100, 100000);
} catch (InterruptedException e) {
System.out.println("Benchmark failed.");
}