mcollina/autocannon

Inform about the number of observations

Open

#143 opened on Jun 26, 2018

View on GitHub
 (14 comments) (0 reactions) (0 assignees)JavaScript (7,425 stars) (332 forks)batch import
enhancementgood first issue

Description

To compute a confidence interval or determine if there is a statistical difference between two versions, at least three pieces of information is required:

  • the mean
  • the standard deviation (or variance)
  • the number of observations, that the mean and standard deviation were sampled from.

The number of observations is not really clear from the output.

In a previous conversation @mcollina wrote:

The approach that autocannon takes is that it samples once per second the number of requests that happened within that second (https://github.com/mcollina/autocannon/blob/master/lib/run.js#L119-L122). So, it's 30 samples.

It is not really clear to me how that data is aggregated. Or how it relates to 30 samples.

Contributor guide