Benchmark hook execution overhead

Abierto
#5 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
performance

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
Python
Estrellas
1
Forks
1
Merge medio
2 h 28 min
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de JTHCode/secretguard

Todos los issues de JTHCode/secretguard

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.