Files
iptvnator/tools/performance/project.json
T
4grayandClaude Opus 5.5 a7f1ecfe49 ci(perf): add the weekly baseline tightening workflow
Plan item B4. performance-ratchet.yml measures master on three runners
(initial bytes and the journeys) and tighten-baselines.mjs lowers every
baseline that all three runs beat, opening a no-release-note PR only when
the file changed. The journeys steps move into a composite action shared
with ci.yml's Performance journeys job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 22:52:13 +02:00

32 lines
1.1 KiB
JSON

{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"name": "performance-tools",
"projectType": "library",
"sourceRoot": "tools/performance",
"tags": ["scope:tools", "domain:performance", "type:tool"],
"targets": {
"test": {
"executor": "nx:run-commands",
"cache": true,
"inputs": [
"{projectRoot}/*.mjs",
"{projectRoot}/*.json",
{ "externalDependencies": ["parse5"] }
],
"options": {
"command": "node --test tools/performance/measure-initial-bytes.test.mjs tools/performance/check-journey-ratchet.test.mjs tools/performance/check-baseline-direction.test.mjs tools/performance/tighten-baselines.test.mjs",
"cwd": "{workspaceRoot}"
}
},
"lint": {
"inputs": [
"default",
"{workspaceRoot}/eslint.config.mjs",
"{workspaceRoot}/tools/eslint-rules/**/*",
"{workspaceRoot}/tools/eslint/**/*"
],
"command": "eslint \"tools/performance/*.mjs\""
}
}
}