火炮:rampto 在火炮中究竟是如何工作的?

Artillery: How exactly does rampto work in artillery?

无法理解 rampto 在火炮中的工作原理

> - duration: 10
>       arrivalRate: 5
>       rampTo: 10

下面是我的整个场景:

 - duration: 5
      arrivalRate: 1
    - duration: 10
      arrivalRate: 5
      rampTo: 10
    - duration: 20
      arrivalRate: 20

This looks helpful。要点似乎是 rampTo 逐渐“增加”您的到达率,而不是 运行 立即达到全部到达率。所以你的例子:

- duration: 10
  arrivalRate: 5
  rampTo: 10

将扩展为:

- duration: 0.9
  arrivalRate: 0
- duration: 0.9
  arrivalRate: 0.5
- duration: 0.9
  arrivalRate: 1
- duration: 0.9
  arrivalRate: 1.5
- duration: 0.9
  arrivalRate: 2
- duration: 0.9
  arrivalRate: 2.5
- duration: 0.9
  arrivalRate: 3
- duration: 0.9
  arrivalRate: 3.5
- duration: 0.9
  arrivalRate: 4
- duration: 0.9
  arrivalRate: 4.5
- duration: 0.9
  arrivalRate: 5

10 的原始持续时间结束时,您将以 5 的完整到达率进行测试。您可能应该设置第二个持续时间,并以此到达率进行持续测试。