Skip to content

Commit 1c9ccb8

Browse files
committed
adjust thresholds based on CI results
1 parent 4ea87f7 commit 1c9ccb8

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

packages/core/src/test/amazonqFeatureDev/prepareRepoData.test.ts

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,19 @@ describe('prepareRepoDataPerformanceTest', function () {
2727
testRuns: 10,
2828
linux: {
2929
userCpuUsage: 80,
30-
heapTotal: 8,
31-
duration: 1.0,
30+
heapTotal: 4,
31+
duration: 1.5,
3232
},
3333
darwin: {
3434
userCpuUsage: 80,
35-
heapTotal: 8,
36-
duration: 1.0,
35+
systemCpuUsage: 35,
36+
heapTotal: 4,
37+
duration: 0.9,
3738
},
3839
win32: {
3940
userCpuUsage: 80,
40-
heapTotal: 8,
41+
systemCpuUsage: 35,
42+
heapTotal: 4,
4143
duration: 3,
4244
},
4345
},
@@ -68,17 +70,20 @@ describe('prepareRepoDataPerformanceTest', function () {
6870
{
6971
testRuns: 10,
7072
linux: {
71-
userCpuUsage: 30,
73+
userCpuUsage: 65,
74+
systemCpuUsage: 30,
7275
heapTotal: 1,
7376
duration: 0.1,
7477
},
7578
darwin: {
76-
userCpuUsage: 30,
79+
userCpuUsage: 50,
80+
systemCpuUsage: 25,
7781
heapTotal: 1,
78-
duration: 0.1,
82+
duration: 0.2,
7983
},
8084
win32: {
81-
userCpuUsage: 30,
85+
userCpuUsage: 60,
86+
systemCpuUsage: 30,
8287
heapTotal: 1,
8388
duration: 0.1,
8489
},

0 commit comments

Comments
 (0)