Benchmark hook execution overhead

オープン
#5 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

enhancement help wanted

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分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JTHCode/secretguard のほかの issue

JTHCode/secretguard の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。