Apply suggestion to benchmarks/load_testing/generator.ex

This commit is contained in:
lain 2020-03-25 15:48:15 +00:00
parent 3bd2829e5c
commit c8475cd5c6
1 changed files with 1 additions and 1 deletions

View File

@ -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