Update benchmark mix task
This commit is contained in:
parent
93397fce3d
commit
94b9e9d844
|
@ -7,7 +7,7 @@ defmodule Mix.Tasks.Pleroma.Benchmark do
|
||||||
|
|
||||||
Benchee.run(%{
|
Benchee.run(%{
|
||||||
"search" => fn ->
|
"search" => fn ->
|
||||||
Pleroma.Web.MastodonAPI.MastodonAPIController.status_search(nil, "cofe")
|
Pleroma.Activity.search(nil, "cofe")
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue