memesearch
VS Code Terminal Sleeps While Pasting

VS Code Terminal Sleeps While Pasting

Download Find similar pictures
Text on the meme
Why is pasting into VSCode Terminal slow? Because it sleeps for 5ms every 50 characters. // Writing large amounts of data can be corrupted for some reason, after looking into this is // appears to be a race condition around writing to the FD which may be based on how powerful the // hardware is. The workaround for this is to space out when large amounts of data is being written // to the terminal. See https://github.com/microsoft/vscode/issues/38137 const WRITE_MAX_CHUNK_SIZE = 50; const WRITE_INTERVAL_MS = 5; export class TerminalProcess extends Disposable implements // Queue the next write this._writeTimeout = setTimeout(() => { this._writeTimeout = undefined; this._startWrite(); }, WRITE_INTERVAL_MS);
What it means

A screenshot of a post joking that pasting into the VS Code terminal is slow because the terminal deliberately sleeps for 5 milliseconds every 50 characters. The punchline is that the displayed source code literally shows a 50-character write limit and a 5-millisecond interval, turning a technical workaround into an absurd explanation for the sluggish behavior. It is shared as a reaction by developers complaining about slow terminals or awkward software design.

Who
Objects
Tags
Source
Type
image
Size
729×800 · 91.1 KiB
Mood
sarcastic
Language
en
Added

Similar memes