Skip to content

hrbench #6

@egonelbre

Description

@egonelbre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions