Apply suggestion to benchmarks/load_testing/generator.ex
This commit is contained in:
parent
3bd2829e5c
commit
c8475cd5c6
|
@ -24,7 +24,7 @@ def generate_users(opts) do
|
||||||
IO.puts("Starting generating #{opts[:users_max]} users...")
|
IO.puts("Starting generating #{opts[:users_max]} users...")
|
||||||
{time, users} = :timer.tc(fn -> do_generate_users(opts) end)
|
{time, users} = :timer.tc(fn -> do_generate_users(opts) end)
|
||||||
|
|
||||||
IO.puts("Inserting users take #{to_sec(time)} sec.\n")
|
IO.puts("Inserting users took #{to_sec(time)} sec.\n")
|
||||||
users
|
users
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue