Skip to content

Commit 460b112

Browse files
update load test
1 parent 2d812a9 commit 460b112

2 files changed

Lines changed: 27 additions & 27 deletions

File tree

performance-testing/uid2-operator/k6-identity-map.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ export const options = {
2626
],
2727
gracefulRampDown: '0s',
2828
},
29-
// Actual testing scenarios
30-
// identityMap: {
31-
// executor: 'constant-vus',
32-
// exec: 'identityMap',
33-
// vus: identityMapVUs,
34-
// duration: testDuration,
35-
// gracefulStop: '0s',
36-
// startTime: '40s',
37-
// },
38-
// identityMapLargeBatchSequential: {
39-
// executor: 'constant-vus',
40-
// exec: 'identityMapLargeBatch',
41-
// vus: 1,
42-
// duration: '300s',
43-
// gracefulStop: '0s',
44-
// startTime: '40s',
45-
// },
29+
Actual testing scenarios
30+
identityMap: {
31+
executor: 'constant-vus',
32+
exec: 'identityMap',
33+
vus: identityMapVUs,
34+
duration: testDuration,
35+
gracefulStop: '0s',
36+
startTime: '40s',
37+
},
38+
identityMapLargeBatchSequential: {
39+
executor: 'constant-vus',
40+
exec: 'identityMapLargeBatch',
41+
vus: 1,
42+
duration: '300s',
43+
gracefulStop: '0s',
44+
startTime: '40s',
45+
},
4646
identityMapLargeBatch: {
4747
executor: 'constant-vus',
4848
exec: 'identityMapLargeBatch',
@@ -94,11 +94,11 @@ export async function setup() {
9494
}
9595

9696
// Remove this function if you are running manually inside a GCP/Azure/AWS instance using docker
97-
export function handleSummary(data) {
98-
return {
99-
'summary.json': JSON.stringify(data),
100-
}
101-
}
97+
// export function handleSummary(data) {
98+
// return {
99+
// 'summary.json': JSON.stringify(data),
100+
// }
101+
// }
102102

103103
// Scenarios
104104
export async function tokenGenerate(data) {

performance-testing/uid2-operator/k6-token-generate.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ export async function setup() {
7676
}
7777

7878
// Remove this function if you are running manually inside a GCP/Azure/AWS instance using docker
79-
export function handleSummary(data) {
80-
return {
81-
'summary.json': JSON.stringify(data),
82-
}
83-
}
79+
// export function handleSummary(data) {
80+
// return {
81+
// 'summary.json': JSON.stringify(data),
82+
// }
83+
// }
8484

8585
// Scenarios
8686
export async function tokenGenerate(data) {

0 commit comments

Comments
 (0)