スキル一覧に戻る
amattas

performance-principles

by amattas

0🍴 0📅 2026年1月19日
GitHubで見るManusで実行

SKILL.md


name: performance-principles description: Performance guidelines and patterns for this system.

Performance Principles

General Principles

  • Optimize for correct, clear code first; then optimize hot paths.
  • Measure before optimizing when possible.
  • Prefer algorithmic improvements over micro-optimizations.

Common Pitfalls

  • N+1 queries in database access.
  • Unbounded in-memory collections for large datasets.
  • Synchronous calls in latency-sensitive paths.
  • Repeated expensive computations without caching.

Guidelines by Layer

Backend

  • Use efficient query patterns and indices.
  • Batch calls where practical.
  • Apply backpressure and rate limiting where needed.

Frontend

  • Avoid unnecessary re-renders.
  • Lazy-load heavy components and routes.
  • Cache data appropriately (client & server).

Monitoring & Metrics

  • Ensure critical paths have basic instrumentation:
    • Latency, error rate, throughput.
  • Define performance budgets (e.g., 95th percentile latency thresholds).

When to Escalate

  • If a change risks breaching performance budgets.
  • If complexity grows significantly (e.g., big-O behavior worsens).

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です