miniBill/elm-faster-benchmark/2.1.1

FastBenchmark.Types

Types

type alias Stats =
{ firstQuartile : Float
, median : Float
, thirdQuartile : Float
, max : Float
, min : Float
, outliers : List Float
}

Statistics un run times.

type alias Param graph function =
{ graph : graph
, function : function
, size : Int
}

Parameters needed to measure the timing.

Messages

type ToFrontend graph function
= TFParams
{ timeout : Maybe Float
, params : List (Param graph function)
}
| TFResult (Param graph function) (Result String Stats)

Message that gets sent to the frontend.

type ToBackend graph function
= TBParams
| TBRun (Param graph function)

Message that gets sent to the backend.

type alias Index =
Int

Index of the Web Worker.