Redesign console input and output using xtermjs
- Vorherrschende Sprache
- Haskell
- Sterne
- 1.3k
- Forks
- 201
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**Shared Program**: https://code.world/haskell#PpcrjDqEzZaVUG0a4_0b_Kg
**Description**
If a console program prints a lot of output, it gets very slow. The reason seems to be that instead of just appending the content to the existing output element, the entire last output element is rebuilt from scratch. This looks to be part of the collapsible UI code that was built for error reporting, but inexplicably includes output as well.
We should special-case normal output from programs, so that it is appended directly without rebuilding the element. If we could remove the collapsible UI at the same time, that's even better!
Beitragsleitfaden
Rechercherichtung
Beginne damit, das verlinkte gemeinsame Programm auszuführen und das Verhalten der Konsole bei einer großen Ausgabemenge zu beobachten. Verfolge den Pfad der Konsolenausgabe und die einklappbare UI zur Fehlerberichterstattung, um zu ermitteln, wo das Ausgabeelement neu aufgebaut wird; abgeschlossen ist die Aufgabe, wenn die normale Programmausgabe effizient angehängt wird und das angeforderte xtermjs-basierte Konsolendesign umgesetzt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- haskell
- Bereich
- frontend, performance
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100