perf-code-paths

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

perf-code-paths

perf-code-paths

Identify likely implementation paths for a performance scenario.
Follow
docs/perf-requirements.md
as the canonical contract.
识别性能场景下的潜在实现路径。
请遵循
docs/perf-requirements.md
作为标准约定。

Required Steps

必要步骤

  1. Use repo-map if available; otherwise use grep for entrypoints and handlers.
  2. List top candidate files/symbols tied to the scenario.
  3. Include imports/exports or call chains when relevant.
  1. 若repo-map可用则使用它;否则使用grep查找入口点和处理程序。
  2. 列出与该场景相关的顶级候选文件/符号。
  3. 相关时需包含导入/导出或调用链。

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个文件。