Skip to content

Commit af3ea85

Browse files
clean ramping arrival script comments
1 parent 813cd18 commit af3ea85

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

src/data/markdown/translated-guides/en/02 Using k6/14 Scenarios/01 Executors/06 ramping-arrival-rate.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,30 +64,27 @@ export const options = {
6464
contacts: {
6565
executor: 'ramping-arrival-rate',
6666

67-
// Our test with at a rate of 300 iterations started per `timeUnit` (e.g minute).
67+
// Start at 300 iterations per `timeUnit`
6868
startRate: 300,
6969

70-
// It should start `startRate` iterations per minute
70+
// Start `startRate` iterations per minute
7171
timeUnit: '1m',
7272

73-
// It should preallocate 2 VUs before starting the test.
74-
preAllocatedVUs: 2,
73+
// Pre-allocate necessary VUs.
74+
preAllocatedVUs: 50,
7575

76-
// It is allowed to spin up to 50 maximum VUs in order to sustain the defined
77-
// constant arrival rate.
78-
maxVUs: 50,
7976

8077
stages: [
81-
// It should start 300 iterations per `timeUnit` for the first minute.
78+
// Start 300 iterations per `timeUnit` for the first minute.
8279
{ target: 300, duration: '1m' },
8380

84-
// It should linearly ramp-up to starting 600 iterations per `timeUnit` over the following two minutes.
81+
// Linearly ramp-up to starting 600 iterations per `timeUnit` over the following two minutes.
8582
{ target: 600, duration: '2m' },
8683

87-
// It should continue starting 600 iterations per `timeUnit` for the following four minutes.
84+
// Cntinue starting 600 iterations per `timeUnit` for the following four minutes.
8885
{ target: 600, duration: '4m' },
8986

90-
// It should linearly ramp-down to starting 60 iterations per `timeUnit` over the last two minute.
87+
// Linearly ramp-down to starting 60 iterations per `timeUnit` over the last two minute.
9188
{ target: 60, duration: '2m' },
9289
],
9390
},
@@ -98,7 +95,6 @@ export default function () {
9895
http.get('https://test.k6.io/contacts.php');
9996
}
10097
```
101-
10298
</CodeGroup>
10399

104100
## Observations

0 commit comments

Comments
 (0)