diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-09-06 16:37:18 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-09-06 16:37:18 +0300 |
commit | 252e5db45c5d9d63116e5a24cc35c26f91ec7de4 (patch) | |
tree | 9ae0c8d18cf40f50b2d03665d25bb83c124af50d /lib/load_testing/fetcher.ex | |
parent | a1125bd5644a5819d1cfbbc8f6b3bb2dadbbc38a (diff) | |
download | pleroma-252e5db45c5d9d63116e5a24cc35c26f91ec7de4.tar.gz pleroma-252e5db45c5d9d63116e5a24cc35c26f91ec7de4.zip |
docs fixes
Diffstat (limited to 'lib/load_testing/fetcher.ex')
-rw-r--r-- | lib/load_testing/fetcher.ex | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/load_testing/fetcher.ex b/lib/load_testing/fetcher.ex index 825f921e6..b92b6e04f 100644 --- a/lib/load_testing/fetcher.ex +++ b/lib/load_testing/fetcher.ex @@ -2,8 +2,6 @@ defmodule Pleroma.LoadTesting.Fetcher do use Pleroma.LoadTesting.Helper def fetch_user(user) do - IO.puts("=================================") - Benchee.run(%{ "By id" => fn -> Repo.get_by(User, id: user.id) end, "By ap_id" => fn -> Repo.get_by(User, ap_id: user.ap_id) end, @@ -13,8 +11,6 @@ defmodule Pleroma.LoadTesting.Fetcher do end def query_timelines(user) do - IO.puts("\n=================================") - home_timeline_params = %{ "count" => 20, "with_muted" => true, @@ -102,7 +98,6 @@ defmodule Pleroma.LoadTesting.Fetcher do end def query_notifications(user) do - IO.puts("\n=================================") without_muted_params = %{"count" => "20", "with_muted" => "false"} with_muted_params = %{"count" => "20", "with_muted" => "true"} @@ -138,8 +133,6 @@ defmodule Pleroma.LoadTesting.Fetcher do end def query_dms(user) do - IO.puts("\n=================================") - params = %{ "count" => "20", "with_muted" => "true", @@ -187,8 +180,6 @@ defmodule Pleroma.LoadTesting.Fetcher do end def query_long_thread(user, activity) do - IO.puts("\n=================================") - Benchee.run(%{ "Fetch main post" => fn -> Pleroma.Activity.get_by_id_with_object(activity.id) |