Files
nyaterm/scripts/benchmark-dec2026-frame-gate.mjs
Kang 4495338d37 perf(terminal): implement DEC 2026 frame gate for enhanced terminal output management
- Introduced `Dec2026FrameGate` to manage DEC 2026 frame sequences, allowing for better handling of visual output in terminal applications.
- Added comprehensive tests for frame classification and gate behavior, ensuring accurate detection and processing of frames.
- Implemented a benchmark for evaluating frame gate performance under various conditions.
- Updated `XTerminal` to integrate the new frame gate functionality, improving output scheduling and pressure management.
- Enhanced zmodem event handling to utilize the new frame gate for terminal status updates.
2026-08-14 22:27:24 +08:00

13 lines
307 B
JavaScript

import { spawnSync } from "node:child_process";
const result = spawnSync(
"pnpm",
["vitest", "run", "src/components/terminal/dec2026FrameGateBenchmark.test.ts", "--reporter", "verbose"],
{
stdio: "inherit",
shell: process.platform === "win32",
},
);
process.exitCode = result.status ?? 1;