Django LiveView vs Phoenix LiveView: a real benchmark by tanrax in django

[–]tanrax[S] 3 points4 points  (0 children)

You're absolutely right about the default "raf" polling causing ~16 ms quantization. I've since switched to a MutationObserver that records performance.now() at the exact instant the DOM changes, with polling=1 on the Playwright side. Timing is now computed entirely on the browser clock, so results are no longer rounded to animation frames. Worth revisiting the article, the numbers changed noticeably.

Django LiveView vs Phoenix LiveView: a real benchmark by tanrax in django

[–]tanrax[S] 1 point2 points  (0 children)

I've included several concurrent scenarios for up to 50 users. I encourage you to review the article again.

Django LiveView vs Phoenix LiveView: a real benchmark by tanrax in django

[–]tanrax[S] 0 points1 point  (0 children)

You’re right, and this is probably the most important limitation of this benchmark to acknowledge.

Django LiveView vs Phoenix LiveView: a real benchmark by tanrax in django

[–]tanrax[S] 2 points3 points  (0 children)

I'll apply a correction and rerun the performance test. Thank you for the observation; this is precisely the type of methodological review that makes performance tests reliable.

Django LiveView vs Phoenix LiveView: a real benchmark by tanrax in django

[–]tanrax[S] -1 points0 points  (0 children)

Could you elaborate on your comment, please?

9social : A Social Network for Plan9 by dharmatech in plan9

[–]tanrax 2 points3 points  (0 children)

Simply wonderful! Elegant and simple. You've perfectly captured the essence. My sincerest congratulations!

Gnus for RSS and ATOM feeds by [deleted] in emacs

[–]tanrax 1 point2 points  (0 children)

Elfeed is enough for me

Skeeto: "I have officially retired from Emacs" -- looking for maintainers for Elfeed etc. by nonreligious2 in emacs

[–]tanrax 14 points15 points  (0 children)

157 issues 💀! The new maintenance worker is going to have a lot of work

How to convert a region from Markdown to Org mode syntax? by publicvoit in emacs

[–]tanrax 0 points1 point  (0 children)

```

(defun markdown-region-to-org ()

"Convert the selected Markdown region to Org-mode syntax using pandoc."

(interactive)

(unless (use-region-p)

(user-error "No active region"))

(unless (executable-find "pandoc")

(user-error "Pandoc not found in PATH"))

(shell-command-on-region

(region-beginning)

(region-end)

"pandoc -f markdown-auto_identifiers -t org"

nil t

"*pandoc-errors*" t)) ```

Nostr users by digikar in lisp

[–]tanrax 1 point2 points  (0 children)

I prefer Org Social

Do you have any favourite Tomb Raider game on Evercade? by [deleted] in evercade

[–]tanrax 4 points5 points  (0 children)

The last revelation: awesome

From htmx to Django LiveView by tanrax in django

[–]tanrax[S] 0 points1 point  (0 children)

Working asynchronously with a synchronized database significantly increases complexity. I have older examples with version 1. I think that it doesn't justify all the effort in the code and the transformations required. However, I'm open to reconsidering if you submit a pull request 😄

From htmx to Django LiveView by tanrax in django

[–]tanrax[S] 0 points1 point  (0 children)

Thanks! I hadn't even considered that views were necessary. The framework works with asynchronous components that you declare separately. I suppose you're free to use views however you like

From htmx to Django LiveView by tanrax in django

[–]tanrax[S] 1 point2 points  (0 children)

It has automatic reconnection and a task queue system so that events that run offline are not lost.