Benchmark hook execution overhead
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- performance
调研方向
Start by reading the hook event handling and scanner entry points, then identify how to invoke representative allowed and blocked events with synthetic data. Build a reproducible benchmark that reports median and p95 latency, platform, Python version, and scanner availability, separating built-in-only and Gitleaks-enabled runs when possible. Done means the measurements are documented without adding a timing threshold to CI or changing detection behavior.
由索引模型根据 Issue 内容生成。
描述
Measure how much latency SecretGuard adds to typical hook events so future changes can be evaluated against a baseline.
Acceptance criteria:
- Provide a small reproducible benchmark using synthetic, non-sensitive prompt or tool events.
- Report median and p95 elapsed time for representative allowed and blocked events, noting platform, Python version, and scanner availability.
- Separate built-in-only and Gitleaks-enabled measurements when possible.
- Do not add a flaky timing threshold to CI or change detection behavior in this issue.
- 主要语言
- Python
- 星标
- 1
- 派生
- 1
- 平均合并
- 2 小时 28 分钟
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JTHCode/secretguard 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
JTHCode/secretguard#24 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 1/5 1-3 小时 新手友好度 90/100
JTHCode/secretguard#17 ·
维护者通常 1 天内回复
-
documentation help wanted
难度 2/5 1-3 小时 新手友好度 72/100
JTHCode/secretguard#15 ·
维护者通常 1 天内回复
-
help wanted
难度 2/5 1-3 小时 新手友好度 75/100
JTHCode/secretguard#16 ·
维护者通常 1 天内回复
-
Add plugin manifest and hook configuration consistency tests可能已有人在做 @nyx60002 今天认领。 未关闭enhancement good first issue
难度 2/5 1-3 小时 新手友好度 75/100
JTHCode/secretguard#4 ·
维护者通常 1 天内回复
查看 JTHCode/secretguard 的全部 Issue
相似的 Issue
-
docs(contributing): the two things that silently block a PR可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭available documentation good first issue
难度 1/5 1-3 小时 新手友好度 95/100
Nixitov/Riptide-Native#944 ·
维护者通常 1 天内回复
-
area: middleware documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
good first issue
难度 1/5 1 小时以内 新手友好度 95/100
omarelshamy25x/shamy-hijri#63 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
521xueweihan/HelloGitHub#4729 ·