From f4da6504442ba16829ddd206ef73329a7b02ad8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Mon, 9 Apr 2012 21:58:36 +0200 Subject: Run benchmark from Activities. --- same/src/main/java/com/orbekk/same/benchmark/ClientBenchmark.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'same') 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."); } -- cgit v1.2.3