Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
andros
andros
@andros@activity.andros.dev  ·  activity timestamp 4 days ago

Based on the latest tests I've published [1], Django LiveView [2] appears to be the fastest dynamic frontend (I'm sure more variables can be measured). OK...

How can I test its limits? By drawing a Snake? A Pac-Man?... No... let's crank up the difficulty to Nightmare! Let's run DOOM inside Django 😈

Django starts ViZDoom and sends one <div> per pixel with its color. The game runs at 100x100 pixels at 60 FPS = 600.000 divs/second! 😵‍💫

Furthermore, since the data is sent via broadcast, all players can see the same thing in real time.

Crazy

[1] https://github.com/tanrax/django-interactive-frameworks-benchmark
[2] https://django-liveview.andros.dev/

#django #python #doom

GitHub

GitHub - tanrax/django-interactive-frameworks-benchmark: Performance comparison of Django's main interactive frameworks: LiveView, Reactor, django-htmx, Unicorn, and SSR.

Performance comparison of Django's main interactive frameworks: LiveView, Reactor, django-htmx, Unicorn, and SSR. - tanrax/django-interactive-frameworks-benchmark
Your browser does not support the video tag.
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct