技術とテスト さらに詳細 C · 業界の慣例 プラットフォーム: ウェブ

Performance Budget

パフォーマンス予算

パフォーマンス予算は、ファイルサイズ、タイミング、ユーザー体験に関して作業開始前に設定される制限です。設計やコードの選択を導くのに役立ちます。

仕組みを見る
そう呼ぶかもしれません Performance Budgetパフォーマンス予算

仕組みを見る

元の作業例パフォーマンス予算

もう一つの例

JavaScriptが170 KBを超える場合やモバイルのLCPが合意されたラボの制限を超える場合、プルリクエストは失敗します。チェックにはファイル、画像、CIの結果が使用されます。サイトを速くするべきだと言うだけでは予算とはなりません。

主な部分

  1. 01測定された指標
  2. 02しきい値
  3. 03強制ゲート

以下の場合に使用します

作業前に測定可能な制限が合意され、明確なゲートで確認される場合にこの用語を使用します。

以下の場合は使用しないでください

デバイス、ネットワーク、ルート、ビジネスニーズを知らずに制限を選ばないでください。

コードで使用する名前

metric ≤ threshold at release gate

出荷前に

Check the environment and prepared test data (fixture). Define a result you can observe, failure and edge cases, isolation, stable inputs, useful error details, and cleanup. Set a time budget, owner, and flaky-test rule.

コピーできるリクエスト

Outcome:Complete the task with パフォーマンス予算 (Performance Budget)。 User context:JavaScriptが170 KBを超える場合やモバイルのLCPが合意されたラボの制限を超える場合、プルリクエストは失敗します。チェックにはファイル、画像、CIの結果が使用されます。サイトを速くするべきだと言うだけでは予算とはなりません。 Validation approach:パフォーマンス予算 (Performance Budget)。 Why it fits:作業前に測定可能な制限が合意され、明確なゲートで確認される場合にこの用語を使用します。 Do not use it when:デバイス、ネットワーク、ルート、ビジネスニーズを知らずに制限を選ばないでください。 Test requirements: Name the system and test environment. Define prepared test data, other inputs, and the result you can observe. Include failure and edge cases, allowed error, isolation, and cleanup. Test operations: Make failures easy to diagnose. Control random or changing inputs. Name an owner. Keep the test fast and simple enough for its release gate. Acceptance criteria: The test fails for the known bug and passes after the fix. It repeats in the target environment, gives useful evidence, and does not expose or change unrelated data. Evidence and limits (evidence boundary):単一の公式標準が全体の用語を管理するわけではありません。その意味はチーム、プラットフォーム、またはフレームワークによって変わる可能性があります。 Unknowns to confirm: Release gate, environment, prepared test data, allowed error, time budget, owner, and flaky-test rule.

このリクエストを確認する

Review how パフォーマンス予算 (Performance Budget) is used now. Definition: パフォーマンス予算は、ファイルサイズ、タイミング、ユーザー体験に関して作業開始前に設定される制限です。設計やコードの選択を導くのに役立ちます。 Release checks: Check the environment and prepared test data (fixture). Define a result you can observe, failure and edge cases, isolation, stable inputs, useful error details, and cleanup. Set a time budget, owner, and flaky-test rule. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.

C
この用語はどれくらい公式か?

業界の慣例

この用語は職場でよく使われます。記載されている情報源は実践や制限をサポートする場合があります。用語のすべての部分を定義するものではありません。

単一の公式標準が全体の用語を管理するわけではありません。その意味はチーム、プラットフォーム、またはフレームワークによって変わる可能性があります。

範囲
ソースがカバーするもののみ:正式名、定義、使用ガイド、避けるための指針
ドキュメントステータス
安定
チェックオン
2026-07-30

証拠の情報源と範囲

権威のある情報源 + 用語参照 · Google web.dev · 安定 Performance budgets 101 範囲: 正式名、定義、使用ガイド、避けるための指針 ここでの役割: 直接用語参照 ソースの範囲: 正式名, 定義, 使用ガイド, 避けるための指針

自分でコピーする

ブラウザはこれをコピーできませんでした。下のリクエストを選択して自分でコピーしてください。