1
0
mirror of https://github.com/DataDog/go-profiler-notes.git synced 2025-07-12 23:50:13 +02:00
Files
go-profiler-notes/examples/cpu/main_test.go
Felix Geisendörfer 928b0be51a Add cpu bench test
2021-01-09 18:42:50 +01:00

10 lines
92 B
Go

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