1
0
mirror of https://github.com/DataDog/go-profiler-notes.git synced 2025-07-15 23:54:16 +02:00

Add cpu bench test

This commit is contained in:
Felix Geisendörfer
2021-01-09 18:42:50 +01:00
parent 681333a641
commit 928b0be51a
3 changed files with 26 additions and 13 deletions

View File

@ -0,0 +1,9 @@
package main
import (
"testing"
)
func Benchmark_compute(b *testing.B) {
compute(b.N)
}