FSharpx.Extras


TimeMeasurement

Namespace: FSharpx

Functions and values

Function or valueDescription
compareTwoRuntimes (...)
Signature: count:int -> desc1:string -> f1:(unit -> '?7848) -> desc2:string -> f2:(unit -> '?7849) -> unit
Type parameters: '?7848, '?7849

Stops the average runtime for the given functions Afterwards it reports it with the given descriptions

stopAndReportAvarageTime count desc f
Signature: count:int -> desc:string -> f:(unit -> '?7846) -> '?7846 list * float
Type parameters: '?7846

Stops the average runtime for a given function and applies it the given count Afterwards it reports it with the given description

stopAverageTime count f
Signature: count:int -> f:(unit -> '?7844) -> '?7844 list * float
Type parameters: '?7844

Stops the average runtime for a given function and applies it the given count

stopTime f
Signature: f:(unit -> '?7842) -> '?7842 * float
Type parameters: '?7842

Stops the runtime for a given function

Fork me on GitHub