We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b848425 commit c557817Copy full SHA for c557817
test/mongoBench/runner.js
@@ -68,6 +68,7 @@ const Suite = require('./suite');
68
69
class Runner {
70
constructor(options) {
71
+ options = options || {};
72
this.minExecutionTime = options.minExecutionTime || CONSTANTS.DEFAULT_MIN_EXECUTION_TIME;
73
this.maxExecutionTime = options.maxExecutionTime || CONSTANTS.DEFAULT_MAX_EXECUTION_TIME;
74
this.minExecutionCount = options.minExecutionCount || CONSTANTS.DEFAULT_MIN_EXECUTION_COUNT;
0 commit comments