@@ -32,7 +32,7 @@ const supportedFlags = [
32
32
* - `short` Runs the loadtest for `30s` and the calmdown for `10s` instead of the defaults.
33
33
* - `cleanheapsnaps` Remove any existing heap snapshot (`*.heapsnapshot`) files before the test.
34
34
* - `noheapsnaps` Disable taking heap snapshots.
35
- * - `moreruns` Does `5 ` runs instead of the defaults.
35
+ * - `moreruns` Does `10 ` runs instead of the defaults.
36
36
* - `chart` Writes the memory consumption chart.
37
37
* - `sampling` Perform and write the heap sampling profile.
38
38
*/
@@ -98,9 +98,9 @@ export interface MemtestOptions
98
98
/**
99
99
* How many times to run the loadtests?
100
100
*
101
- * Ignores the `default` and does `5 ` runs if {@link flags MEMTEST has the `moreruns` flag}.
101
+ * Ignores the `default` and does `10 ` runs if {@link flags MEMTEST has the `moreruns` flag}.
102
102
*
103
- * @default 3
103
+ * @default 5
104
104
*/
105
105
runs ?: number ;
106
106
}
@@ -112,7 +112,7 @@ export function memtest(opts: MemtestOptions, setup: () => Promise<Server>) {
112
112
idle = 5_000 ,
113
113
duration = flags . includes ( 'short' ) ? 10_000 : 30_000 ,
114
114
calmdown = flags . includes ( 'short' ) ? 5_000 : 10_000 ,
115
- runs = flags . includes ( 'moreruns' ) ? 5 : 3 ,
115
+ runs = flags . includes ( 'moreruns' ) ? 10 : 5 ,
116
116
takeHeapSnapshots = ! flags . includes ( 'noheapsnaps' ) ,
117
117
performHeapSampling = flags . includes ( 'sampling' ) ,
118
118
onMemorySample,
0 commit comments