benchmark/docs
Roman Lebedev 12dc5eeafc
Statistics: add support for percentage unit in addition to time (#1219)
* Statistics: add support for percentage unit in addition to time

I think, `stddev` statistic is useful, but confusing.

What does it mean if `stddev` of `1ms` is reported?
Is that good or bad? If the `median` is `1s`,
then that means that the measurements are pretty noise-less.

And what about `stddev` of `100ms` is reported?
If the `median` is `1s` - awful, if the `median` is `10s` - good.

And hurray, there is just the statistic that we need:
https://en.wikipedia.org/wiki/Coefficient_of_variation

But, naturally, that produces a value in percents,
but the statistics are currently hardcoded to produce time.

So this refactors thinkgs a bit, and allows a percentage unit for statistics.

I'm not sure whether or not `benchmark` would be okay
with adding this `RSD` statistic by default,
but regales, that is a separate patch.

Refs. https://github.com/google/benchmark/issues/1146

* Address review notes
2021-09-03 15:36:56 +01:00
..
_config.yml Set theme jekyll-theme-minimal 2021-08-18 10:07:38 +01:00
AssemblyTests.md Add tests to verify assembler output -- Fix DoNotOptimize. (#530) 2018-03-23 16:10:47 -06:00
dependencies.md refactor the documentation to minimise README.md (#1211) 2021-08-17 21:45:33 +01:00
index.md refactor the documentation to minimise README.md (#1211) 2021-08-17 21:45:33 +01:00
perf_counters.md [PFM] Extend perf counter support to multi-threaded cases. (#1153) 2021-05-19 09:49:05 +01:00
platform_specific_build_instructions.md refactor the documentation to minimise README.md (#1211) 2021-08-17 21:45:33 +01:00
random_interleaving.md Random interleaving of benchmark repetitions - the sequel (fixes #1051) (#1163) 2021-06-03 21:16:54 +03:00
releasing.md Un-disable github actions :] 2021-06-01 13:04:32 +03:00
tools.md Add requirements.txt for python dependencies (#994) 2020-06-29 13:22:03 +01:00
user_guide.md Statistics: add support for percentage unit in addition to time (#1219) 2021-09-03 15:36:56 +01:00