Skip to content

Commit

Permalink
Use launcher:start_bencherl/5 in im_bench
Browse files Browse the repository at this point in the history
  • Loading branch information
yiannist committed Nov 3, 2014
1 parent 74e0c8f commit f8b6aba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bench/im_bench/src/im_bench.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f8b6aba

Please sign in to comment.