mirror of
https://github.com/tanrax/django-interactive-frameworks-benchmark
synced 2026-04-22 14:25:05 +02:00
80a0cebb63
Server: replace Daphne with Uvicorn across Dockerfile, compose.yaml,
requirements.txt and INSTALLED_APPS. Uvicorn with the websockets worker
is noticeably faster for the pure-Python frameworks in this repo.
Benchmark: rewrite run_performance_tests.py as a real Playwright-driven
harness. Add a bench service (Dockerfile.bench + compose profile) that
runs headless Chromium against the web container, wipes the DB between
implementations via /_bench/clear/, discards two warmup iterations, then
measures 10 real iterations per framework. HTTP bodies are captured via
response.body(); WebSocket frames via page.on("websocket").
Visualization: new generate_plotly_plots.py emits the four comparison
PNGs with Plotly + Kaleido. The stale compile_performance_data.py
(hard-coded fake data) and the matplotlib script it fed are removed.
Cleanup: .gitignore now excludes performance_results_*.csv and logs/;
prior measurement CSVs and obsolete plot variants have been deleted.
README: describe the new Docker-only workflow and drop the outdated
manual-DevTools section.
14 lines
124 B
Plaintext
14 lines
124 B
Plaintext
*.pyc
|
|
__pycache__/
|
|
*.sqlite3
|
|
*.db
|
|
.env
|
|
staticfiles/
|
|
media/
|
|
.vscode/
|
|
.idea/
|
|
*.log
|
|
logs/
|
|
performance_results_*.csv
|
|
plot_*.png
|