chat-perf

Detect performance regressions and memory leaks in VS Code chat rendering pipelines.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/THRISHAL12345/Project_X --skill chat-perf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-perf
Source: https://github.com/THRISHAL12345/Project_X/tree/main/apps/vscode-fork/.github/skills/chat-perf
Command: npx skills add https://github.com/THRISHAL12345/Project_X --skill chat-perf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you detect performance regressions and memory leaks in VS Code chat experiences before they reach users, turning subjective UI changes into measurable results.

Core Features & Use Cases

  • Performance benchmarking: Compare local dev, production, and release builds across chat scenarios to spot latency and rendering slowdowns.
  • Memory leak detection: Run multi-message leak checks with forced GC to measure heap growth and DOM node retention.
  • CI regression gating: Use statistically grounded thresholds and baseline comparisons to validate chat UI, streaming, and lifecycle changes in automated pipelines.

Quick Start

Use the chat-perf skill to compare my local VS Code chat build against the latest release and report any performance regressions or memory leaks.

Frequently Asked Questions about chat-perf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect memory leaks in VS Code chat rendering?

Detect memory leaks in VS Code chat by running multi-message checks with forced garbage collection to measure heap growth and DOM node retention. This process uses heap snapshots to identify cleanup failures in the streaming and response pipeline.

What is the best way to benchmark VS Code chat performance across different builds?

Benchmark VS Code chat performance by comparing local dev, production, and release builds across chat scenarios using Playwright-driven launches. This spots latency and rendering slowdowns by applying baseline comparisons to the chat UI changes.

How do I set up CI regression gating for chat UI changes?

Set up CI regression gating for chat UI changes by applying statistically grounded thresholds and baseline comparisons to validate streaming and lifecycle changes in automated pipelines. This produces reliable pass or fail results for chat performance benchmarks.

Does chat performance regression testing require Playwright?

Yes, chat performance regression testing requires Playwright-driven launches to automate VS Code chat scenarios and capture reliable metrics. Playwright handles the browser automation needed for baseline comparisons and heap snapshots across builds.

When do I need statistical regression checks for chat performance?

You need statistical regression checks for chat performance when validating UI, streaming, and SSE processing changes to avoid false positives. These checks compare current benchmarks against baseline thresholds to produce reliable pass or fail results.