package backend import ( "testing" "time" ) func TestUpdateDCUInfo(t *testing.T) { for i := 0; i < 10; i++ { start := time.Now() UpdateDCUInfo(true) end := time.Now() t.Logf("%d ms", end.Sub(start).Milliseconds()) } }