Skip to content

Conversation

@jdmarshall
Copy link
Collaborator

Justification:

Each sample in the histogram represents a durationPerOp value calculated by dividing a certain number of iterations of executing the function under test divided by the cumulative time of those runs. Which is the average of the execution time of each execution. opsSec and opsSecPerRun are then an average of the samples, which are themselves averages.

Therefore, using opsSecPerRun as a t-test inaccurately applying the calculation to an average of averages, when it is meant to be applied to a set of averages totalling a minimum of 30 samples, with 40 preferable.

In other words, it's a histogram entry that represents a valid t-test sample.

When repeatSuite > 1, the additional samples accumulate in the histogram.

This change also converts the forced override of the input options to a warning if the sample size is too small. Let the users pick whether they want minSamples: 30 or repeatSuite: 3. The code already had support for omitting the significance data if the low bar is not met.

Justification:

Each sample in the histogram represents a durationPerOp
sample calculated by dividing a certain number of iterations of
executing the function under test divided by the cumulative time
of those runs. Which is the average of the execution time of each
execution. opsSec and opsSecPerRun are then an average of the
samples, which are themselves averages.

Therefore, using opsSecPerRun as a t-test inaccurately applying the
calculation to an average of averages, when it is meant to be applied
to a set of averages totalling a minimum of 30 samples, with 40
preferable.

In other words, it's a histogram entry that represents a valid t-test
sample.
…s too small.

This will help me sort out inconclusive tests without missing misconfigured
ones.

This is necessitated by the changes in the previous commit that allow
for failure instead of forcing success.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant