mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 00:20:00 +08:00
10 lines
125 B
Go
10 lines
125 B
Go
|
|
package internal
|
||
|
|
|
||
|
|
import "testing"
|
||
|
|
|
||
|
|
func BenchmarkRefreshCpu(b *testing.B) {
|
||
|
|
for i := 0; i < b.N; i++ {
|
||
|
|
RefreshCpu()
|
||
|
|
}
|
||
|
|
}
|