[WEB COMPAT] Textbox Slowness on Discourse Forums #189

Closed
opened 2025-10-03 17:54:43 +02:00 by cmahns · 1 comment

Confirmation

Which domain(s) are you experiencing this issue on?

I first noticed this on discussion.dsausa.org, but that's a private forum only for dues-paying members of the Democratic Socialists of America so it can't be in scope for public testing.

I was able to reproduce the issue on each of the following Discourse forums like:
https://meta.discourse.org (vendor's flagship instance)
https://forums.mst3k.com
https://coop.pavilion.tech/
https://discourse.gnome.org/

What version of Phoenix are you using?

2025.09.07.1

What version of Firefox are you using with Phoenix?

143.0.3, build 20250929153833

What operating system are you experiencing this issue on?

Debian, Other

Other

Debian Sid

Please explain the issue you are experiencing.

When typing out new posts on Discourse forums, the text box lags behind about a half second to a full second based on characters selected. I've attached a video of me typing out "asdf" slowly and quickly -- can re-film if needed for troubleshooting.

Steps to reproduce:

  1. Visit any Discourse forum (e.g. meta.discourse.org)
  2. Open a text box for topic creation or for replies in existing threads
  3. Type out a message or reply
### Confirmation - [x] Please confirm that you have already checked the Website Compatibility wiki page (https://phoenix.celenity.dev/compat), and that this issue is NOT currently listed. ### Which domain(s) are you experiencing this issue on? I first noticed this on discussion.dsausa.org, but that's a private forum only for dues-paying members of the Democratic Socialists of America so it can't be in scope for public testing. I was able to reproduce the issue on each of the following Discourse forums like: https://meta.discourse.org (vendor's flagship instance) https://forums.mst3k.com https://coop.pavilion.tech/ https://discourse.gnome.org/ ### What version of Phoenix are you using? 2025.09.07.1 ### What version of Firefox are you using with Phoenix? 143.0.3, build 20250929153833 ### What operating system are you experiencing this issue on? Debian, Other ### Other Debian Sid ### Please explain the issue you are experiencing. When typing out new posts on Discourse forums, the text box lags behind about a half second to a full second based on characters selected. I've attached a video of me typing out "asdf" slowly and quickly -- can re-film if needed for troubleshooting. Steps to reproduce: 1. Visit any Discourse forum (e.g. meta.discourse.org) 2. Open a text box for topic creation or for replies in existing threads 3. Type out a message or reply
Owner

Thanks for the report! I apologize for the delayed response here. I was able to replicate the issue, and it appears that, at the cost of security, setting javascript.options.baselinejit to true should resolve it. This functionality appears to be very poorly optimized - I can see it spamming console errors even on stock Firefox. The degraded performance likely occurs on other browsers that disable JIT as well (ex. Cromite, Microsoft Edge, Safari, Tor Browser, Vanadium), so it's definitely something they need to fix.

I went ahead and documented this on the Web Compat page.

Thanks for the report! I apologize for the delayed response here. I was able to replicate the issue, and it appears that, at the cost of security, setting `javascript.options.baselinejit` to `true` should resolve it. This functionality appears to be very poorly optimized - I can see it spamming console errors even on stock Firefox. The degraded performance likely occurs on other browsers that disable JIT as well *(ex. Cromite, Microsoft Edge, Safari, Tor Browser, Vanadium)*, so it's definitely something they need to fix. I went ahead and documented this on the Web Compat page.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
celenity/Phoenix#189
No description provided.