Closed
Description
The built in unit tester presently contains some very crude one-off automated benchmarking stuff. It was initially a clone of the Go testing.B
benchmark system (http://golang.org/pkg/testing/#B) but started to drift towards doing statistical measurement in order to get a more stable signal.
I believe Bryan O'Sullivan's criterion
library (https://github.com/bos/criterion) is the state of the art here. We should port / emulate whatever it does well.