Performance budget: under 2 ms per check, measured in CI

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

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start with the performance budget section of docs/DESIGN.md, then check whether the work from #5 and #10 that this depends on has landed. Build the pyperf benchmark of 20 representative queries under benchmarks/, then add the CI job in .github/workflows/bench.yml. Done means the median is under 2 ms on the ubuntu runner and the job fails on a regression over 25% against main. Confirm with maintainers which queries count as representative.

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

Descrizione

area:core size:s type:infra
Goal

Keep sqlguardllm cheap enough to run on every query (docs/DESIGN.md#performance-budget).

Acceptance criteria
  • A pyperf benchmark of 20 representative queries; median under 2 ms on GitHub's ubuntu runner
  • A CI job reports the numbers and fails on a regression over 25 % against main
Relevant files
  • benchmarks/
  • .github/workflows/bench.yml
Size

S (up to half a day)

Notes
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
1m
PR unite (30g)
2

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 jmmana/sqlguardllm

Tutte le issue di jmmana/sqlguardllm

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.