← スキル一覧に戻る

hsm-benchmark-runner
by stxkxs
⭐ 0🍴 0📅 2026年1月23日
SKILL.md
name: HSM Benchmark Runner description: Run benchmarks and analyze performance against targets version: 1.0.0 tags: [hsm, benchmarking, performance]
HSM Benchmark Runner
Run benchmarks for HSM modules and compare against performance targets.
Usage
/hsm-bench [module-number]
What You Do
-
Run benchmarks:
- If module specified:
cd crates/<module> && cargo bench - If no module:
cargo bench --all
- If module specified:
-
Parse results: Extract criterion output for:
- Operations per second
- Latency (p50, p95, p99)
- Throughput
-
Compare against targets: Read success metrics from
docs/phases/phase-2-plans/module-*-ENHANCE.mdExample targets:
- Crypto Engine: Ed25519 >1,000 ops/sec, ECDSA >500 ops/sec
- Key Manager: Lookup p99 <1ms, >1,000 concurrent ops/sec
- Auth: Cert validation p99 <5ms, Permission check <100μs
- gRPC API: >10k connections, >5,000 req/sec, p99 <100ms
- Audit: Write p99 <5ms, >10k events/sec
- Storage: Cached read <100μs, Cold read p99 <5ms
-
Generate report: Show pass/fail for each metric with actual vs target values.
Example Output
Module 1: Crypto Engine
========================
Ed25519 Sign: 1,245 ops/sec ✅ (target: >1,000)
ECDSA P-256 Sign: 678 ops/sec ✅ (target: >500)
AES-256-GCM: 6,123 ops/sec ✅ (target: >5,000)
Overall: 3/3 targets met ✅
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です