aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-09-19 14:02:27 +0300
committerAlex S <alex.strizhakov@gmail.com>2019-09-19 14:02:27 +0300
commit1d285e6fada841b6959b6516aca1c84d1a2c9b93 (patch)
tree3ec8c8df19fd8f21047cb55051c03da6d6de1980
parent924d7e6aa60095e27c15b4a5f473a192ab2b42ef (diff)
downloadpleroma-1d285e6fada841b6959b6516aca1c84d1a2c9b93.tar.gz
moving to separate dir
-rw-r--r--benchmarks/load_testing/fetcher.ex (renamed from lib/load_testing/fetcher.ex)0
-rw-r--r--benchmarks/load_testing/generator.ex (renamed from lib/load_testing/generator.ex)0
-rw-r--r--benchmarks/load_testing/helper.ex (renamed from lib/load_testing/helper.ex)0
-rw-r--r--benchmarks/mix/tasks/pleroma/load_testing.ex (renamed from lib/mix/tasks/pleroma/load_testing.ex)4
-rw-r--r--mix.exs1
5 files changed, 3 insertions, 2 deletions
diff --git a/lib/load_testing/fetcher.ex b/benchmarks/load_testing/fetcher.ex
index 0ff2f28c0..0ff2f28c0 100644
--- a/lib/load_testing/fetcher.ex
+++ b/benchmarks/load_testing/fetcher.ex
diff --git a/lib/load_testing/generator.ex b/benchmarks/load_testing/generator.ex
index 5c5a5c122..5c5a5c122 100644
--- a/lib/load_testing/generator.ex
+++ b/benchmarks/load_testing/generator.ex
diff --git a/lib/load_testing/helper.ex b/benchmarks/load_testing/helper.ex
index 47b25c65f..47b25c65f 100644
--- a/lib/load_testing/helper.ex
+++ b/benchmarks/load_testing/helper.ex
diff --git a/lib/mix/tasks/pleroma/load_testing.ex b/benchmarks/mix/tasks/pleroma/load_testing.ex
index a7057395d..7b2293acc 100644
--- a/lib/mix/tasks/pleroma/load_testing.ex
+++ b/benchmarks/mix/tasks/pleroma/load_testing.ex
@@ -8,8 +8,8 @@ defmodule Mix.Tasks.Pleroma.LoadTesting do
@shortdoc "Factory for generation data"
@moduledoc """
Generates data like:
- - users
- - activities with notifications
+ - local/remote users
+ - local/remote activities with notifications
- direct messages
- long thread
- non visible posts
diff --git a/mix.exs b/mix.exs
index 3170d6f2d..b0f2c4afb 100644
--- a/mix.exs
+++ b/mix.exs
@@ -69,6 +69,7 @@ defmodule Pleroma.Mixfile do
end
# Specifies which paths to compile per environment.
+ defp elixirc_paths(:benchmark), do: ["lib", "benchmarks"]
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]