cmd/benchstat: import from

I copied the code from various dependencies in go-moremath
into a single 'internal/stats' package. That package is at the top
level of the repo because I expect to pull much of benchcmp
into an importable package.

For golang/go#14304.

Change-Id: Ie114839b2901f5060c202feb3ffc768bf43ce5da
Run-TryBot: Russ Cox <>
Reviewed-by: Quentin Smith <>
22 files changed