Skip to main content

Type Alias: BenchmarkResult

BenchmarkResult: ErrorBenchmarkResult | NormalBenchmarkResult

Data about a benchmark run produced by function benchmark.

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

Regardless of 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