perf-code-paths
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseperf-code-paths
perf-code-paths
Identify likely implementation paths for a performance scenario.
Follow as the canonical contract.
docs/perf-requirements.md识别性能场景下的潜在实现路径。
请遵循作为标准约定。
docs/perf-requirements.mdRequired Steps
必要步骤
- Use repo-map if available; otherwise use grep for entrypoints and handlers.
- List top candidate files/symbols tied to the scenario.
- Include imports/exports or call chains when relevant.
- 若repo-map可用则使用它;否则使用grep查找入口点和处理程序。
- 列出与该场景相关的顶级候选文件/符号。
- 相关时需包含导入/导出或调用链。
Output Format
输出格式
keywords: <comma-separated list>
paths:
- file: <path>
symbols: [<symbol1>, <symbol2>]
evidence: <short reason>keywords: <逗号分隔的列表>
paths:
- file: <路径>
symbols: [<符号1>, <符号2>]
evidence: <简短理由>Constraints
约束条件
- Focus only on supported languages (Rust, Java, JS/TS, Go, Python).
- Keep to the most relevant 10-15 files.
- 仅关注支持的语言(Rust、Java、JS/TS、Go、Python)。
- 仅保留最相关的10-15个文件。