Update benchmark mix task
This commit is contained in:
parent
93397fce3d
commit
94b9e9d844
|
@ -7,7 +7,7 @@ def run(["search"]) 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 a new issue