hrtime icon indicating copy to clipboard operation
hrtime copied to clipboard

hrbench

Open egonelbre opened this issue 6 years ago • 0 comments

add tool similar to go test -bench . .

This might be necessary to make #1 workable

func HRBenchmarkTimeSleep(b *hrtime.Benchmark) {
    for b.Next() {
        time.Sleep(time.Second)
    }
}
hrbench run . > a.txt
hrbench histogram .
hrbench plot . > a.svg
hrbench compare *.txt

egonelbre avatar Feb 25 '19 10:02 egonelbre