lolly/scripts/AGENTS.md
xfy 2688ed6a9c docs: 更新 AGENTS.md 文档,新增 benchmark/netutil/scripts 目录
- 根目录新增 scripts/ 和 .github/ 目录说明
- internal 新增 benchmark/ 和 netutil/ 目录说明
- middleware 新增 bodylimit/ 和 errorintercept/ 目录说明
- 更新日期为 2026-04-07

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 17:51:31 +08:00

39 lines
1004 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- Parent: ../AGENTS.md -->
<!-- Generated: 2026-04-07 | Updated: 2026-04-07 -->
# scripts
## Purpose
构建和测试辅助脚本目录包含回归检测、CI/CD 相关的自动化脚本。
## Key Files
| File | Description |
|------|-------------|
| `check_regression.py` | 基准测试回归检测脚本,比较新旧结果检测性能退化 |
## For AI Agents
### Working In This Directory
- 回归检测脚本用于 CI/CD 流程中自动检测性能退化
- Python 脚本需要依赖环境配置
- 脚本通过 Makefile 命令调用
### Testing Requirements
- 无独立测试,作为 CI/CD 工具使用
- 通过 `make benchmark-regression` 执行回归检测
### Common Patterns
- 回归检测比较基准测试结果的 QPS 和延迟变化
- 配置阈值定义可接受的性能波动范围
- 输出报告用于 PR 审核和决策
## Dependencies
### Internal
- `../internal/benchmark/` - 基准测试结果数据源
### External
- Python 3.x - 脚本运行环境
<!-- MANUAL: -->