Files
andros bdd181425b Initial commit: Django LiveView vs Phoenix LiveView benchmark
Docker Compose project with automated Playwright benchmarks comparing
django-liveview 2.2.0 against Phoenix LiveView 1.0 across 6 scenarios.
2026-05-15 15:46:50 +02:00

24 lines
579 B
Elixir

defmodule Benchmark.Application do
use Application
@impl true
def start(_type, _args) do
children = [
Benchmark.Repo,
{Ecto.Migrator,
repos: Application.fetch_env!(:benchmark, :ecto_repos), skip_if_repo_unset: true},
{Phoenix.PubSub, name: Benchmark.PubSub},
BenchmarkWeb.Endpoint
]
opts = [strategy: :one_for_one, name: Benchmark.Supervisor]
Supervisor.start_link(children, opts)
end
@impl true
def config_change(changed, _new, removed) do
BenchmarkWeb.Endpoint.config_change(changed, removed)
:ok
end
end