From f8b6abac10abed725dd301b62b986543771511e3 Mon Sep 17 00:00:00 2001 From: Yiannis Tsiouris Date: Mon, 3 Nov 2014 17:30:24 +0200 Subject: [PATCH] Use launcher:start_bencherl/5 in im_bench --- bench/im_bench/src/im_bench.erl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bench/im_bench/src/im_bench.erl b/bench/im_bench/src/im_bench.erl index 52ea53c..661ef4b 100644 --- a/bench/im_bench/src/im_bench.erl +++ b/bench/im_bench/src/im_bench.erl @@ -19,10 +19,9 @@ run([Clients], Slaves, Conf) -> ClientNodes = filter_nodes(Slaves, "client"), ServerNodes = filter_nodes(Slaves, "server"), RouterNodes = filter_nodes(Slaves, "router"), - Domains = find_domains(Slaves), % Start the benchmark on the different client domains. - launcher:start(length(ServerNodes) div length(RouterNodes), 1, - length(ServerNodes), length(ClientNodes), Domains, length(Domains)), + launcher:start_bencherl(length(ServerNodes) div length(RouterNodes), 1, + length(ServerNodes), length(ClientNodes), Slaves), ClientDomains = find_domains(ClientNodes), lists:foreach(fun(D) -> logger:launch_latency("Bencherl_test", length(RouterNodes),