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 fc188cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/im_bench/src/im_bench.erl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ run([Clients], Slaves, Conf) ->
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 fc188cd

Please sign in to comment.