Pauses with normal distribution

I’m considering implementing a normal distribution because of reverse exponential not being realistic except for use cases like users spamming a button.

Was the normal distribution considered for inclusion?

The sealed abstract class PauseType does not seem to leave any room to custom distribution implementations.

I'm considering implementing a normal distribution because of reverse
exponential not being realistic except for use cases like users spamming a
button.

Was the normal distribution considered for inclusion?

There was some discussions some time ago and we didn't reach a consensus.
What are your arguments? Do you have some literature to share?

Ask @nremond.

The sealed abstract class PauseType does not seem to leave any room to
custom distribution implementations.

See CustomType

Thanks for your answers Stephane.

I'll try to elaborate here when I get a chance to actually play with a
different distribution.

The sealed abstract class PauseType does not seem to leave any room to

custom distribution implementations.

See CustomType

Do you mean the case class Custom (
https://github.com/gatling/gatling/blob/master/gatling-core/src/main/scala/io/gatling/core/pause/Pauses.scala#L52
)?
I tried extending it and overriding def generator, without much luck. I'll
try harder next week.

Hello,

Indeed, extending Custom is ok as a workaround.

object GaussianPause extends Custom(null) {
override def generator(duration: Expression[Duration]) = duration.map(duration => …)
}

I’ll play a bit with it and hopefully come back with some results.

Should be fairly straightforward. Just pass the standard deviation to the new PauseType and use Random.nextGaussian.

@sebdotv How are you going with that? Do you think you’ll make it on time for 2.1 (release planned for next Monday).

Hey, nope I will need couple more weeks to get results on that point.