Skip to content

Commit c3c368a

Browse files
authored
increase memory allowance for benchmarks (#4465)
esm appears to require slightly more memory than common-js
1 parent 8642016 commit c3c368a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

resources/benchmark.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ function collectSamples(modulePath: string) {
132132
// See http://www.itl.nist.gov/div898/handbook/eda/section3/eda3672.htm.
133133
// prettier-ignore
134134
const tTable: { [v: number]: number } = {
135-
1: 12.706, 2: 4.303, 3: 3.182, 4: 2.776, 5: 2.571, 6: 2.447,
136-
7: 2.365, 8: 2.306, 9: 2.262, 10: 2.228, 11: 2.201, 12: 2.179,
137-
13: 2.16, 14: 2.145, 15: 2.131, 16: 2.12, 17: 2.11, 18: 2.101,
138-
19: 2.093, 20: 2.086, 21: 2.08, 22: 2.074, 23: 2.069, 24: 2.064,
139-
25: 2.06, 26: 2.056, 27: 2.052, 28: 2.048, 29: 2.045, 30: 2.042,
135+
1: 12.706, 2: 4.303, 3: 3.182, 4: 2.776, 5: 2.571, 6: 2.447,
136+
7: 2.365, 8: 2.306, 9: 2.262, 10: 2.228, 11: 2.201, 12: 2.179,
137+
13: 2.16, 14: 2.145, 15: 2.131, 16: 2.12, 17: 2.11, 18: 2.101,
138+
19: 2.093, 20: 2.086, 21: 2.08, 22: 2.074, 23: 2.069, 24: 2.064,
139+
25: 2.06, 26: 2.056, 27: 2.052, 28: 2.048, 29: 2.045, 30: 2.042,
140140
};
141141
const tTableInfinity = 1.96;
142142

@@ -405,8 +405,8 @@ function sampleModule(modulePath: string): BenchmarkSample {
405405
'--predictable',
406406
'--no-concurrent-sweeping',
407407
'--no-minor-gc-task',
408-
'--min-semi-space-size=1024', // 1GB
409-
'--max-semi-space-size=1024', // 1GB
408+
'--min-semi-space-size=1280', // 1.25GB
409+
'--max-semi-space-size=1280', // 1.25GB
410410
'--trace-gc', // no gc calls should happen during benchmark, so trace them
411411

412412
// Node.js flags

0 commit comments

Comments
 (0)