Skip to main content

Type alias: BenchmarkResult

Ƭ BenchmarkResult: ErrorBenchmarkResult | NormalBenchmarkResult

Data about a benchmark run produced by function benchmark.

When the run ended by an error then error property is a string describing the error and the result is of type ErrorBenchmarkResult. Otherwise error property is undefined and the result is of type NormalBenchmarkResult.

Regardless whether the run ended by an error or not, the result contains properties from BaseBenchmarkResult with basic information about the run (model name, solve date and parameters used).

See