Skip to main content
Module

x/pretty_benching/mod.ts>Threshold

:sauropod: A small lib to make your Deno benchmarking progress and results look pretty
Latest
interface Threshold
import { type Threshold } from "https://deno.land/x/pretty_benching@v0.3.3/mod.ts";

Defines a threshold, which has three sections.

  1. 0 <= && <= green --> green section
  2. green < && <= yellow --> yellow section
  3. yellow < && <= infinite --> red section

Properties

green: number

Defines the upper limit of the green section in milliseconds.

yellow: number

Deifnes the upper limit of the yellow section in milliseconds.