@thepopehat 4. Engineering Conclusion & Architectural Bottleneck
Because the typing lag survives both strict script stripping and the disabling of OS accessibility bridges—but disappears immediately upon dropping layout stylesheets—the bottleneck is not JavaScript execution or hardware driver faults.
The bottleneck lies within the native Chromium C++ rendering layer performing an aggressive CSS Reflow / Layout calculation cascade. The engine is over-calculating the physical coordinate bounds and line-wraps of the massive historical text log above the text input field on every single keystroke.
On first-generation Zen architecture cores (like the Ryzen 2600 running on a B450 chipset), the single thread assigned to this calculation is saturated by the massive string manipulation arrays, meaning your other 11 available logical processors sit completely idle while your active typing window chokes up.
Opera has an established reputation for giving power users granular control over their hardware allocations (e.g., Opera GX's CPU and RAM limiters). We propose introducing a native setting called "Low-Resource Field Mode" or "Static Input Mode":
• Isolated Layout Containment: When enabled on text-heavy domains, Opera should forcefully inject strict layout boundaries to the text box wrapper via the native rendering engine (contain: strict; or contain: size layout style;). This legally orders the browser to freeze the past document structure and ignore the historical page coordinates during active text mutations.
• Asynchronous Input Buffering: Introduce an optional setting that proxies heavy chat text fields into an uncontrolled local hardware-buffered text node. The browser would suppress live string mutations up to the parent page DOM tree entirely until a definitive submission action (such as pressing Enter or clicking a submit button) is triggered.
Implementing this would allow millions of users running highly capable mid-range or legacy x86 hardware configurations to continue communicating seamlessly with cutting-edge web applications without their local interface buckling under unoptimized desktop rendering passes.