UNPKG

kruonis

Version:
30 lines (29 loc) 742 B
/** * User changeable properties of a Benchmark */ export declare class BenchmarkProperties { /** * The minimum number of cycle runs */ readonly minCycles: number; /** * The maximum number of cycle runs. * The algorithm always tries to run the maximum number of runs */ readonly maxCycles: number; /** * The maximum time a test can run, in seconds. * Note that minCycles has priority over this setting. */ readonly maxTime: number; /** * The Benchmark name */ readonly name: string; /** * BenchmarkProperties constructor * * @param properties the new properties */ constructor(properties: object); }