Commit d3834a1f authored by Andreas Madsen's avatar Andreas Madsen
Browse files

benchmark: ignore significance when using --runs 1

Because the standard deviation can't be calculated when there is only
one observation the R scripts raises an error. However it may still be
useful to run them for non-statistical purposes.

This changes the behaviour such when there is only one observation, the
values that depends on the standard deviation becomes Not Applicable
(NA).

Fixes: https://github.com/nodejs/node/issues/8288
PR-URL: https://github.com/nodejs/node/pull/8299


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 6f9157fb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment