Packages

BENCH performance tool for distributed systems

Current section

Files

Jump to
bench lib application.ex
Raw

lib/application.ex

defmodule Bench.Application do
use Application
use N2O
def start(_, _) do
x = Supervisor.start_link([], strategy: :one_for_one, name: :bench) |> IO.inspect(label: "Supervisor")
initialize()
x
end
def initialize() do
:n2o_pi.start(pi(module: Connection,
table: :caching,
sup: :bench,
state: [],
name: "Bench")) |> IO.inspect()
end
end