Skip to content

Commit 636918c

Browse files
committed
stricter threshold
1 parent 77ce4d4 commit 636918c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/perf/src/memtest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ export interface MemtestOptions
1515
* Linear regression line slope threshold of the memory snapshots.
1616
* If the slope is greater than this value, the test will fail.
1717
*
18-
* @default 10
18+
* @default 5
1919
*/
2020
memoryThresholdInMB?: number;
2121
}
2222

2323
export function memtest(opts: MemtestOptions, setup: () => Promise<Server>) {
24-
const { memoryThresholdInMB = 10, duration = 60_000, ...loadtestOpts } = opts;
24+
const { memoryThresholdInMB = 5, duration = 60_000, ...loadtestOpts } = opts;
2525
it(
2626
'should not have a memory increase trend',
2727
{

0 commit comments

Comments
 (0)