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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python
領域
ci-cd, performance

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Python
スター
0
フォーク
0
平均マージ
1分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

jmmana/sqlguardllm のほかの issue

jmmana/sqlguardllm の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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