mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-25 07:36:07 +00:00
Apply suggestion to benchmarks/load_testing/generator.ex
This commit is contained in:
parent
3bd2829e5c
commit
c8475cd5c6
|
@ -24,7 +24,7 @@ defmodule Pleroma.LoadTesting.Generator 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