Files
vscode/scripts/chat-simulation/config.jsonc
T

37 lines
1.2 KiB
JSON

{
"perfRegression": {
// VS Code version, "insiders", or a commit hash (7-40 hex chars)
"baselineBuild": "1.122.0",
// Number of benchmark iterations per scenario
"runsPerScenario": 5,
// Default fraction above baseline that triggers a regression (0.2 = 20%).
// Per-metric overrides below take precedence when set.
"regressionThreshold": 0.2,
// Per-metric regression thresholds.
// - A plain number (0-1) is a fraction, e.g. 0.2 = 20% above baseline.
// - A string ending in the metric's unit (e.g. "100ms") is an absolute delta.
// Metrics not listed here use regressionThreshold above.
"metricThresholds": {
"timeToFirstToken": "100ms",
"timeToComplete": 0.2,
"layoutDurationMs": 0.2,
"forcedReflowCount": 0.2,
"longTaskCount": 0.2,
"longAnimationFrameCount": 0.2
}
},
"memLeaks": {
// Number of open→work→reset cycles
"iterations": 3,
// Max acceptable steady-state residual heap growth in MB, measured
// AFTER the first (warm-up) iteration. The first iteration's growth is
// dominated by one-time V8/JIT/module caches that aren't reclaimed and
// is excluded; a real leak keeps growing every subsequent iteration.
"leakThresholdMB": 10
}
}