Skip to content

Commit 2974ba8

Browse files
committed
chore: fix invalid config in examples, etc.
1 parent 346fb2d commit 2974ba8

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

examples/README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,13 @@ Performance optimization examples showing:
109109

110110
```json
111111
{
112-
"concurrent": false,
113112
"exclude": ["node_modules/**", "dist/**"],
114-
"historyLimit": 50,
115113
"iterations": 1000,
116114
"outputDir": "./benchmark-results",
117115
"pattern": "benchmarks/**/*.bench.{js,ts}",
118116
"reporters": ["human", "json"],
119117
"timeout": 30000,
120-
"warmup": true
118+
"warmup": 50
121119
}
122120
```
123121

@@ -130,7 +128,7 @@ const config: ModestBenchConfig = {
130128
pattern: 'src/**/*.bench.ts',
131129
reporters: ['human', 'csv'],
132130
iterations: 2000,
133-
concurrent: true,
131+
warmup: 100,
134132
outputDir: './reports',
135133
};
136134

@@ -291,7 +289,7 @@ teardown: () => {
291289

292290
```bash
293291
# Enable warmup and increase iterations
294-
modestbench run --warmup --iterations 5000
292+
modestbench run --warmup 50 --iterations 5000
295293
```
296294

297295
### Debugging Commands
@@ -300,11 +298,8 @@ modestbench run --warmup --iterations 5000
300298
# Verbose output
301299
modestbench run --verbose
302300

303-
# Validate files first
304-
modestbench validate --strict
305-
306-
# Check configuration
307-
modestbench run --dry-run
301+
# Run with minimal iterations for quick testing
302+
modestbench run --iterations 10
308303
```
309304

310305
## Next Steps

examples/modestbench.config.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"concurrent": false,
32
"exclude": ["node_modules/**", "dist/**"],
4-
"historyLimit": 50,
53
"iterations": 1000,
64
"outputDir": "./benchmark-results",
75
"pattern": "benchmarks/**/*.bench.{js,ts}",

modestbench.config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"bail": false,
3-
"concurrent": false,
43
"exclude": ["node_modules/**", "dist/**", "coverage/**"],
54
"iterations": 1000,
65
"metadata": {

0 commit comments

Comments
 (0)