Benchmark numerical-elixir backend.
Say the backend you're developing is AAA.Backend
, then add an mix task file
defmodule Mix.Tasks.Aaa.Benchmark do
use Mix.Tasks.NxScaffolding.Benchmark
end
and run it with default configuration
mix aaa.benchmark --backend AAA.Backend
# or check for more details with
mix aaa.benchmark --help
def deps do
[
{:nx_scaffolding, "~> 0.1", github: "cocoa-xu/nx_scaffolding", runtime: false, only: [:dev, :test]}
]
end
If available in Hex, the package can be installed
by adding nx_scaffolding
to your list of dependencies in mix.exs
:
def deps do
[
{:nx_scaffolding, "~> 0.1", runtime: false, only: [:dev, :test]}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/nx_scaffolding.