Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PerformanceThreshold

import type { PerformanceThreshold } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";

A PerformanceThreshold is used when each window is good when that window has a sufficiently high performance.

interface PerformanceThreshold {
basicSliPerformance?: BasicSli;
performance?: RequestBasedSli;
threshold?: number;
}

§Properties

§
basicSliPerformance?: BasicSli
[src]

BasicSli to evaluate to judge window quality.

§
performance?: RequestBasedSli
[src]

RequestBasedSli to evaluate to judge window quality.

§
threshold?: number
[src]

If window performance >= threshold, the window is counted as good.