fix: close performance evidence and budget gates
This commit is contained in:
@@ -3,3 +3,13 @@ export function classifyArtifact(path: string, source?: string): string;
|
||||
export function evaluateBudgetTotals(totals: Readonly<Record<string, number>>): {
|
||||
violations: Array<{ budget: string; actual: number; threshold: number }>;
|
||||
};
|
||||
export function evaluateMediaAssetBudget(
|
||||
asset: Readonly<Record<string, unknown>>,
|
||||
probe: Readonly<Record<string, unknown>> | null,
|
||||
transferBytes: number,
|
||||
assetClass?: 'chart' | 'project-still',
|
||||
): { violations: Array<{ budget: string; actual: number; threshold: number; id?: string }> };
|
||||
export function evaluateRuntimeBudgetEvidence(evidence: Readonly<Record<string, unknown>>): {
|
||||
tiers: Array<{ tier: string; textureBytes: number; geometryBytes: number; renderTargetBytes: number; runtimeAllowanceBytes: number; totalBytes: number }>;
|
||||
violations: Array<{ budget: string; actual: number; threshold: number; id?: string }>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user