Closed chentex closed 2 years ago
@chentex Not sure if this functionality is in there (still walking through the code) but can it/it might be useful if it could have a ramp up time and a test time. So it can ramp up for 30 minutes but the entire test will run for 60.
So @dry923 if I get you right you wan t something like this:
And this will run a normal test with a normal rate
or the start-rate
for 30 min and then ramp up for 30 min, that it's the remaining of the duration.
LGTM but can we squash these commits? NICE Work @chentex !!!! 🎉
Description
Adding ramp up functionality to the suite.
Each individual test can be provided with the following parameters:
The test will run # with a running time of / rounded, as each step finishes it will increase the rate according to a delta that is calculated with the parameters:
For a linear ramp it will use this formula
delta = ( end-rate - start-rate ) / ( steps - 1 )
So the new rate will be:
newRate = oldRate + delta
For an exponential distribution:
We are using the exponential formula
f(t)=start-rate * <coeff> ^ t
the
coeff
is calculated with this formulacoeff = (end-rate / start-rate) ^ (1 / steps)
So the new rate will be:
newRate = start-rate * coeff ^ <# of step>
Tasks