demo.mp4
TUI library written using Rust and TypeScript
Dependencies:
- scrolling support
- better text styling user API: add
TextChunktype{ text: string; fg?: number; bg?: number; bold?: boolean } - better text input: multi-line and shortcuts
- verify DX for supporting syntax highlighting
- persistent taffy tree
- (experiment) Neovim as text input (see Bun PTY support)
- refactor
flushwithBatchWriterpattern - add performance stats overlay (runs independently)
- push your changes
- update versions in
Cargo.tomlandpackage.json git tag v0.0.1- tag a commitgit push origin v0.0.1- push the tag- release action will build and deploy it as package
Latest run: 2026-02-20 (terminal-rerender, full profile, PTY mode)
Run config:
warmup=100iterations=1000replicates=7(first replicate discarded)- command:
bun run bench/run.ts --profile full --scenario terminal-rerender
| Metric | letui | Rezi | Delta |
|---|---|---|---|
| Mean latency | 20 us | 259 us | letui 12.69x faster |
| p95 latency | 21 us | 260 us | letui lower |
| Throughput | 48.6K ops/s | 3.9K ops/s | letui 12.46x higher |
| Peak RSS | 60.4 MB | 128.2 MB | letui 2.12x lower |
| PTY bytes | 43.2 KB | 30.1 KB | letui 1.43x higher |

