mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
9 lines
171 B
Elixir
9 lines
171 B
Elixir
|
Benchee.run(
|
||
|
%{
|
||
|
"ecto" => fn -> AshExample.Repo.all(AshExample.Ticket) end,
|
||
|
"ash" => fn -> AshExample.Api.read!(:ticket) end
|
||
|
},
|
||
|
time: 10,
|
||
|
memory_time: 2
|
||
|
)
|