Benchmark hook execution overhead

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
performance

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Python
Stelle
1
Fork
1
Merge medio
2h 28m
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di JTHCode/secretguard

Tutte le issue di JTHCode/secretguard

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.