Benchmark hook execution overhead

Đang mở
#5 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
1
Fork
1
Merge trung bình
2 giờ 28 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của JTHCode/secretguard

Tất cả issue của JTHCode/secretguard

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.