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

9 lines
246 B
Python

from liveview.consumers import LiveViewConsumer
from liveview.connections import send
class BenchmarkConsumer(LiveViewConsumer):
def connect(self):
super().connect()
send(self, {"target": "#ws-status", "html": "connected"})