the.bay.news

Keeping a macOS terminal UI responsive during large SSH output bursts

Swift Forums
Keeping a macOS terminal UI responsive during large SSH output bursts
I recently wrote up one of the harder performance problems I ran into while building a native macOS SSH client in SwiftUI: incoming SSH output can arrive much faster than a WebKit-backed terminal should render it. The article focuses on: keeping SSH reads off the main actor batching bytes around a single UI flush point applying backpressure instead of letting queues grow without bound preserving the terminal’s lifetime across SwiftUI navigation measuring end-to-end latency, not just raw throu...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.