@@ -27,7 +27,6 @@ const supportedFlags = [
27
27
* Allows controlling the memtest runs with the `MEMTEST` environment variable.
28
28
*
29
29
* {@link supportedFlags Supported flags} are:
30
- * - `rapid` Runs the loadtest for `10s` and the calmdown for `5s` instead of the defaults.
31
30
* - `short` Runs the loadtest for `30s` and the calmdown for `10s` instead of the defaults.
32
31
* - `cleanheapsnaps` Remove any existing heap snapshot (`*.heapsnapshot`) files before the test.
33
32
* - `noheapsnaps` Disable taking heap snapshots.
@@ -66,7 +65,8 @@ export interface MemtestOptions
66
65
* Whether to take heap snapshots on the end of the `idle` phase and then at the end
67
66
* of the `calmdown` {@link LoadtestPhase phase} in each of the {@link runs}.
68
67
*
69
- * Ignores the `default` and runs with `false` if {@link flags MEMTEST has the `noheapsnaps` flag}.
68
+ * Ignores the _@default_ and runs with `false` if {@link flags MEMTEST} has the `noheapsnaps`
69
+ * flag provided.
70
70
*
71
71
* @default true
72
72
*/
@@ -80,24 +80,26 @@ export interface MemtestOptions
80
80
/**
81
81
* Duration of the loadtest for each {@link runs run} in milliseconds.
82
82
*
83
- * Ignores the `default` and runs for `10s`.
83
+ * Ignores the _@default_ and runs for `10s` if {@link flags MEMTEST} has the `short`
84
+ * flag provided.
84
85
*
85
86
* @default 30_000
86
87
*/
87
88
duration ?: number ;
88
89
/**
89
90
* Calmdown duration after loadtesting {@link runs run} in milliseconds.
90
91
*
91
- * Ignores the `default` and runs for `5s` if {@link flags MEMTEST} has the `short`
92
- * flag.
92
+ * Ignores the _@default_ and runs for `5s` if {@link flags MEMTEST} has the `short`
93
+ * flag provided .
93
94
*
94
95
* @default 10_000
95
96
*/
96
97
calmdown ?: number ;
97
98
/**
98
99
* How many times to run the loadtests?
99
100
*
100
- * Ignores the `default` and does `10` runs if {@link flags MEMTEST has the `moreruns` flag}.
101
+ * Ignores the _@default_ and does `10` runs if {@link flags MEMTEST} has the `moreruns`
102
+ * flag provided.
101
103
*
102
104
* @default 5
103
105
*/
0 commit comments