projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'issue/1577' into 'develop'
[akkoma]
/
lib
/
mix
/
tasks
/
pleroma
/
benchmark.ex
diff --git
a/lib/mix/tasks/pleroma/benchmark.ex
b/lib/mix/tasks/pleroma/benchmark.ex
index 01e079136ae1d1eb690ee9bc6ed481fc7f58d8bc..6ab7fe8ef6aaac665ab330b4c3b3fbaa75671140 100644
(file)
--- a/
lib/mix/tasks/pleroma/benchmark.ex
+++ b/
lib/mix/tasks/pleroma/benchmark.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.Benchmark do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.Benchmark do
@@
-67,7
+67,8
@@
defmodule Mix.Tasks.Pleroma.Benchmark do
Pleroma.Web.MastodonAPI.StatusView.render("index.json", %{
activities: activities,
for: user,
Pleroma.Web.MastodonAPI.StatusView.render("index.json", %{
activities: activities,
for: user,
- as: :activity
+ as: :activity,
+ skip_relationships: true
})
end
},
})
end
},
@@
-79,7
+80,7
@@
defmodule Mix.Tasks.Pleroma.Benchmark do
start_pleroma()
:ok =
start_pleroma()
:ok =
- Pleroma.
Pool.Connections.open_con
n(
+ Pleroma.
Gun.Conn.ope
n(
"https://httpbin.org/stream-bytes/1500",
:gun_connections
)
"https://httpbin.org/stream-bytes/1500",
:gun_connections
)