go-profiler-notes/examples/cpu/main_test.go
Felix Geisendörfer 928b0be51a Add cpu bench test
2021-01-09 18:42:50 +01:00

9 lines
92 B
Go

package main
import (
"testing"
)
func Benchmark_compute(b *testing.B) {
compute(b.N)
}